Volume Cartographer 2.27.0
|
Convert a UVMap to a mesh. More...
#include <vc/meshing/UVMapToITKMesh.hpp>
Public Member Functions | |
void | setMesh (const ITKMesh::Pointer &m) |
Set the input mesh. | |
void | setUVMap (UVMap::Pointer u) |
Set the input UV Map. | |
void | setScaleToUVDimensions (bool b) |
If true, scale the output mesh to the width/height stored in the UVMap. Default: false. | |
auto | compute () -> ITKMesh::Pointer |
Compute the UV mesh. | |
auto | getUVMesh () const -> ITKMesh::Pointer |
Get the computed UV mesh. | |
Private Attributes | |
ITKMesh::Pointer | inputMesh_ |
UVMap::Pointer | uvMap_ |
bool | scaleMesh_ {false} |
ITKMesh::Pointer | outputMesh_ |
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 17 of file UVMapToITKMesh.hpp.
|
private |
Input mesh
Definition at line 39 of file UVMapToITKMesh.hpp.
|
private |
Output mesh
Definition at line 45 of file UVMapToITKMesh.hpp.
|
private |
Do mesh scaling
Definition at line 43 of file UVMapToITKMesh.hpp.
|
private |
UV map
Definition at line 41 of file UVMapToITKMesh.hpp.