32 #ifndef __vtkGenericCell_h
33 #define __vtkGenericCell_h
35 #include "vtkCommonDataModelModule.h"
45 void PrintSelf(ostream& os, vtkIndent indent);
49 void ShallowCopy(vtkCell *c);
50 void DeepCopy(vtkCell *c);
52 int GetCellDimension();
54 int RequiresInitialization();
56 int RequiresExplicitFaceRepresentation();
57 void SetFaces(vtkIdType *faces);
58 vtkIdType *GetFaces();
59 int GetNumberOfEdges();
60 int GetNumberOfFaces();
61 vtkCell *GetEdge(
int edgeId);
62 vtkCell *GetFace(
int faceId);
63 int CellBoundary(
int subId,
double pcoords[3], vtkIdList *pts);
64 int EvaluatePosition(
double x[3],
double* closestPoint,
65 int& subId,
double pcoords[3],
66 double& dist2,
double *weights);
67 void EvaluateLocation(
int& subId,
double pcoords[3],
68 double x[3],
double *weights);
69 void Contour(
double value, vtkDataArray *cellScalars,
72 vtkPointData *inPd, vtkPointData *outPd,
74 void Clip(
double value, vtkDataArray *cellScalars,
76 vtkPointData *inPd, vtkPointData *outPd,
79 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
80 double x[3],
double pcoords[3],
int& subId);
81 int Triangulate(
int index, vtkIdList *ptIds, vtkPoints *pts);
82 void Derivatives(
int subId,
double pcoords[3],
double *values,
83 int dim,
double *derivs);
84 int GetParametricCenter(
double pcoords[3]);
85 double *GetParametricCoords();
92 virtual void InterpolateFunctions(
double pcoords[3],
double *weights);
93 virtual void InterpolateDerivs(
double pcoords[3],
double *derivs);
102 void SetCellType(
int cellType);
135 this->SetCellType(VTK_BIQUADRATIC_QUADRATIC_WEDGE);}
137 this->SetCellType(VTK_TRIQUADRATIC_HEXAHEDRON);}
139 this->SetCellType(VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON);}
143 static vtkCell* InstantiateCell(
int cellType);
void SetCellTypeToPyramid()
void SetCellTypeToTriangle()
void SetCellTypeToPolyVertex()
void SetCellTypeToConvexPointSet()
void SetCellTypeToPentagonalPrism()
void SetCellTypeToHexahedron()
represent and manipulate cell attribute data
void SetCellTypeToBiQuadraticQuadraticHexahedron()
Abstract class in support of both point location and point insertion.
void SetCellTypeToPolyhedron()
void SetCellTypeToPolygon()
void SetCellTypeToQuadraticQuad()
void SetCellTypeToPolyLine()
provides thread-safe access to cells
void SetCellTypeToPixel()
void SetCellTypeToTetra()
void SetCellTypeToWedge()
void SetCellTypeToQuadraticWedge()
void SetCellTypeToTriQuadraticHexahedron()
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()
void SetCellTypeToEmptyCell()
void SetCellTypeToQuadraticHexahedron()