NAME
vtkPixel - a cell that represents an orthogonal quadrilateral
SYNOPSIS
#include "/opt/vtk-c++/common/vtkPixel.h"
class VTK_EXPORT vtkPixel : public vtkCell
vtkPixel();
vtkPixel(const vtkPixel& r);
static vtkPixel *New() {return new vtkPixel;};
const char *GetClassName() {return "vtkPixel";};
vtkCell *MakeObject() {return new vtkPixel(*this);};
int GetCellType() {return VTK_PIXEL;};
int GetCellDimension() {return 2;};
int GetNumberOfEdges() {return 4;};
int GetNumberOfFaces() {return 0;};
vtkCell *GetEdge(int edgeId);
vtkCell *GetFace(int) {return 0;};
int CellBoundary(int subId, float pcoords[3], vtkIdList& pts);
void Contour(float value, vtkFloatScalars *cellScalars,
vtkPointLocator *locator, vtkCellArray *verts,
vtkCellArray *lines, vtkCellArray *polys,
vtkPointData *inPd, vtkPointData *outPd);
void Clip(float value, vtkFloatScalars *cellScalars,
vtkPointLocator *locator, vtkCellArray *polys,
vtkPointData *inPd, vtkPointData *outPd, int insideOut);
int EvaluatePosition(float x[3], float closestPoint[3],
int& subId, float pcoords[3],
float& dist2, float *weights);
void EvaluateLocation(int& subId, float pcoords[3], float x[3],
float *weights);
int IntersectWithLine(float p1[3], float p2[3], float tol, float& t,
float x[3], float pcoords[3], int& subId);
int Triangulate(int index, vtkIdList &ptIds, vtkFloatPoints &pts);
void Derivatives(int subId, float pcoords[3], float *values,
int dim, float *derivs);
static void InterpolationFunctions(float pcoords[3], float weights[4]);
static void InterpolationDerivs(float pcoords[3], float derivs[8]);
DESCRIPTION
vtkPixel is a concrete implementation of vtkCell to represent a 2D orthogonal quadrilateral. Unlike vtkQuad, the corners are at right angles, and aligned along x-y-z coordinate axes leading to large increases in computational efficiency.
vtkPixel()
Construct the pixel with four points.
vtkPixel(const vtkPixel& p)
Deep copy of cell.