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();
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);
71 vtkCellArray *lines, vtkCellArray *polys,
72 vtkPointData *inPd, vtkPointData *outPd,
73 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
76 vtkPointData *inPd, vtkPointData *outPd,
77 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
79 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
80 double x[3],
double pcoords[3],
int& subId);
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()
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()
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()
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()