41 #ifndef __vtkQuadraticPyramid_h
42 #define __vtkQuadraticPyramid_h
44 #include "vtkCommonDataModelModule.h"
49 class vtkQuadraticTriangle;
59 void PrintSelf(ostream& os, vtkIndent indent);
68 vtkCell *GetEdge(
int edgeId);
69 vtkCell *GetFace(
int faceId);
72 int CellBoundary(
int subId,
double pcoords[3], vtkIdList *pts);
73 void Contour(
double value, vtkDataArray *cellScalars,
76 vtkPointData *inPd, vtkPointData *outPd,
78 int EvaluatePosition(
double x[3],
double* closestPoint,
79 int& subId,
double pcoords[3],
80 double& dist2,
double *weights);
81 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
83 int Triangulate(
int index, vtkIdList *ptIds, vtkPoints *pts);
84 void Derivatives(
int subId,
double pcoords[3],
double *values,
85 int dim,
double *derivs);
86 virtual double *GetParametricCoords();
92 void Clip(
double value, vtkDataArray *cellScalars,
94 vtkPointData *inPd, vtkPointData *outPd,
102 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
103 double x[3],
double pcoords[3],
int& subId);
108 int GetParametricCenter(
double pcoords[3]);
112 static void InterpolationFunctions(
double pcoords[3],
double weights[13]);
115 static void InterpolationDerivs(
double pcoords[3],
double derivs[39]);
131 static int *GetEdgeArray(
int edgeId);
132 static int *GetFaceArray(
int faceId);
138 void JacobianInverse(
double pcoords[3],
double **inverse,
double derivs[39]);
154 void Subdivide(vtkPointData *inPd,
vtkCellData *inCd, vtkIdType cellId,
155 vtkDataArray *cellScalars);
166 pcoords[0] = pcoords[1] = 6./13;
static void InterpolationFunctions(double pcoords[3], double weights[13])
vtkDoubleArray * CellScalars
cell represents a parabolic, 13-node isoparametric pyramid
a 3D cell that represents a linear pyramid
represent and manipulate cell attribute data
Abstract class in support of both point location and point insertion.
abstract superclass for non-linear cells
virtual void InterpolateDerivs(double pcoords[3], double derivs[39])
a 3D cell that represents a tetrahedron
static void InterpolationDerivs(double pcoords[3], double derivs[39])
int GetParametricCenter(double pcoords[3])
cell represents a parabolic, 8-node isoparametric quad
vtkQuadraticTriangle * TriangleFace
void PrintSelf(ostream &os, vtkIndent indent)
object to represent cell connectivity
cell represents a parabolic, isoparametric edge
virtual void InterpolateFunctions(double pcoords[3], double weights[13])