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

Rotate a UVMap to align a specified volume axis to the -V direction of UV space. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 AlignUVMapToAxisNode ()
 

Public Attributes

smgl::InputPort< UVMap::PointeruvMapIn
 Input UVMap. More...
 
smgl::InputPort< ITKMesh::Pointer > mesh
 Input mesh, used to orient in volume space. More...
 
smgl::InputPort< UVMap::AlignmentAxisaxis
 Volume axis to use for alignment. More...
 
smgl::OutputPort< UVMap::PointeruvMapOut
 Output UVMap. More...
 

Private Member Functions

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

Private Attributes

UVMap::Pointer uvMapIn_
 
ITKMesh::Pointer mesh_
 
UVMap::AlignmentAxis axis_ {UVMap::AlignmentAxis::ZPos}
 
UVMap::Pointer uvMapOut_
 

Detailed Description

Rotate a UVMap to align a specified volume axis to the -V direction of UV space.

The input UVMap is not modified by this operation.

See also
UVMap::AlignToAxis()

Definition at line 422 of file core.hpp.

Constructor & Destructor Documentation

◆ AlignUVMapToAxisNode()

volcart::AlignUVMapToAxisNode::AlignUVMapToAxisNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ axis

smgl::InputPort<UVMap::AlignmentAxis> volcart::AlignUVMapToAxisNode::axis

Volume axis to use for alignment.

Definition at line 440 of file core.hpp.

◆ axis_

UVMap::AlignmentAxis volcart::AlignUVMapToAxisNode::axis_ {UVMap::AlignmentAxis::ZPos}
private

Volume axis target

Definition at line 430 of file core.hpp.

◆ mesh

smgl::InputPort<ITKMesh::Pointer> volcart::AlignUVMapToAxisNode::mesh

Input mesh, used to orient in volume space.

Definition at line 438 of file core.hpp.

◆ mesh_

ITKMesh::Pointer volcart::AlignUVMapToAxisNode::mesh_
private

Input mesh, used to orient in volume space

Definition at line 428 of file core.hpp.

◆ uvMapIn

smgl::InputPort<UVMap::Pointer> volcart::AlignUVMapToAxisNode::uvMapIn

Input UVMap.

Definition at line 436 of file core.hpp.

◆ uvMapIn_

UVMap::Pointer volcart::AlignUVMapToAxisNode::uvMapIn_
private

Input UVMap

Definition at line 426 of file core.hpp.

◆ uvMapOut

smgl::OutputPort<UVMap::Pointer> volcart::AlignUVMapToAxisNode::uvMapOut

Output UVMap.

Definition at line 442 of file core.hpp.

◆ uvMapOut_

UVMap::Pointer volcart::AlignUVMapToAxisNode::uvMapOut_
private

Output UVMap

Definition at line 432 of file core.hpp.


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