Go to the documentation of this file.
48 #ifndef vtkSimpleCellTessellator_h
49 #define vtkSimpleCellTessellator_h
51 #include "vtkCommonDataModelModule.h"
54 class vtkTriangleTile;
223 void InsertEdgesIntoEdgeTable( vtkTriangleTile &tri );
224 void RemoveEdgesFromEdgeTable( vtkTriangleTile &tri );
225 void InsertPointsIntoEdgeTable( vtkTriangleTile &tri );
227 void InsertEdgesIntoEdgeTable( vtkTetraTile &tetra );
228 void RemoveEdgesFromEdgeTable( vtkTetraTile &tetra );
246 void InitTetraTile(vtkTetraTile &root,
285 void AllocateScalars(
int size);
327 int FindEdgeReferenceCount(
double p1[3],
double p2[3],
330 int GetNumberOfCellsUsingFace(
int faceId );
331 int GetNumberOfCellsUsingEdge(
int edgeId );
341 int IsEdgeOnFace(
double p1[3],
double p2[3]);
351 int FindEdgeParent2D(
double p1[3],
double p2[3],
int &localId);
362 int FindEdgeParent(
double p1[3],
double p2[3],
int &localId);
368 void AllocatePointIds(
int size);
375 int FacesAreEqual(
int *originalFace,
388 int FixedSubdivisions;
389 int MaxSubdivisionLevel;
390 int CurrentSubdivisionLevel;
420 int PointIdsCapacity;
426 friend class vtkTetraTile;
427 friend class vtkTriangleTile;
int GetMaxSubdivisionLevel()
Return the maximum level of subdivision.
void Tessellate(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd) override
Tessellate a 3D ‘cell’.
static vtkSimpleCellTessellator * New()
represent and manipulate point attribute data
a cell that represents an n-sided polygon
void SetSubdivisionLevels(int fixed, int maxLevel)
Set both the number of fixed subdivisions and the maximum level of subdivisions.
int GetMaxAdaptiveSubdivisions()
Return the maximum number of adaptive subdivisions.
iterator used to traverse cells
Objects that compute error during cell tessellation.
helper class to perform cell tessellation
defines dataset interface
helper class to generate triangulations
void Triangulate(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd) override
Triangulate a 2D ‘cell’.
void Reset()
Reset the output for repeated use of this class.
~vtkSimpleCellTessellator() override
helper class to perform cell tessellation
void SetFixedSubdivisions(int level)
Set the number of fixed subdivisions.
void Initialize(vtkGenericDataSet *ds) override
Initialize the tessellator with a data set ‘ds’.
a simple class to control print indentation
object to represent cell connectivity
list of point or cell ids
keep track of edges (defined by pair of integer id's)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetFixedSubdivisions()
Return the number of fixed subdivisions.
vtkSimpleCellTessellator()
void SetMaxSubdivisionLevel(int level)
Set the maximum level of subdivision.
a collection of attributes
dynamic, self-adjusting array of double
void TessellateFace(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkIdType index, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd) override
Tessellate a face of a 3D ‘cell’.