32 #ifndef __vtkGenericCell_h
33 #define __vtkGenericCell_h
44 void PrintSelf(ostream& os,
vtkIndent indent);
48 void ShallowCopy(vtkCell *c);
49 void DeepCopy(vtkCell *c);
51 int GetCellDimension();
53 int RequiresInitialization();
55 int RequiresExplicitFaceRepresentation();
58 int GetNumberOfEdges();
59 int GetNumberOfFaces();
60 vtkCell *GetEdge(
int edgeId);
61 vtkCell *GetFace(
int faceId);
62 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
63 int EvaluatePosition(
double x[3],
double* closestPoint,
64 int& subId,
double pcoords[3],
65 double& dist2,
double *weights);
66 void EvaluateLocation(
int& subId,
double pcoords[3],
67 double x[3],
double *weights);
69 vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
72 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
74 vtkIncrementalPointLocator *locator,
vtkCellArray *connectivity,
76 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
78 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
79 double x[3],
double pcoords[3],
int& subId);
81 void Derivatives(
int subId,
double pcoords[3],
double *values,
82 int dim,
double *derivs);
83 int GetParametricCenter(
double pcoords[3]);
84 double *GetParametricCoords();
91 virtual void InterpolateFunctions(
double pcoords[3],
double *weights);
92 virtual void InterpolateDerivs(
double pcoords[3],
double *derivs);
101 void SetCellType(
int cellType);
142 static vtkCell* InstantiateCell(
int cellType);
void SetCellTypeToPyramid()
void SetCellTypeToTriangle()
represent and manipulate point attribute data
void SetCellTypeToPolyVertex()
void SetCellTypeToConvexPointSet()
void SetCellTypeToPentagonalPrism()
void SetCellTypeToHexahedron()
void SetCellTypeToBiQuadraticQuadraticHexahedron()
void SetCellTypeToPolyhedron()
void SetCellTypeToPolygon()
void SetCellTypeToQuadraticQuad()
void SetCellTypeToPolyLine()
provides thread-safe access to cells
void SetCellTypeToPixel()
void SetCellTypeToTetra()
void SetCellTypeToWedge()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToTriQuadraticHexahedron()
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
void SetCellTypeToVoxel()
void SetCellTypeToQuadraticLinearQuad()
void SetCellTypeToVertex()
void SetCellTypeToQuadraticPyramid()
void SetCellTypeToBiQuadraticQuadraticWedge()
void SetCellTypeToQuadraticEdge()
object to represent cell connectivity
void SetCellTypeToBiQuadraticTriangle()
void SetCellTypeToQuadraticLinearWedge()
void SetCellTypeToTriangleStrip()
void SetCellTypeToQuadraticTriangle()
void SetCellTypeToHexagonalPrism()
void SetCellTypeToQuadraticTetra()
void SetCellTypeToCubicLine()
void SetCellTypeToBiQuadraticQuad()
represent and manipulate 3D points
void SetCellTypeToEmptyCell()
void SetCellTypeToQuadraticHexahedron()