36 #ifndef __vtkHexahedron_h
37 #define __vtkHexahedron_h
39 #include "vtkCell3D.h"
43 class vtkIncrementalPointLocator;
50 void PrintSelf(ostream& os,
vtkIndent indent);
54 virtual void GetEdgePoints(
int edgeId,
int* &pts);
55 virtual void GetFacePoints(
int faceId,
int* &pts);
63 vtkCell *GetEdge(
int edgeId);
64 vtkCell *GetFace(
int faceId);
65 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
67 vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
70 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
73 int EvaluatePosition(
double x[3],
double* closestPoint,
74 int& subId,
double pcoords[3],
75 double& dist2,
double *weights);
76 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
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 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]);
represent and manipulate point attribute data
virtual void InterpolateFunctions(double pcoords[3], double weights[8])
a cell that represents a 2D quadrilateral
cell represents a 1D line
static void InterpolationFunctions(double pcoords[3], double weights[8])
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
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])
represent and manipulate 3D points