Volume Cartographer 2.27.0
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
volcart::ApplyTransformNode< T > Class Template Reference

Template node for applying 3D transforms to objects. More...

#include <vc/graph/core.hpp>

Inheritance diagram for volcart::ApplyTransformNode< T >:
[legend]
Collaboration diagram for volcart::ApplyTransformNode< T >:
[legend]

Public Member Functions

 ApplyTransformNode ()
 

Public Attributes

smgl::InputPort< T > input {&input_}
 Input path. More...
 
smgl::InputPort< Transform3D::Pointertransform {&tfm_}
 
smgl::OutputPort< T > output {&output_}
 

Protected Member Functions

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

Protected Attributes

input_
 
Transform3D::Pointer tfm_
 
output_
 

Detailed Description

template<class T>
class volcart::ApplyTransformNode< T >

Template node for applying 3D transforms to objects.

To specialize for a new type, make sure there is an apply function with the following signature: ApplyTransform(const T&, const Transform3D::Pointer&)

Definition at line 878 of file core.hpp.

Constructor & Destructor Documentation

◆ ApplyTransformNode()

template<class T >
volcart::ApplyTransformNode< T >::ApplyTransformNode ( )
inline

Constructor

Definition at line 895 of file core.hpp.

Member Function Documentation

◆ deserialize_()

template<class T >
void volcart::ApplyTransformNode< T >::deserialize_ ( const smgl::Metadata &  meta,
const filesystem::path &  cacheDir 
)
inlineoverrideprotected

smgl custom deserialization

Definition at line 922 of file core.hpp.

◆ serialize_()

template<class T >
auto volcart::ApplyTransformNode< T >::serialize_ ( bool  useCache,
const filesystem::path &  cacheDir 
) -> smgl::Metadata
inlineoverrideprotected

smgl custom serialization

Definition at line 910 of file core.hpp.

Member Data Documentation

◆ input

template<class T >
smgl::InputPort<T> volcart::ApplyTransformNode< T >::input {&input_}

Input path.

Definition at line 890 of file core.hpp.

◆ input_

template<class T >
T volcart::ApplyTransformNode< T >::input_
protected

Input object

Definition at line 882 of file core.hpp.

◆ output

template<class T >
smgl::OutputPort<T> volcart::ApplyTransformNode< T >::output {&output_}

Definition at line 892 of file core.hpp.

◆ output_

template<class T >
T volcart::ApplyTransformNode< T >::output_
protected

Output object

Definition at line 886 of file core.hpp.

◆ tfm_

template<class T >
Transform3D::Pointer volcart::ApplyTransformNode< T >::tfm_
protected

Input transform

Definition at line 884 of file core.hpp.

◆ transform

template<class T >
smgl::InputPort<Transform3D::Pointer> volcart::ApplyTransformNode< T >::transform {&tfm_}

Definition at line 891 of file core.hpp.


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