100#ifndef vtkGenericCell_h
101#define vtkGenericCell_h
104#include "vtkCommonDataModelModule.h"
106VTK_ABI_NAMESPACE_BEGIN
149 int GetNumberOfEdges() override;
150 int GetNumberOfFaces() override;
153 int CellBoundary(
int subId, const
double pcoords[3],
vtkIdList* pts) override;
154 int EvaluatePosition(const
double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
155 double& dist2,
double weights[]) override;
156 void EvaluateLocation(
int& subId, const
double pcoords[3],
double x[3],
double* weights) override;
163 int IntersectWithLine(const
double p1[3], const
double p2[3],
double tol,
double& t,
double x[3],
164 double pcoords[3],
int& subId) override;
166 int TriangulateLocalIds(
int index,
vtkIdList* ptIds) override;
167 int TriangulateIds(
int index,
vtkIdList* ptIds) override;
169 int subId, const
double pcoords[3], const
double* values,
int dim,
double* derivs) override;
170 int GetParametricCenter(
double pcoords[3]) override;
171 double* GetParametricCoords() override;
172 int IsPrimaryCell() override;
180 void InterpolateFunctions(const
double pcoords[3],
double* weights) override;
181 void InterpolateDerivs(const
double pcoords[3],
double* derivs) override;
191 void SetCellType(
int cellType);
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 SetCellTypeToLagrangeCurve()
void SetCellTypeToHexahedron()
void SetCellTypeToQuadraticLinearWedge()
static vtkCell * InstantiateCell(int cellType)
Instantiate a new vtkCell based on it's cell type value.
void SetCellTypeToLagrangeWedge()
void Initialize() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToQuadraticWedge()
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToPyramid()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToTriangleStrip()
void SetCellTypeToPixel()
int RequiresInitialization() override
See the vtkCell API for descriptions of these methods.
vtkCell * GetRepresentativeCell()
void SetCellTypeToQuadraticQuad()
void SetCellTypeToQuadraticLinearQuad()
void SetCellTypeToBezierWedge()
void SetCellTypeToTetra()
~vtkGenericCell() override
static vtkGenericCell * New()
Create handle to any type of cell; by default a vtkEmptyCell.
void SetCellTypeToLagrangeTetra()
void SetCellTypeToPolyhedron()
void SetCellTypeToBezierTetra()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IsLinear() override
See the vtkCell API for descriptions of these methods.
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()
int RequiresExplicitFaceRepresentation() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToConvexPointSet()
int GetCellDimension() override
See the vtkCell API for descriptions of these methods.
void DeepCopy(vtkCell *c) override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToVertex()
void SetCellTypeToBezierCurve()
void SetCellTypeToLagrangeTriangle()
void SetCellTypeToWedge()
void SetCellTypeToTriangle()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToQuadraticEdge()
int GetCellType() override
See the vtkCell API for descriptions of these methods.
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToBiQuadraticTriangle()
void SetCellTypeToPolyLine()
void SetCellTypeToPentagonalPrism()
void SetCellTypeToPolygon()
void SetCellTypeToBezierQuadrilateral()
void SetCellTypeToLagrangeQuadrilateral()
void SetCellTypeToBezierTriangle()
void SetCellTypeToHexagonalPrism()
void SetCellTypeToBezierHexahedron()
void SetCellTypeToLagrangeHexahedron()
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 SetCellTypeToTriQuadraticPyramid()
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
@ VTK_QUADRATIC_HEXAHEDRON
@ VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON
@ VTK_NUMBER_OF_CELL_TYPES
@ VTK_LAGRANGE_QUADRILATERAL
@ VTK_TRIQUADRATIC_PYRAMID
@ VTK_TRIQUADRATIC_HEXAHEDRON
@ VTK_LAGRANGE_HEXAHEDRON
@ VTK_LAGRANGE_TETRAHEDRON
@ VTK_BEZIER_QUADRILATERAL
@ VTK_QUADRATIC_LINEAR_WEDGE
@ VTK_QUADRATIC_LINEAR_QUAD
@ VTK_BIQUADRATIC_QUADRATIC_WEDGE
@ VTK_BIQUADRATIC_TRIANGLE
#define VTK_DEPRECATED_IN_9_4_0(reason)