Volume Cartographer 2.27.0
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
volcart::LoadTransformNode Class Reference

Load a transform from a JSON file. More...

#include <vc/graph/core.hpp>

Inheritance diagram for volcart::LoadTransformNode:
[legend]
Collaboration diagram for volcart::LoadTransformNode:
[legend]

Public Member Functions

 LoadTransformNode ()
 

Public Attributes

smgl::InputPort< filesystem::path > path
 Input path. More...
 
smgl::InputPort< bool > cacheArgs
 Include the loaded file in the graph cache. More...
 
smgl::OutputPort< Transform3D::Pointertransform
 Loaded transform. More...
 

Private Member Functions

auto serialize_ (bool useCache, const filesystem::path &cacheDir) -> smgl::Metadata override
 
void deserialize_ (const smgl::Metadata &meta, const filesystem::path &) override
 

Private Attributes

filesystem::path path_ {}
 
bool cacheArgs_ {false}
 
Transform3D::Pointer tfm_
 

Detailed Description

Load a transform from a JSON file.

See also
Transform3D::Load()

Definition at line 765 of file core.hpp.

Constructor & Destructor Documentation

◆ LoadTransformNode()

volcart::LoadTransformNode::LoadTransformNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

void volcart::LoadTransformNode::deserialize_ ( const smgl::Metadata &  meta,
const filesystem::path &   
)
overrideprivate

smgl custom deserialization

◆ serialize_()

auto volcart::LoadTransformNode::serialize_ ( bool  useCache,
const filesystem::path &  cacheDir 
) -> smgl::Metadata
overrideprivate

smgl custom serialization

Member Data Documentation

◆ cacheArgs

smgl::InputPort<bool> volcart::LoadTransformNode::cacheArgs

Include the loaded file in the graph cache.

Definition at line 779 of file core.hpp.

◆ cacheArgs_

bool volcart::LoadTransformNode::cacheArgs_ {false}
private

Include the loaded file in the graph cache

Definition at line 771 of file core.hpp.

◆ path

smgl::InputPort<filesystem::path> volcart::LoadTransformNode::path

Input path.

Definition at line 777 of file core.hpp.

◆ path_

filesystem::path volcart::LoadTransformNode::path_ {}
private

File path

Definition at line 769 of file core.hpp.

◆ tfm_

Transform3D::Pointer volcart::LoadTransformNode::tfm_
private

Loaded image

Definition at line 773 of file core.hpp.

◆ transform

smgl::OutputPort<Transform3D::Pointer> volcart::LoadTransformNode::transform

Loaded transform.

Definition at line 781 of file core.hpp.


The documentation for this class was generated from the following file: