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
vtkQuadraticQuad Class Reference

cell represents a parabolic, 8-node isoparametric quad More...

#include <vtkQuadraticQuad.h>

Inheritance diagram for vtkQuadraticQuad:
[legend]
Collaboration diagram for vtkQuadraticQuad:
[legend]

Public Types

typedef vtkNonLinearCell Superclass
 
- Public Types inherited from vtkNonLinearCell
typedef vtkCell Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkQuadraticQuadNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
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 Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
 
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
 
virtual double * GetParametricCoords ()
 
int GetParametricCenter (double pcoords[3])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int)
 
vtkCell * GetFace (int)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
 
int IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[8])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[16])
 
- Public Member Functions inherited from vtkNonLinearCell
vtkNonLinearCellNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLinear ()
 

Static Public Member Functions

static vtkQuadraticQuadNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticQuadSafeDownCast (vtkObjectBase *o)
 
static void InterpolationFunctions (double pcoords[3], double weights[8])
 
static void InterpolationDerivs (double pcoords[3], double derivs[16])
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkQuadraticQuad ()
 
 ~vtkQuadraticQuad ()
 
void Subdivide (double *weights)
 
void InterpolateAttributes (vtkPointData *inPd, vtkCellData *inCd, vtkIdType cellId, vtkDataArray *cellScalars)
 
- Protected Member Functions inherited from vtkNonLinearCell
 vtkNonLinearCell ()
 
 ~vtkNonLinearCell ()
 

Protected Attributes

vtkQuadraticEdgeEdge
 
vtkQuad * Quad
 
vtkPointData * PointData
 
vtkDoubleArray * Scalars
 
vtkCellDataCellData
 
vtkDoubleArray * CellScalars
 

Detailed Description

cell represents a parabolic, 8-node isoparametric quad

vtkQuadraticQuad is a concrete implementation of vtkNonLinearCell to represent a two-dimensional, 8-node isoparametric parabolic quadrilateral element. The interpolation is the standard finite element, quadratic isoparametric shape function. The cell includes a mid-edge node for each of the four edges of the cell. The ordering of the eight points defining the cell are point ids (0-3,4-7) where ids 0-3 define the four corner vertices of the quad; ids 4-7 define the midedge nodes (0,1), (1,2), (2,3), (3,0).

See Also
vtkQuadraticEdge vtkQuadraticTriangle vtkQuadraticTetra vtkQuadraticHexahedron vtkQuadraticWedge vtkQuadraticPyramid
Tests:
vtkQuadraticQuad (Tests)

Definition at line 45 of file vtkQuadraticQuad.h.

Member Typedef Documentation

Definition at line 49 of file vtkQuadraticQuad.h.

Constructor & Destructor Documentation

vtkQuadraticQuad::vtkQuadraticQuad ( )
protected
vtkQuadraticQuad::~vtkQuadraticQuad ( )
protected

Member Function Documentation

static vtkQuadraticQuad* vtkQuadraticQuad::New ( )
static
static int vtkQuadraticQuad::IsTypeOf ( const char *  type)
static
virtual int vtkQuadraticQuad::IsA ( const char *  type)
virtual

Reimplemented from vtkNonLinearCell.

static vtkQuadraticQuad* vtkQuadraticQuad::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkQuadraticQuad::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkNonLinearCell.

vtkQuadraticQuad* vtkQuadraticQuad::NewInstance ( ) const
void vtkQuadraticQuad::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkQuadraticQuad::GetCellType ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 55 of file vtkQuadraticQuad.h.

int vtkQuadraticQuad::GetCellDimension ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 56 of file vtkQuadraticQuad.h.

int vtkQuadraticQuad::GetNumberOfEdges ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 57 of file vtkQuadraticQuad.h.

int vtkQuadraticQuad::GetNumberOfFaces ( )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 58 of file vtkQuadraticQuad.h.

vtkCell* vtkQuadraticQuad::GetEdge ( int  )

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

vtkCell* vtkQuadraticQuad::GetFace ( int  )
inline

Implement the vtkCell API. See the vtkCell API for descriptions of these methods.

Definition at line 60 of file vtkQuadraticQuad.h.

int vtkQuadraticQuad::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList *  pts 
)
void vtkQuadraticQuad::Contour ( double  value,
vtkDataArray *  cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData *  inPd,
vtkPointData *  outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd 
)
int vtkQuadraticQuad::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkQuadraticQuad::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkQuadraticQuad::Triangulate ( int  index,
vtkIdList *  ptIds,
vtkPoints *  pts 
)
void vtkQuadraticQuad::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
virtual double* vtkQuadraticQuad::GetParametricCoords ( )
virtual
void vtkQuadraticQuad::Clip ( double  value,
vtkDataArray *  cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray polys,
vtkPointData *  inPd,
vtkPointData *  outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd,
int  insideOut 
)

Clip this quadratic quad using scalar value provided. Like contouring, except that it cuts the quad to produce linear triangles.

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

Line-edge intersection. Intersection has to occur within [0,1] parametric coordinates and with specified tolerance.

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

Return the center of the pyramid in parametric coordinates.

Definition at line 142 of file vtkQuadraticQuad.h.

static void vtkQuadraticQuad::InterpolationFunctions ( double  pcoords[3],
double  weights[8] 
)
static
static void vtkQuadraticQuad::InterpolationDerivs ( double  pcoords[3],
double  derivs[16] 
)
static
virtual void vtkQuadraticQuad::InterpolateFunctions ( double  pcoords[3],
double  weights[8] 
)
inlinevirtual

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

Definition at line 109 of file vtkQuadraticQuad.h.

virtual void vtkQuadraticQuad::InterpolateDerivs ( double  pcoords[3],
double  derivs[16] 
)
inlinevirtual

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

Definition at line 113 of file vtkQuadraticQuad.h.

void vtkQuadraticQuad::Subdivide ( double *  weights)
protected
void vtkQuadraticQuad::InterpolateAttributes ( vtkPointData *  inPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkDataArray *  cellScalars 
)
protected

Member Data Documentation

vtkQuadraticEdge* vtkQuadraticQuad::Edge
protected

Definition at line 123 of file vtkQuadraticQuad.h.

vtkQuad* vtkQuadraticQuad::Quad
protected

Definition at line 124 of file vtkQuadraticQuad.h.

vtkPointData* vtkQuadraticQuad::PointData
protected

Definition at line 125 of file vtkQuadraticQuad.h.

vtkDoubleArray* vtkQuadraticQuad::Scalars
protected

Definition at line 126 of file vtkQuadraticQuad.h.

vtkCellData* vtkQuadraticQuad::CellData
protected

Definition at line 131 of file vtkQuadraticQuad.h.

vtkDoubleArray* vtkQuadraticQuad::CellScalars
protected

Definition at line 132 of file vtkQuadraticQuad.h.


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