33 #include "vtkCommonDataModelModule.h"
40 class VTKCOMMONDATAMODEL_EXPORT
vtkQuad :
public vtkCell
45 void PrintSelf(ostream& os,
vtkIndent indent);
53 vtkCell *GetEdge(
int edgeId);
55 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
58 vtkCellArray *lines, vtkCellArray *polys,
59 vtkPointData *inPd, vtkPointData *outPd,
60 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
61 int EvaluatePosition(
double x[3],
double* closestPoint,
62 int& subId,
double pcoords[3],
63 double& dist2,
double *weights);
64 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
66 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
67 double x[3],
double pcoords[3],
int& subId);
69 void Derivatives(
int subId,
double pcoords[3],
double *values,
70 int dim,
double *derivs);
71 virtual double *GetParametricCoords();
75 int GetParametricCenter(
double pcoords[3]);
82 vtkPointData *inPd, vtkPointData *outPd,
83 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
88 static void InterpolationFunctions(
double pcoords[3],
double sf[4]);
90 static void InterpolationDerivs(
double pcoords[3],
double derivs[8]);
106 int *GetEdgeArray(
int edgeId);
117 void operator=(
const vtkQuad&);
122 pcoords[0] = pcoords[1] = 0.5;
int GetParametricCenter(double pcoords[3])
Abstract class in support of both point location and point insertion.
a cell that represents a 2D quadrilateral
static void InterpolationFunctions(double pcoords[3], double sf[4])
cell represents a 1D line
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
static void InterpolationDerivs(double pcoords[3], double derivs[8])
virtual void InterpolateDerivs(double pcoords[3], double derivs[8])
virtual void InterpolateFunctions(double pcoords[3], double sf[4])
represent and manipulate 3D points