49 #ifndef vtkRectilinearGridToTetrahedra_h
50 #define vtkRectilinearGridToTetrahedra_h
53 #define VTK_VOXEL_TO_12_TET 12
54 #define VTK_VOXEL_TO_5_TET 5
55 #define VTK_VOXEL_TO_6_TET 6
56 #define VTK_VOXEL_TO_5_AND_12_TET -1
58 #include "vtkFiltersGeneralModule.h"
86 vtkSetMacro(TetraPerCell,
int);
87 vtkGetMacro(TetraPerCell,
int);
107 void SetInput(
const double Extent[3],
const double Spacing[3],
const double tol = 0.001);
111 void SetInput(
const double ExtentX,
const double ExtentY,
const double ExtentZ,
112 const double SpacingX,
const double SpacingY,
const double SpacingZ,
const double tol = 0.001);
149 static int TetrahedralizeVoxel(
156 static inline void TetrahedralizeAddCenterPoint(
vtkIdList* VoxelCorners,
vtkPoints* NodeList);
#define VTK_VOXEL_TO_6_TET
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeBool RememberVoxelId
void SetTetraPerCellTo6()
Set the method to divide each cell (voxel) in the RectilinearGrid into tetrahedra.
static vtkUnstructuredGridAlgorithm * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create a Tetrahedral mesh from a RectilinearGrid
a simple class to control print indentation
list of point or cell ids
dataset represents arbitrary combinations of all possible cell types
dynamic, self-adjusting array of signed char
#define VTK_VOXEL_TO_12_TET
Superclass for algorithms that produce only unstructured grid as output.
#define VTK_VOXEL_TO_5_AND_12_TET
object to represent cell connectivity
void SetTetraPerCellTo5And12()
Set the method to divide each cell (voxel) in the RectilinearGrid into tetrahedra.
#define VTK_VOXEL_TO_5_TET
void SetTetraPerCellTo12()
Set the method to divide each cell (voxel) in the RectilinearGrid into tetrahedra.
void SetTetraPerCellTo5()
Set the method to divide each cell (voxel) in the RectilinearGrid into tetrahedra.
represent and manipulate 3D points