45 #define VTK_CELL_SIZE 512
46 #define VTK_TOL 1.e-05 // Tolerance for geometric calculation
74 virtual void ShallowCopy(
vtkCell *
c);
81 virtual int GetCellType() = 0;
84 virtual int GetCellDimension() = 0;
120 virtual int GetNumberOfEdges() = 0;
123 virtual int GetNumberOfFaces() = 0;
132 virtual vtkCell *GetEdge(
int edgeId) = 0;
135 virtual vtkCell *GetFace(
int faceId) = 0;
142 virtual int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts) = 0;
160 virtual int EvaluatePosition(
double x[3],
double* closestPoint,
161 int& subId,
double pcoords[3],
162 double& dist2,
double *
weights) = 0;
169 virtual void EvaluateLocation(
int& subId,
double pcoords[3],
221 virtual int IntersectWithLine(
double p1[3],
double p2[3],
222 double tol,
double&
t,
double x[3],
223 double pcoords[3],
int& subId) = 0;
250 virtual void Derivatives(
int subId,
double pcoords[3],
double *
values,
251 int dim,
double *derivs) = 0;
257 void GetBounds(
double bounds[6]);
274 virtual int GetParametricCenter(
double pcoords[3]);
282 virtual double GetParametricDistance(
double pcoords[3]);
300 virtual double *GetParametricCoords();
330 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
Abstract class in support of both point location and point insertion.
virtual void InterpolateFunctions(double pcoords[3], double weights[3])
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLsizei const GLfloat * value
vtkIdType GetPointId(int ptId)
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
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
GLboolean GLenum GLenum GLvoid * values
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()
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
virtual void InterpolateDerivs(double pcoords[3], double derivs[3])
vtkIdList * GetPointIds()
virtual vtkIdType * GetFaces()
virtual void Initialize()
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points