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

Rotate a UVMap by a multiple of 90 degrees. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 RotateUVMapNode ()
 

Public Attributes

smgl::InputPort< UVMap::PointeruvMapIn
 Input UVMap. More...
 
smgl::InputPort< double > theta
 Rotation angle, in degrees. 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_
 
double theta_ {0}
 
UVMap::Pointer uvMapOut_
 

Detailed Description

Rotate a UVMap by a multiple of 90 degrees.

The original UVMap is not modified by this operation. Unlike the static function, this node accepts input angles in degrees.

See also
UVMap::Rotate()

Definition at line 343 of file core.hpp.

Constructor & Destructor Documentation

◆ RotateUVMapNode()

volcart::RotateUVMapNode::RotateUVMapNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ theta

smgl::InputPort<double> volcart::RotateUVMapNode::theta

Rotation angle, in degrees.

Definition at line 357 of file core.hpp.

◆ theta_

double volcart::RotateUVMapNode::theta_ {0}
private

Rotation angle (degrees)

Definition at line 349 of file core.hpp.

◆ uvMapIn

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

Input UVMap.

Definition at line 355 of file core.hpp.

◆ uvMapIn_

UVMap::Pointer volcart::RotateUVMapNode::uvMapIn_
private

Input UVMap

Definition at line 347 of file core.hpp.

◆ uvMapOut

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

Output UVMap.

Definition at line 359 of file core.hpp.

◆ uvMapOut_

UVMap::Pointer volcart::RotateUVMapNode::uvMapOut_
private

Output UVMap

Definition at line 351 of file core.hpp.


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