VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkQuad Class Reference

a cell that represents a 2D quadrilateral More...

#include <vtkQuad.h>

Inherits vtkCell.

Collaboration diagram for vtkQuad:
[legend]

Public Types

typedef vtkCell Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetParametricCenter (double pcoords[3])
 
int * GetEdgeArray (int edgeId)
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int)
 
int CellBoundary (int subId, double pcoords[3], vtkIdList *pts)
 
void Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
 
int EvaluatePosition (double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)
 
void EvaluateLocation (int &subId, double pcoords[3], double x[3], double *weights)
 
int IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
int Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
 
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
 
virtual double * GetParametricCoords ()
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
 

Static Public Member Functions

static vtkQuadNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkQuad ()
 
 ~vtkQuad ()
 

Protected Attributes

vtkLineLine
 
vtkTriangleTriangle
 
static void InterpolationFunctions (double pcoords[3], double sf[4])
 
static void InterpolationDerivs (double pcoords[3], double derivs[8])
 
virtual void InterpolateFunctions (double pcoords[3], double sf[4])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[8])
 

Detailed Description

a cell that represents a 2D quadrilateral

vtkQuad is a concrete implementation of vtkCell to represent a 2D quadrilateral. vtkQuad is defined by the four points (0,1,2,3) in counterclockwise order. vtkQuad uses the standard isoparametric interpolation functions for a linear quadrilateral.

Examples:
vtkQuad (Examples)
Tests:
vtkQuad (Tests)

Definition at line 39 of file vtkQuad.h.

Member Typedef Documentation

typedef vtkCell vtkQuad::Superclass

Definition at line 43 of file vtkQuad.h.

Constructor & Destructor Documentation

vtkQuad::vtkQuad ( )
protected
vtkQuad::~vtkQuad ( )
protected

Member Function Documentation

static vtkQuad* vtkQuad::New ( )
static
virtual const char* vtkQuad::GetClassName ( )
virtual
static int vtkQuad::IsTypeOf ( const char *  type)
static
virtual int vtkQuad::IsA ( const char *  type)
virtual
static vtkQuad* vtkQuad::SafeDownCast ( vtkObject o)
static
void vtkQuad::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkQuad::GetCellType ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 48 of file vtkQuad.h.

int vtkQuad::GetCellDimension ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 49 of file vtkQuad.h.

int vtkQuad::GetNumberOfEdges ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 50 of file vtkQuad.h.

int vtkQuad::GetNumberOfFaces ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 51 of file vtkQuad.h.

vtkCell* vtkQuad::GetEdge ( int  edgeId)

See the vtkCell API for descriptions of these methods.

vtkCell* vtkQuad::GetFace ( int  )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 53 of file vtkQuad.h.

int vtkQuad::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList pts 
)

See the vtkCell API for descriptions of these methods.

void vtkQuad::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator *  locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData *  inCd,
vtkIdType  cellId,
vtkCellData *  outCd 
)

See the vtkCell API for descriptions of these methods.

int vtkQuad::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)

See the vtkCell API for descriptions of these methods.

void vtkQuad::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)

See the vtkCell API for descriptions of these methods.

int vtkQuad::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)

See the vtkCell API for descriptions of these methods.

int vtkQuad::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)

See the vtkCell API for descriptions of these methods.

void vtkQuad::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)

See the vtkCell API for descriptions of these methods.

virtual double* vtkQuad::GetParametricCoords ( )
virtual

See the vtkCell API for descriptions of these methods.

int vtkQuad::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the triangle in parametric coordinates.

Definition at line 121 of file vtkQuad.h.

void vtkQuad::Clip ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator *  locator,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData *  inCd,
vtkIdType  cellId,
vtkCellData *  outCd,
int  insideOut 
)

Clip this quad using scalar value provided. Like contouring, except that it cuts the quad to produce other quads and/or triangles.

static void vtkQuad::InterpolationFunctions ( double  pcoords[3],
double  sf[4] 
)
static
Deprecated:
Replaced by vtkQuad::InterpolateFunctions as of VTK 5.2
static void vtkQuad::InterpolationDerivs ( double  pcoords[3],
double  derivs[8] 
)
static
Deprecated:
Replaced by vtkQuad::InterpolateFunctions as of VTK 5.2
virtual void vtkQuad::InterpolateFunctions ( double  pcoords[3],
double  sf[4] 
)
inlinevirtual
Deprecated:
Replaced by vtkQuad::InterpolateFunctions as of VTK 5.2

Definition at line 95 of file vtkQuad.h.

virtual void vtkQuad::InterpolateDerivs ( double  pcoords[3],
double  derivs[8] 
)
inlinevirtual
Deprecated:
Replaced by vtkQuad::InterpolateFunctions as of VTK 5.2

Definition at line 99 of file vtkQuad.h.

int* vtkQuad::GetEdgeArray ( int  edgeId)

Return the ids of the vertices defining edge (edgeId). Ids are related to the cell, not to the dataset.

Member Data Documentation

vtkLine* vtkQuad::Line
protected

Definition at line 113 of file vtkQuad.h.

vtkTriangle* vtkQuad::Triangle
protected

Definition at line 114 of file vtkQuad.h.


The documentation for this class was generated from the following file: