Go to the documentation of this file.
43 #define VTK_CELL_SIZE 512
44 #define VTK_TOL 1.e-05 // Tolerance for geometric calculation
46 #include "vtkCommonDataModelModule.h"
76 virtual void ShallowCopy(
vtkCell *c);
87 virtual int GetCellType() = 0;
92 virtual int GetCellDimension() = 0;
137 virtual int GetNumberOfEdges() = 0;
142 virtual int GetNumberOfFaces() = 0;
157 virtual vtkCell *GetEdge(
int edgeId) = 0;
162 virtual vtkCell *GetFace(
int faceId) = 0;
171 virtual int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts) = 0;
190 virtual int EvaluatePosition(
double x[3],
double* closestPoint,
191 int& subId,
double pcoords[3],
192 double& dist2,
double *weights) = 0;
199 virtual void EvaluateLocation(
int& subId,
double pcoords[3],
200 double x[3],
double *weights) = 0;
248 virtual int IntersectWithLine(
double p1[3],
double p2[3],
249 double tol,
double& t,
double x[3],
250 double pcoords[3],
int& subId) = 0;
278 virtual void Derivatives(
int subId,
double pcoords[3],
double *values,
279 int dim,
double *derivs) = 0;
286 void GetBounds(
double bounds[6]);
308 virtual int GetParametricCenter(
double pcoords[3]);
318 virtual double GetParametricDistance(
double pcoords[3]);
340 virtual double *GetParametricCoords();
366 void operator=(const
vtkCell&) VTK_DELETE_FUNCTION;
represent and manipulate 3D points
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
represent and manipulate point attribute data
virtual int RequiresExplicitFaceRepresentation()
Determine whether the cell requires explicit face representation, and methods for setting and getting...
virtual void Initialize()
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
virtual void InterpolateFunctions(double vtkNotUsed(pcoords)[3], double *vtkNotUsed(weight))
Compute the interpolation functions/derivatives (aka shape functions/derivatives) No-ops at this leve...
virtual int IsLinear()
Non-linear cells require special treatment beyond the usual cell type and connectivity list informati...
vtkIdList * GetPointIds()
Return the list of point ids defining the cell.
virtual vtkIdType * GetFaces()
virtual void InterpolateDerivs(double vtkNotUsed(pcoords)[3], double *vtkNotUsed(derivs))
abstract class to specify cell behavior
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
Abstract class in support of both point location and point insertion.
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int IsPrimaryCell()
Return whether this cell type has a fixed topology or whether the topology varies depending on the da...
virtual int IsExplicitCell()
Explicit cells require additional representational information beyond the usual cell type and connect...
vtkIdType GetNumberOfPoints()
Return the number of points in the cell.
virtual int RequiresInitialization()
Some cells require initialization prior to access.
virtual void SetFaces(vtkIdType *vtkNotUsed(faces))
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
vtkIdType GetPointId(int ptId)
For cell point i, return the actual point id.
vtkPoints * GetPoints()
Get the point coordinates for the cell.