33 #ifndef vtkGenericCell_h
34 #define vtkGenericCell_h
36 #include "vtkCommonDataModelModule.h"
69 int GetCellDimension() VTK_OVERRIDE;
70 int IsLinear() VTK_OVERRIDE;
71 int RequiresInitialization() VTK_OVERRIDE;
72 void Initialize() VTK_OVERRIDE;
73 int RequiresExplicitFaceRepresentation() VTK_OVERRIDE;
76 int GetNumberOfEdges() VTK_OVERRIDE;
77 int GetNumberOfFaces() VTK_OVERRIDE;
78 vtkCell *GetEdge(
int edgeId) VTK_OVERRIDE;
79 vtkCell *GetFace(
int faceId) VTK_OVERRIDE;
80 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts) VTK_OVERRIDE;
81 int EvaluatePosition(
double x[3],
double* closestPoint,
82 int& subId,
double pcoords[3],
83 double& dist2,
double *weights) VTK_OVERRIDE;
84 void EvaluateLocation(
int& subId,
double pcoords[3],
85 double x[3],
double *weights) VTK_OVERRIDE;
96 int insideOut) VTK_OVERRIDE;
97 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
98 double x[3],
double pcoords[3],
99 int& subId) VTK_OVERRIDE;
101 void Derivatives(
int subId,
double pcoords[3],
double *values,
102 int dim,
double *derivs) VTK_OVERRIDE;
103 int GetParametricCenter(
double pcoords[3]) VTK_OVERRIDE;
104 double *GetParametricCoords() VTK_OVERRIDE;
105 int IsPrimaryCell() VTK_OVERRIDE;
113 void InterpolateFunctions(
double pcoords[3],
double *weights) VTK_OVERRIDE;
114 void InterpolateDerivs(
double pcoords[3],
double *derivs) VTK_OVERRIDE;
object to represent cell connectivity
represent and manipulate cell attribute data
abstract class to specify cell behavior
abstract superclass for arrays of numeric data
provides thread-safe access to cells
void SetCellTypeToHexahedron()
void SetCellTypeToQuadraticLinearWedge()
vtkCell * GetRepresentativeCell()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToPyramid()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToTriangleStrip()
void SetCellTypeToPixel()
void SetCellTypeToQuadraticQuad()
void SetCellTypeToQuadraticLinearQuad()
static vtkCell * InstantiateCell(int cellType)
Instantiate a new vtkCell based on it's cell type value.
void SetCellTypeToTetra()
~vtkGenericCell() override
static vtkGenericCell * New()
Create handle to any type of cell; by default a vtkEmptyCell.
void SetCellTypeToPolyhedron()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCellTypeToQuadraticHexahedron()
void SetCellTypeToVoxel()
void SetPoints(vtkPoints *points)
Set the points object to use for this cell.
void SetCellTypeToTriQuadraticHexahedron()
void SetCellTypeToBiQuadraticQuadraticHexahedron()
void SetCellTypeToBiQuadraticQuad()
void SetCellTypeToCubicLine()
void SetCellTypeToConvexPointSet()
void DeepCopy(vtkCell *c) override
Copy this cell by completely copying internal data structures.
void SetCellTypeToVertex()
void SetCellTypeToWedge()
void SetCellTypeToTriangle()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToQuadraticEdge()
int GetCellType() override
Return the type of cell.
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToBiQuadraticTriangle()
void SetCellTypeToPolyLine()
void SetCellTypeToPentagonalPrism()
void SetCellTypeToPolygon()
void SetCellTypeToHexagonalPrism()
void SetCellTypeToPolyVertex()
void ShallowCopy(vtkCell *c) override
See the vtkCell API for descriptions of these methods.
void SetPointIds(vtkIdList *pointIds)
Set the point ids to use for this cell.
void SetCellTypeToQuadraticTriangle()
list of point or cell ids
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
CellTypeInDataSet cellType(vtkDataSet *input)
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
@ VTK_QUADRATIC_HEXAHEDRON
@ VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
@ VTK_TRIQUADRATIC_HEXAHEDRON
@ VTK_QUADRATIC_LINEAR_WEDGE
@ VTK_QUADRATIC_LINEAR_QUAD
@ VTK_BIQUADRATIC_QUADRATIC_WEDGE
@ VTK_BIQUADRATIC_TRIANGLE