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

cell represents a quadratic-linear, 6-node isoparametric quad More...

#include <vtkQuadraticLinearQuad.h>

Inherits vtkNonLinearCell.

Collaboration diagram for vtkQuadraticLinearQuad:
[legend]

Public Types

typedef vtkNonLinearCell Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
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)
 

Static Public Member Functions

static vtkQuadraticLinearQuadNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticLinearQuadSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkQuadraticLinearQuad ()
 
 ~vtkQuadraticLinearQuad ()
 

Protected Attributes

vtkQuadraticEdgeEdge
 
vtkLineLinEdge
 
vtkQuad * Quad
 
vtkDoubleArrayScalars
 
static void InterpolationFunctions (double pcoords[3], double weights[6])
 
static void InterpolationDerivs (double pcoords[3], double derivs[12])
 
static int * GetEdgeArray (int edgeId)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[6])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[12])
 

Detailed Description

cell represents a quadratic-linear, 6-node isoparametric quad

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

See Also
vtkQuadraticEdge vtkQuadraticTriangle vtkQuadraticTetra vtkQuadraticQuad vtkQuadraticHexahedron vtkQuadraticWedge vtkQuadraticPyramid
Thanks:
Thanks to Soeren Gebbert who developed this class and integrated it into VTK 5.0.
Tests:
vtkQuadraticLinearQuad (Tests)

Definition at line 48 of file vtkQuadraticLinearQuad.h.

Member Typedef Documentation

typedef vtkNonLinearCell vtkQuadraticLinearQuad::Superclass

Definition at line 52 of file vtkQuadraticLinearQuad.h.

Constructor & Destructor Documentation

vtkQuadraticLinearQuad::vtkQuadraticLinearQuad ( )
protected
vtkQuadraticLinearQuad::~vtkQuadraticLinearQuad ( )
protected

Member Function Documentation

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

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

Definition at line 58 of file vtkQuadraticLinearQuad.h.

int vtkQuadraticLinearQuad::GetCellDimension ( )
inline

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

Definition at line 59 of file vtkQuadraticLinearQuad.h.

int vtkQuadraticLinearQuad::GetNumberOfEdges ( )
inline

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

Definition at line 60 of file vtkQuadraticLinearQuad.h.

int vtkQuadraticLinearQuad::GetNumberOfFaces ( )
inline

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

Definition at line 61 of file vtkQuadraticLinearQuad.h.

vtkCell* vtkQuadraticLinearQuad::GetEdge ( int  )

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

vtkCell* vtkQuadraticLinearQuad::GetFace ( int  )
inline

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

Definition at line 63 of file vtkQuadraticLinearQuad.h.

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

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

int vtkQuadraticLinearQuad::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 vtkQuadraticLinearQuad::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the pyramid in parametric coordinates.

Definition at line 139 of file vtkQuadraticLinearQuad.h.

static void vtkQuadraticLinearQuad::InterpolationFunctions ( double  pcoords[3],
double  weights[6] 
)
static
static void vtkQuadraticLinearQuad::InterpolationDerivs ( double  pcoords[3],
double  derivs[12] 
)
static
virtual void vtkQuadraticLinearQuad::InterpolateFunctions ( double  pcoords[3],
double  weights[6] 
)
inlinevirtual
Deprecated:
Replaced by vtkQuadraticLinearQuad::InterpolateFunctions as of VTK 5.2

Definition at line 111 of file vtkQuadraticLinearQuad.h.

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

Definition at line 115 of file vtkQuadraticLinearQuad.h.

static int* vtkQuadraticLinearQuad::GetEdgeArray ( int  edgeId)
static

Member Data Documentation

vtkQuadraticEdge* vtkQuadraticLinearQuad::Edge
protected

Definition at line 129 of file vtkQuadraticLinearQuad.h.

vtkLine* vtkQuadraticLinearQuad::LinEdge
protected

Definition at line 130 of file vtkQuadraticLinearQuad.h.

vtkQuad* vtkQuadraticLinearQuad::Quad
protected

Definition at line 131 of file vtkQuadraticLinearQuad.h.

vtkDoubleArray* vtkQuadraticLinearQuad::Scalars
protected

Definition at line 132 of file vtkQuadraticLinearQuad.h.


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