87 #ifndef __vtkOrderedTriangulator_h
88 #define __vtkOrderedTriangulator_h
90 #include "vtkCommonDataModelModule.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);
172 void UpdatePointType(
vtkIdType internalId,
int type);
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);
252 vtkIdType AddTetras(
int classification, vtkCellArray *connectivity);
263 vtkCellArray *outConnectivity,
278 vtkIdType AddTriangles(vtkCellArray *connectivity);
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
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
replacement for malloc/free and new/delete
represent and manipulate 3D points