42 #define VTK_CELL_SIZE 512
43 #define VTK_TOL 1.e-05 // Tolerance for geometric calculation
54 class vtkIncrementalPointLocator;
70 virtual void ShallowCopy(
vtkCell *c);
74 virtual void DeepCopy(
vtkCell *c);
77 virtual int GetCellType() = 0;
80 virtual int GetCellDimension() = 0;
116 virtual int GetNumberOfEdges() = 0;
119 virtual int GetNumberOfFaces() = 0;
128 virtual vtkCell *GetEdge(
int edgeId) = 0;
131 virtual vtkCell *GetFace(
int faceId) = 0;
138 virtual int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts) = 0;
156 virtual int EvaluatePosition(
double x[3],
double* closestPoint,
157 int& subId,
double pcoords[3],
158 double& dist2,
double *weights) = 0;
165 virtual void EvaluateLocation(
int& subId,
double pcoords[3],
166 double x[3],
double *weights) = 0;
181 virtual void Contour(
double value,
vtkDataArray *cellScalars,
182 vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
201 virtual void Clip(
double value,
vtkDataArray *cellScalars,
202 vtkIncrementalPointLocator *locator,
vtkCellArray *connectivity,
212 virtual int IntersectWithLine(
double p1[3],
double p2[3],
213 double tol,
double& t,
double x[3],
214 double pcoords[3],
int& subId) = 0;
241 virtual void Derivatives(
int subId,
double pcoords[3],
double *values,
242 int dim,
double *derivs) = 0;
248 void GetBounds(
double bounds[6]);
265 virtual int GetParametricCenter(
double pcoords[3]);
273 virtual double GetParametricDistance(
double pcoords[3]);
291 virtual double *GetParametricCoords();
321 void operator=(
const vtkCell&);
vtkIdType GetNumberOfPoints()
abstract base class for most VTK objects
represent and manipulate point attribute data
represent and manipulate cell attribute data
virtual void InterpolateFunctions(double pcoords[3], double weights[3])
vtkIdType GetPointId(int ptId)
virtual void SetFaces(vtkIdType *vtkNotUsed(faces))
abstract class to specify cell behavior
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
virtual int RequiresInitialization()
virtual int RequiresExplicitFaceRepresentation()
object to represent cell connectivity
virtual int IsExplicitCell()
virtual int IsPrimaryCell()
virtual void InterpolateDerivs(double pcoords[3], double derivs[3])
vtkIdList * GetPointIds()
virtual vtkIdType * GetFaces()
virtual void Initialize()
represent and manipulate 3D points