36 #ifndef __vtkHexahedron_h
37 #define __vtkHexahedron_h
39 #include "vtkCommonDataModelModule.h"
40 #include "vtkCell3D.h"
51 void PrintSelf(ostream& os, vtkIndent indent);
55 virtual void GetEdgePoints(
int edgeId,
int* &pts);
56 virtual void GetFacePoints(
int faceId,
int* &pts);
64 vtkCell *GetEdge(
int edgeId);
65 vtkCell *GetFace(
int faceId);
66 int CellBoundary(
int subId,
double pcoords[3], vtkIdList *pts);
67 void Contour(
double value, vtkDataArray *cellScalars,
70 vtkPointData *inPd, vtkPointData *outPd,
74 int EvaluatePosition(
double x[3],
double* closestPoint,
75 int& subId,
double pcoords[3],
76 double& dist2,
double *weights);
77 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
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 virtual double *GetParametricCoords();
88 static void InterpolationFunctions(
double pcoords[3],
double weights[8]);
91 static void InterpolationDerivs(
double pcoords[3],
double derivs[24]);
108 static int *GetEdgeArray(
int edgeId);
109 static int *GetFaceArray(
int faceId);
115 void JacobianInverse(
double pcoords[3],
double **inverse,
double derivs[24]);
virtual void InterpolateFunctions(double pcoords[3], double weights[8])
represent and manipulate cell attribute data
Abstract class in support of both point location and point insertion.
static void InterpolationFunctions(double pcoords[3], double weights[8])
a cell that represents a linear 3D hexahedron
object to represent cell connectivity
virtual void InterpolateDerivs(double pcoords[3], double derivs[24])
static void InterpolationDerivs(double pcoords[3], double derivs[24])