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

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_
 

Detailed Description

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.

Member Data Documentation

◆ inputMesh_

ITKMesh::Pointer volcart::meshing::UVMapToITKMesh::inputMesh_
private

Input mesh

Definition at line 39 of file UVMapToITKMesh.hpp.

◆ outputMesh_

ITKMesh::Pointer volcart::meshing::UVMapToITKMesh::outputMesh_
private

Output mesh

Definition at line 45 of file UVMapToITKMesh.hpp.

◆ scaleMesh_

bool volcart::meshing::UVMapToITKMesh::scaleMesh_ {false}
private

Do mesh scaling

Definition at line 43 of file UVMapToITKMesh.hpp.

◆ uvMap_

UVMap::Pointer volcart::meshing::UVMapToITKMesh::uvMap_
private

UV map

Definition at line 41 of file UVMapToITKMesh.hpp.


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