33 #include "vtkCommonDataModelModule.h"
39 class VTKCOMMONDATAMODEL_EXPORT
vtkPixel :
public vtkCell
44 void PrintSelf(ostream& os, vtkIndent indent);
52 vtkCell *GetEdge(
int edgeId);
54 int CellBoundary(
int subId,
double pcoords[3], vtkIdList *pts);
55 void Contour(
double value, vtkDataArray *cellScalars,
58 vtkPointData *inPd, vtkPointData *outPd,
60 void Clip(
double value, vtkDataArray *cellScalars,
62 vtkPointData *inPd, vtkPointData *outPd,
65 int EvaluatePosition(
double x[3],
double* closestPoint,
66 int& subId,
double pcoords[3],
67 double& dist2,
double *weights);
68 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
73 int GetParametricCenter(
double pcoords[3]);
75 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
76 double x[3],
double pcoords[3],
int& subId);
77 int Triangulate(
int index, vtkIdList *ptIds, vtkPoints *pts);
78 void Derivatives(
int subId,
double pcoords[3],
double *values,
79 int dim,
double *derivs);
80 virtual double *GetParametricCoords();
83 static void InterpolationFunctions(
double pcoords[3],
double weights[4]);
85 static void InterpolationDerivs(
double pcoords[3],
double derivs[8]);
113 pcoords[0] = pcoords[1] = 0.5;
virtual void InterpolateFunctions(double pcoords[3], double weights[4])
represent and manipulate cell attribute data
a cell that represents an orthogonal quadrilateral
Abstract class in support of both point location and point insertion.
static void InterpolationFunctions(double pcoords[3], double weights[4])
static void InterpolationDerivs(double pcoords[3], double derivs[8])
virtual void InterpolateDerivs(double pcoords[3], double derivs[8])
int GetParametricCenter(double pcoords[3])
object to represent cell connectivity