100#ifndef vtkGenericCell_h
101#define vtkGenericCell_h
104#include "vtkCommonDataModelModule.h"
106VTK_ABI_NAMESPACE_BEGIN
139 int RequiresInitialization() override;
140 void Initialize() override;
141 int RequiresExplicitFaceRepresentation() VTK_FUTURE_CONST override;
145 int GetNumberOfEdges() override;
146 int GetNumberOfFaces() override;
149 int CellBoundary(
int subId, const
double pcoords[3],
vtkIdList* pts) override;
150 int EvaluatePosition(const
double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
151 double& dist2,
double weights[]) override;
152 void EvaluateLocation(
int& subId, const
double pcoords[3],
double x[3],
double* weights) override;
159 int IntersectWithLine(const
double p1[3], const
double p2[3],
double tol,
double& t,
double x[3],
160 double pcoords[3],
int& subId) override;
162 int TriangulateLocalIds(
int index,
vtkIdList* ptIds) override;
163 int TriangulateIds(
int index,
vtkIdList* ptIds) override;
165 int subId, const
double pcoords[3], const
double* values,
int dim,
double* derivs) override;
166 int GetParametricCenter(
double pcoords[3]) override;
167 double* GetParametricCoords() override;
168 int IsPrimaryCell() VTK_FUTURE_CONST override;
176 void InterpolateFunctions(const
double pcoords[3],
double* weights) override;
177 void InterpolateDerivs(const
double pcoords[3],
double* derivs) override;
187 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()
int IsLinear() VTK_FUTURE_CONST override
See the vtkCell API for descriptions of these methods.
static vtkCell * InstantiateCell(int cellType)
Instantiate a new vtkCell based on it's cell type value.
void SetCellTypeToLagrangeWedge()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToQuadraticPolygon()
void SetCellTypeToPyramid()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToTriangleStrip()
void SetCellTypeToPixel()
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.
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()
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