 |
VTK
9.1.0
|
Go to the documentation of this file.
109 #ifndef vtkGenericCell_h
110 #define vtkGenericCell_h
113 #include "vtkCommonDataModelModule.h"
157 int EvaluatePosition(
const double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
158 double& dist2,
double weights[])
override;
159 void EvaluateLocation(
int& subId,
const double pcoords[3],
double x[3],
double* weights)
override;
166 int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
double x[3],
167 double pcoords[3],
int& subId)
override;
170 int subId,
const double pcoords[3],
const double* values,
int dim,
double* derivs)
override;
represent and manipulate 3D points
void EvaluateLocation(int &subId, const double pcoords[3], double x[3], double *weights) override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToBezierTriangle()
void SetCellTypeToPolyLine()
void SetCellTypeToQuadraticEdge()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToLagrangeCurve()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToPolyVertex()
void SetCellTypeToLagrangeHexahedron()
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToQuadraticLinearQuad()
@ VTK_QUADRATIC_LINEAR_WEDGE
void SetCellTypeToBezierQuadrilateral()
vtkCell * GetRepresentativeCell()
represent and manipulate point attribute data
void SetCellTypeToQuadraticQuad()
void SetCellTypeToVoxel()
void SetCellTypeToPolygon()
@ VTK_BEZIER_QUADRILATERAL
int IntersectWithLine(const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId) override
See the vtkCell API for descriptions of these methods.
int GetCellDimension() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToTriangleStrip()
void SetCellTypeToTriQuadraticPyramid()
int RequiresInitialization() override
See the vtkCell API for descriptions of these methods.
void DeepCopy(vtkCell *c) override
See the vtkCell API for descriptions of these methods.
vtkIdType * GetFaces() override
See the vtkCell API for descriptions of these methods.
@ VTK_LAGRANGE_HEXAHEDRON
void SetCellTypeToHexagonalPrism()
double * GetParametricCoords() override
See the vtkCell API for descriptions of these methods.
abstract superclass for arrays of numeric data
void SetCellTypeToLagrangeQuadrilateral()
void SetCellTypeToPolyhedron()
void Contour(double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd) override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToCubicLine()
int IsPrimaryCell() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToTriQuadraticHexahedron()
void SetCellTypeToConvexPointSet()
static vtkCell * InstantiateCell(int cellType)
Instantiate a new vtkCell based on it's cell type value.
int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts) override
See the vtkCell API for descriptions of these methods.
void Initialize() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToLagrangeTetra()
void SetCellTypeToPixel()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToBezierHexahedron()
@ VTK_NUMBER_OF_CELL_TYPES
void SetCellTypeToLagrangeTriangle()
void SetCellTypeToWedge()
void SetCellTypeToPentagonalPrism()
int RequiresExplicitFaceRepresentation() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToTetra()
void SetCellTypeToBezierCurve()
void SetCellTypeToTriangle()
@ VTK_QUADRATIC_LINEAR_QUAD
void SetCellTypeToHexahedron()
void SetCellTypeToBezierTetra()
@ VTK_TRIQUADRATIC_HEXAHEDRON
abstract class to specify cell behavior
void SetCellTypeToBiQuadraticQuad()
int CellBoundary(int subId, const double pcoords[3], vtkIdList *pts) override
See the vtkCell API for descriptions of these methods.
represent and manipulate cell attribute data
void SetPoints(vtkPoints *points)
Set the points object to use for this cell.
void Clip(double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToBezierWedge()
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()
void SetCellTypeToLagrangeWedge()
Abstract class in support of both point location and point insertion.
list of point or cell ids
void SetCellType(int cellType)
This method is used to support the vtkDataSet::GetCell(vtkGenericCell *) method.
@ VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
vtkCell * GetFace(int faceId) override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToQuadraticLinearWedge()
void SetFaces(vtkIdType *faces) override
See the vtkCell API for descriptions of these methods.
static vtkGenericCell * New()
Create handle to any type of cell; by default a vtkEmptyCell.
void SetPointIds(vtkIdList *pointIds)
Set the point ids to use for this cell.
int GetParametricCenter(double pcoords[3]) override
See the vtkCell API for descriptions of these methods.
@ VTK_LAGRANGE_TETRAHEDRON
void InterpolateDerivs(const double pcoords[3], double *derivs) override
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
int GetNumberOfFaces() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToEmptyCell()
int GetNumberOfEdges() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToVertex()
provides thread-safe access to cells
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToQuadraticTriangle()
int GetCellType() override
See the vtkCell API for descriptions of these methods.
int IsLinear() override
See the vtkCell API for descriptions of these methods.
@ VTK_QUADRATIC_HEXAHEDRON
vtkCell * GetEdge(int edgeId) override
See the vtkCell API for descriptions of these methods.
@ VTK_TRIQUADRATIC_PYRAMID
@ 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 InterpolateFunctions(const double pcoords[3], double *weights) override
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
void SetCellTypeToBiQuadraticQuadraticHexahedron()
void SetCellTypeToQuadraticHexahedron()
int EvaluatePosition(const double x[3], double closestPoint[3], int &subId, double pcoords[3], double &dist2, double weights[]) override
See the vtkCell API for descriptions of these methods.
@ VTK_LAGRANGE_QUADRILATERAL
void SetCellTypeToPyramid()
void Derivatives(int subId, const double pcoords[3], const double *values, int dim, double *derivs) override
See the vtkCell API for descriptions of these methods.
@ VTK_BIQUADRATIC_TRIANGLE