VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 int IsA (const char *type)
 
vtkQuadNewInstance () const
 
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)
 
virtual void InterpolateFunctions (double pcoords[3], double sf[4])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[8])
 

Static Public Member Functions

static vtkQuadNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadSafeDownCast (vtkObjectBase *o)
 
static void InterpolationFunctions (double pcoords[3], double sf[4])
 
static void InterpolationDerivs (double pcoords[3], double derivs[8])
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkQuad ()
 
 ~vtkQuad ()
 

Protected Attributes

vtkLineLine
 
vtkTriangle * Triangle
 

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 40 of file vtkQuad.h.

Member Typedef Documentation

typedef vtkCell vtkQuad::Superclass

Definition at line 44 of file vtkQuad.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

See the vtkCell API for descriptions of these methods.

Definition at line 49 of file vtkQuad.h.

int vtkQuad::GetCellDimension ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 50 of file vtkQuad.h.

int vtkQuad::GetNumberOfEdges ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 51 of file vtkQuad.h.

int vtkQuad::GetNumberOfFaces ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 52 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 54 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 120 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::InterpolateDerivs as of VTK 5.2
virtual void vtkQuad::InterpolateFunctions ( double  pcoords[3],
double  sf[4] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 94 of file vtkQuad.h.

virtual void vtkQuad::InterpolateDerivs ( double  pcoords[3],
double  derivs[8] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 98 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 112 of file vtkQuad.h.

vtkTriangle* vtkQuad::Triangle
protected

Definition at line 113 of file vtkQuad.h.


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