NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Creates a VTK mesh using CGAL as a back-end from any single-file image volume supported by ITK. More...
Public Member Functions | |
Construction, Destruction | |
MeshGenerator (void) | |
I/O | |
typedef itk::Image< unsigned char, 3 > | ITKImageType |
void | SetFileName (const std::string &fileName) |
vtkSmartPointer < vtkMultiBlockDataSet > & | GetOutput (void) |
const std::vector< std::vector < std::pair< int, int > > > & | GetMeshLabels (void) const |
Mesh Quality Criteria | |
See CGALMesherBackEnd for defaults. | |
void | SetFacetMinAngle (const float facetAngle) |
void | SetFacetMaxEdgeLength (const float facetEdgeLength) |
void | SetBoundaryApproximationError (const float facetApproximationError) |
void | SetCellMaxSize (const float cellSize) |
void | SetCellMaxRadiusEdgeRatio (const float cellEdgeRadiusRatio) |
Meshing | |
void | SetDoSurface (const bool doSurface) |
void | Update (void) throw (niftk::IOException) |
Creates a VTK mesh using CGAL as a back-end from any single-file image volume supported by ITK.
Can generate tetrahedral volume meshes and triangular surface meshes.
typedef itk::Image<unsigned char, 3> niftk::MeshGenerator::ITKImageType |
Itk image type used for I/O
MeshGenerator::MeshGenerator | ( | void | ) |
|
inline |
|
inline |
Returns the VTK mesh generated from the input
|
inline |
Setter for the max. admissible boundary approximation error
|
inline |
Setter for the max. admissible min. cell edge / Delaunay ball-radius ratio
|
inline |
Setter for the max. cell size
|
inline |
By default generates a volumetric mesh, if only a surface is desired, set this to true.
|
inline |
Setter for the maximum admissible facet edge length
|
inline |
Setter for the minimum admissible facet angle, in degrees
|
inline |
Set the name of the input file
void MeshGenerator::Update | ( | void | ) | ||
throw | ( | niftk::IOException | |||
) |
By default generates a volumetric mesh, if only a surface is desired, set this to true.