Go to the documentation of this file.
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;
represent and manipulate 3D points
void SetCellTypeToPolyLine()
void SetCellTypeToQuadraticEdge()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToPolyVertex()
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToQuadraticLinearQuad()
@ VTK_QUADRATIC_LINEAR_WEDGE
vtkCell * GetRepresentativeCell()
represent and manipulate point attribute data
void SetCellTypeToQuadraticQuad()
void SetCellTypeToVoxel()
void SetCellTypeToPolygon()
void SetCellTypeToTriangleStrip()
void DeepCopy(vtkCell *c) override
Copy this cell by completely copying internal data structures.
void SetCellTypeToHexagonalPrism()
abstract superclass for arrays of numeric data
void SetCellTypeToPolyhedron()
void SetCellTypeToCubicLine()
void SetCellTypeToTriQuadraticHexahedron()
void SetCellTypeToConvexPointSet()
static vtkCell * InstantiateCell(int cellType)
Instantiate a new vtkCell based on it's cell type value.
void SetCellTypeToPixel()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToWedge()
void SetCellTypeToPentagonalPrism()
void SetCellTypeToTetra()
void SetCellTypeToTriangle()
@ VTK_QUADRATIC_LINEAR_QUAD
void SetCellTypeToHexahedron()
@ VTK_TRIQUADRATIC_HEXAHEDRON
abstract class to specify cell behavior
void SetCellTypeToBiQuadraticQuad()
represent and manipulate cell attribute data
void SetPoints(vtkPoints *points)
Set the points object to use for this cell.
a simple class to control print indentation
void ShallowCopy(vtkCell *c) override
See the vtkCell API for descriptions of these methods.
object to represent cell connectivity
void SetCellTypeToBiQuadraticTriangle()
Abstract class in support of both point location and point insertion.
list of point or cell ids
@ VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
CellTypeInDataSet cellType(vtkDataSet *input)
void SetCellTypeToQuadraticLinearWedge()
static vtkGenericCell * New()
Create handle to any type of cell; by default a vtkEmptyCell.
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
void SetPointIds(vtkIdList *pointIds)
Set the point ids to use for this cell.
void SetCellTypeToVertex()
provides thread-safe access to cells
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToQuadraticTriangle()
int GetCellType() override
Return the type of cell.
@ VTK_QUADRATIC_HEXAHEDRON
@ VTK_BIQUADRATIC_QUADRATIC_WEDGE
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkGenericCell() override
void SetCellTypeToBiQuadraticQuadraticHexahedron()
void SetCellTypeToQuadraticHexahedron()
void SetCellTypeToPyramid()
@ VTK_BIQUADRATIC_TRIANGLE