87 #ifndef vtkOrderedTriangulator_h
88 #define vtkOrderedTriangulator_h
102 struct vtkOTTemplates;
108 #if VTK_SIZEOF_SHORT == 4
109 typedef unsigned short TemplateIDType;
110 #elif VTK_SIZEOF_INT == 4
111 typedef unsigned int TemplateIDType;
112 #elif VTK_SIZEOF_LONG == 4
113 typedef unsigned long TemplateIDType;
132 void InitTriangulation(
double xmin,
double xmax,
double ymin,
double ymax,
133 double zmin,
double zmax,
int numPts);
134 void InitTriangulation(
double bounds[6],
int numPts);
153 double p[3],
int type);
155 double x[3],
double p[3],
int type);
163 void TemplateTriangulate(
int cellType,
int numPts,
int numEdges);
178 double *GetPointPosition(
vtkIdType internalId);
184 double *GetPointLocation(
vtkIdType internalId);
195 vtkGetMacro(NumberOfPoints,
int);
204 vtkSetMacro(UseTemplates,
int);
205 vtkGetMacro(UseTemplates,
int);
206 vtkBooleanMacro(UseTemplates,
int);
214 vtkSetMacro(PreSorted,
int);
215 vtkGetMacro(PreSorted,
int);
216 vtkBooleanMacro(PreSorted,
int);
222 vtkSetMacro(UseTwoSortIds,
int);
223 vtkGetMacro(UseTwoSortIds,
int);
224 vtkBooleanMacro(UseTwoSortIds,
int);
287 void InitTetraTraversal();
298 int GetNextTetra(
int classification,
vtkTetra *tet,
311 int MaximumNumberOfPoints;
320 int NumberOfCellPoints;
321 int NumberOfCellEdges;
323 vtkOTTemplates *Templates;
324 int TemplateTriangulation();
326 TemplateIDType ComputeTemplateIndex();
abstract base class for most VTK objects
represent and manipulate point attribute data
represent and manipulate cell attribute data
Abstract class in support of both point location and point insertion.
helper class to generate triangulations
dynamic, self-adjusting array of double
a 3D cell that represents a tetrahedron
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
list of point or cell ids
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
CellTypeInDataSet cellType(vtkDataSet *input)
object to represent cell connectivity
replacement for malloc/free and new/delete
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points