Man Page for vtkQuad
Table of Contents

NAME

vtkQuad - a cell that represents a 2D quadrilateral

SYNOPSIS


#include "/opt/vtk-c++/common/vtkQuad.h"

class VTK_EXPORT vtkQuad : public vtkCell

vtkQuad();
vtkQuad(const vtkQuad& q);
static vtkQuad *New() {return new vtkQuad;};
const char *GetClassName() {return "vtkQuad";};
vtkCell *MakeObject() {return new vtkQuad(*this);};
int GetCellType() {return VTK_QUAD;};
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 sf[4]);
static void InterpolationDerivs(float pcoords[3], float derivs[8]);

DESCRIPTION

vtkQuad is a concrete implementation of vtkCell to represent a 2D quadrilateral.

SUMMARY

vtkQuad()
Construct the quad with four points.

vtkQuad(const vtkQuad& q)
Deep copy of cell.

void Clip(float value, vtkFloatScalars *cellScalars,
vtkPointLocator *locator, vtkCellArray *polys,
vtkPointData *inPd, vtkPointData *outPd,
int insideOut)
Clip this quad using scalar value provided. Like contouring, except that it cuts the quad to produce other
quads and/or triangles.


Table of Contents