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
57 #include "vtkFiltersGeneralModule.h"
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,