![]() |
TGSTK
0.0.1
The Tumour Growth Simulation ToolKit
|
Tetrahedral mesh generation from a multiclass label image. More...
#include <tgstkImageToMeshFilter.h>
Private Attributes | |
double | maximumCellRadiusEdgeRatio |
double | maximumCellSize |
double | maximumFacetDistance |
double | maximumFacetSize |
double | minimumFacetAngle |
bool | useExude |
bool | useLloyd |
bool | useODT |
bool | usePerturb |
vtkSmartPointer< vtkImageData > | inputImage |
vtkSmartPointer< vtkUnstructuredGrid > | outputMesh |
Additional Inherited Members | |
![]() | |
tgstkImageProcessorBase () | |
bool | _assertImageNumberOfScalarComponents (vtkSmartPointer< vtkImageData > image, std::vector< int > numberOfScalarComponents, std::string name) |
bool | _assertImageScalarType (vtkSmartPointer< vtkImageData > image, std::vector< int > scalarTypes, std::string name) |
bool | assertEqualImageDimensions (std::vector< vtkSmartPointer< vtkImageData >> images) |
bool | assertEqualImageSpacings (std::vector< vtkSmartPointer< vtkImageData >> images) |
![]() | |
tgstkAlgorithmBase () | |
template<typename Type > | |
bool | _assertNotNullPtr (Type var, std::string name) |
template<typename Type > | |
bool | _assertValueInRange (Type var, Type min, Type max, std::string name) |
template<typename Type1 , typename Type2 > | |
bool | _assertValueIsEqual (Type1 var1, Type2 var2, std::string name1, std::string name2) |
![]() | |
tgstkObjectBase () | |
![]() | |
tgstkMeshProcessorBase () | |
![]() | |
template<typename Type > | |
static void | fillImage (vtkSmartPointer< vtkImageData > image, Type value) |
static vtkSmartPointer< vtkImageData > | getNewImageFromReferenceImage (vtkSmartPointer< vtkImageData > reference, int type, int numberOfComponents=1) |
![]() | |
std::string | objectName |
Tetrahedral mesh generation from a multiclass label image.
tgstkImageToMeshFilter generates a tetrahedral mesh from a label image with multiple subdomains using 3D restricted Delaunay triangulation with a protecting phase to guarantee an accurate representation of the subdomain boundaries. The filter is based on the CGAL library.
tgstkImageToMeshFilter::tgstkImageToMeshFilter | ( | ) |
tgstkImageToMeshFilter::~tgstkImageToMeshFilter | ( | ) |
|
virtual |
Reimplemented from tgstkAlgorithmBase.
|
virtual |
Implements tgstkAlgorithmBase.
void tgstkImageToMeshFilter::exudeOff | ( | ) |
Deactivates the CGAL sliver exuder.
See [1].
void tgstkImageToMeshFilter::exudeOn | ( | ) |
Activates the CGAL sliver exuder.
See [1].
vtkSmartPointer< vtkUnstructuredGrid > tgstkImageToMeshFilter::getOutputMesh | ( | ) |
Gets the generated tetrahedral mesh.
The mesh is of type vtkUnstructuredGrid.
void tgstkImageToMeshFilter::lloydOff | ( | ) |
Deactivates the CGAL Lloyd smoother.
See [1].
void tgstkImageToMeshFilter::lloydOn | ( | ) |
Activates the CGAL Lloyd smoother.
See [1].
void tgstkImageToMeshFilter::odtOff | ( | ) |
Deactivates the CGAL ODT smoother.
See [1].
void tgstkImageToMeshFilter::odtOn | ( | ) |
Activates the CGAL ODT smoother.
See [1].
void tgstkImageToMeshFilter::perturbOff | ( | ) |
Deactivates the CGAL sliver perturber.
See [1].
void tgstkImageToMeshFilter::perturbOn | ( | ) |
Activates the CGAL sliver perturber.
See [1].
void tgstkImageToMeshFilter::setInputImage | ( | vtkSmartPointer< vtkImageData > | image | ) |
Sets the multiclass label image.
The image scalar type must be VTK_UNSIGNED_SHORT.
void tgstkImageToMeshFilter::setMaximumCellRadiusEdgeRatio | ( | double | maximumCellRadiusEdgeRatio | ) |
Sets the CGAL cell radius edge ratio mesh criterion.
See [1].
void tgstkImageToMeshFilter::setMaximumCellSize | ( | double | maximumCellSize | ) |
Sets the CGAL cell size mesh criterion.
See [1].
void tgstkImageToMeshFilter::setMaximumFacetDistance | ( | double | maximumFacetDistance | ) |
Sets the CGAL facet distance mesh criterion.
See [1].
void tgstkImageToMeshFilter::setMaximumFacetSize | ( | double | maximumFacetSize | ) |
Sets the CGAL facet size mesh criterion.
See [1].
void tgstkImageToMeshFilter::setMinimumFacetAngle | ( | double | minimumFacetAngle | ) |
Sets the CGAL facet angle mesh criterion.
See [1].
void tgstkImageToMeshFilter::setUseExude | ( | bool | useExude | ) |
Activates/deactivates the CGAL sliver exuder.
See [1].
void tgstkImageToMeshFilter::setUseLloyd | ( | bool | useLloyd | ) |
Activates/deactivates the CGAL Lloyd smoother.
See [1].
void tgstkImageToMeshFilter::setUseODT | ( | bool | useODT | ) |
Activates/deactivates the CGAL ODT smoother.
See [1].
void tgstkImageToMeshFilter::setUsePerturb | ( | bool | usePerturb | ) |
Activates/deactivates the CGAL sliver perturber.
See [1].
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |