Volume Cartographer 2.27.0
|
Convert a UVMap to a mesh. More...
#include <vc/graph/meshing.hpp>
Public Member Functions | |
UVMapToMeshNode () | |
Public Attributes | |
smgl::InputPort< ITKMesh::Pointer > | inputMesh |
Input mesh. More... | |
smgl::InputPort< UVMap::Pointer > | uvMap |
Input UVMap. More... | |
smgl::InputPort< bool > | scaleToUVDimensions |
If true, scale the output mesh to the width/height stored in the UVMap. Default: false. More... | |
smgl::OutputPort< ITKMesh::Pointer > | outputMesh |
UV mesh. 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 | |
meshing::UVMapToITKMesh | mesher_ {} |
bool | scaleDims_ {false} |
ITKMesh::Pointer | output_ {nullptr} |
Convert a UVMap to a mesh.
Combines the UV coordinates from a UVMap and the face information from an ITKMesh to produce a meshed UVMap.
Definition at line 234 of file meshing.hpp.
volcart::UVMapToMeshNode::UVMapToMeshNode | ( | ) |
Constructor
|
overrideprivate |
smgl custom deserialization
|
overrideprivate |
smgl custom serialization
smgl::InputPort<ITKMesh::Pointer> volcart::UVMapToMeshNode::inputMesh |
Input mesh.
Definition at line 246 of file meshing.hpp.
|
private |
Converter
Definition at line 238 of file meshing.hpp.
|
private |
Output mesh
Definition at line 242 of file meshing.hpp.
smgl::OutputPort<ITKMesh::Pointer> volcart::UVMapToMeshNode::outputMesh |
UV mesh.
Definition at line 252 of file meshing.hpp.
|
private |
Scale the output mesh to the dims of the UVMap
Definition at line 240 of file meshing.hpp.
smgl::InputPort<bool> volcart::UVMapToMeshNode::scaleToUVDimensions |
If true, scale the output mesh to the width/height stored in the UVMap. Default: false.
Definition at line 250 of file meshing.hpp.
smgl::InputPort<UVMap::Pointer> volcart::UVMapToMeshNode::uvMap |
Input UVMap.
Definition at line 248 of file meshing.hpp.