48 #ifndef vtkRectilinearGridToTetrahedra_h
49 #define vtkRectilinearGridToTetrahedra_h
52 #define VTK_VOXEL_TO_12_TET 12
53 #define VTK_VOXEL_TO_5_TET 5
54 #define VTK_VOXEL_TO_6_TET 6
55 #define VTK_VOXEL_TO_5_AND_12_TET -1
81 vtkSetMacro(TetraPerCell,
int);
82 vtkGetMacro(TetraPerCell,
int);
88 vtkSetMacro(RememberVoxelId,
int);
89 vtkGetMacro(RememberVoxelId,
int);
90 vtkBooleanMacro(RememberVoxelId,
int);
99 void SetInput(
const double Extent[3],
const double Spacing[3],
100 const double tol=0.001);
104 void SetInput(
const double ExtentX,
105 const double ExtentY,
106 const double ExtentZ,
107 const double SpacingX,
108 const double SpacingY,
109 const double SpacingZ,
110 const double tol=0.001);
136 const int &TetraPerCell);
143 const int &TetraPerCell,
144 const int &RememberVoxelId,
153 static int TetrahedralizeVoxel(
vtkIdList *VoxelCorners,
154 const int &DivisionType,
162 static inline void TetrahedralizeAddCenterPoint(
vtkIdList *VoxelCorners,
#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)
void SetTetraPerCellTo6()
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
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
void PrintSelf(ostream &os, vtkIndent indent)
dynamic, self-adjusting array of signed char
#define VTK_VOXEL_TO_12_TET
#define VTKFILTERSGENERAL_EXPORT
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()
#define VTK_VOXEL_TO_5_TET
~vtkRectilinearGridToTetrahedra()
void SetTetraPerCellTo12()
void SetTetraPerCellTo5()
represent and manipulate 3D points