21 #ifndef vtkGenericCell_h
22 #define vtkGenericCell_h
25 #include "vtkCommonDataModelModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
59 int IsLinear() VTK_FUTURE_CONST override;
60 int RequiresInitialization() override;
61 void Initialize() override;
62 int RequiresExplicitFaceRepresentation() VTK_FUTURE_CONST override;
66 int GetNumberOfEdges() override;
67 int GetNumberOfFaces() override;
68 vtkCell* GetEdge(
int edgeId) override;
69 vtkCell* GetFace(
int faceId) override;
70 int CellBoundary(
int subId, const
double pcoords[3],
vtkIdList* pts) override;
71 int EvaluatePosition(const
double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
72 double& dist2,
double weights[]) override;
73 void EvaluateLocation(
int& subId, const
double pcoords[3],
double x[3],
double* weights) override;
80 int IntersectWithLine(const
double p1[3], const
double p2[3],
double tol,
double& t,
double x[3],
81 double pcoords[3],
int& subId) override;
83 int TriangulateLocalIds(
int index,
vtkIdList* ptIds) override;
84 int TriangulateIds(
int index,
vtkIdList* ptIds) override;
86 int subId, const
double pcoords[3], const
double* values,
int dim,
double* derivs) override;
87 int GetParametricCenter(
double pcoords[3]) override;
88 double* GetParametricCoords() override;
89 int IsPrimaryCell() VTK_FUTURE_CONST override;
97 void InterpolateFunctions(const
double pcoords[3],
double* weights) override;
98 void InterpolateDerivs(const
double pcoords[3],
double* derivs) override;
108 void SetCellType(
int cellType);
167 static vtkCell* InstantiateCell(
int cellType);
183 VTK_ABI_NAMESPACE_END
virtual void DeepCopy(vtkCell *c)
Copy this cell by completely copying internal data structures.
void SetCellTypeToLagrangeTetra()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCellTypeToPyramid()
virtual int GetCellDimension()=0
Return the topological dimensional of the cell (0,1,2, or 3).
void SetCellTypeToTriangle()
represent and manipulate point attribute data
void SetCellTypeToPolyVertex()
void SetCellTypeToConvexPointSet()
virtual int GetCellType()=0
Return the type of cell.
void SetCellTypeToPentagonalPrism()
void SetCellTypeToHexahedron()
represent and manipulate cell attribute data
void SetCellTypeToBiQuadraticQuadraticHexahedron()
Abstract class in support of both point location and point insertion.
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToPolyhedron()
void SetCellTypeToLagrangeTriangle()
void SetCellTypeToPolygon()
void SetCellTypeToQuadraticQuad()
void SetCellTypeToPolyLine()
virtual int IsLinear() VTK_FUTURE_CONST
Non-linear cells require special treatment beyond the usual cell type and connectivity list informati...
provides thread-safe access to cells
void SetCellTypeToLagrangeHexahedron()
void SetCellTypeToPixel()
void SetCellTypeToBezierHexahedron()
void SetCellTypeToBezierTriangle()
void SetCellTypeToTetra()
void SetCellTypeToWedge()
void SetCellTypeToQuadraticWedge()
abstract class to specify cell behavior
void SetCellTypeToTriQuadraticHexahedron()
void SetCellTypeToLagrangeWedge()
void SetCellTypeToBezierTetra()
void SetCellTypeToBezierQuadrilateral()
a simple class to control print indentation
list of point or cell ids
void SetCellTypeToTriQuadraticPyramid()
abstract superclass for arrays of numeric data
void SetCellTypeToBezierCurve()
void SetCellTypeToBezierWedge()
const std::string pointIds
void SetCellTypeToVoxel()
void SetCellTypeToQuadraticLinearQuad()
void SetCellTypeToVertex()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToQuadraticEdge()
vtkCell * GetRepresentativeCell()
virtual void ShallowCopy(vtkCell *c)
Copy this cell by reference counting the internal data structures.
object to represent cell connectivity
void SetCellTypeToBiQuadraticTriangle()
void SetCellTypeToQuadraticLinearWedge()
void SetCellTypeToTriangleStrip()
void SetCellTypeToQuadraticTriangle()
void SetCellTypeToHexagonalPrism()
void SetCellTypeToLagrangeQuadrilateral()
void SetCellTypeToLagrangeCurve()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetCellTypeToQuadraticTetra()
void SetCellTypeToCubicLine()
void SetCellTypeToBiQuadraticQuad()
represent and manipulate 3D points
void SetCellTypeToQuadraticHexahedron()