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

cell represents a parabolic, 20-node isoparametric hexahedron More...

#include <vtkQuadraticHexahedron.h>

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

Public Types

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

Public Member Functions

virtual int IsA (const char *type)
 
vtkQuadraticHexahedronNewInstance () 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 ()
 
void JacobianInverse (double pcoords[3], double **inverse, double derivs[60])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int)
 
vtkCell * GetFace (int)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *tetras, 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[20])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[60])
 
- Public Member Functions inherited from vtkNonLinearCell
vtkNonLinearCellNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLinear ()
 

Static Public Member Functions

static vtkQuadraticHexahedronNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticHexahedronSafeDownCast (vtkObjectBase *o)
 
static void InterpolationFunctions (double pcoords[3], double weights[20])
 
static void InterpolationDerivs (double pcoords[3], double derivs[60])
 
static int * GetEdgeArray (int edgeId)
 
static int * GetFaceArray (int faceId)
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

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

Protected Attributes

vtkQuadraticEdgeEdge
 
vtkQuadraticQuadFace
 
vtkHexahedronHex
 
vtkPointData * PointData
 
vtkCellDataCellData
 
vtkDoubleArray * CellScalars
 
vtkDoubleArray * Scalars
 

Detailed Description

cell represents a parabolic, 20-node isoparametric hexahedron

vtkQuadraticHexahedron is a concrete implementation of vtkNonLinearCell to represent a three-dimensional, 20-node isoparametric parabolic hexahedron. The interpolation is the standard finite element, quadratic isoparametric shape function. The cell includes a mid-edge node. The ordering of the twenty points defining the cell is point ids (0-7,8-19) where point ids 0-7 are the eight corner vertices of the cube; followed by twelve midedge nodes (8-19). Note that these midedge nodes correspond lie on the edges defined by (0,1), (1,2), (2,3), (3,0), (4,5), (5,6), (6,7), (7,4), (0,4), (1,5), (2,6), (3,7).

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

Definition at line 47 of file vtkQuadraticHexahedron.h.

Member Typedef Documentation

Definition at line 51 of file vtkQuadraticHexahedron.h.

Constructor & Destructor Documentation

vtkQuadraticHexahedron::vtkQuadraticHexahedron ( )
protected
vtkQuadraticHexahedron::~vtkQuadraticHexahedron ( )
protected

Member Function Documentation

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

Reimplemented from vtkNonLinearCell.

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

Reimplemented from vtkNonLinearCell.

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

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

Definition at line 57 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetCellDimension ( )
inline

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

Definition at line 58 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetNumberOfEdges ( )
inline

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

Definition at line 59 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetNumberOfFaces ( )
inline

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

Definition at line 60 of file vtkQuadraticHexahedron.h.

vtkCell* vtkQuadraticHexahedron::GetEdge ( int  )

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

vtkCell* vtkQuadraticHexahedron::GetFace ( int  )

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

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

Clip this quadratic hexahedron using scalar value provided. Like contouring, except that it cuts the hex to produce linear tetrahedron.

int vtkQuadraticHexahedron::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.

static void vtkQuadraticHexahedron::InterpolationFunctions ( double  pcoords[3],
double  weights[20] 
)
static
static void vtkQuadraticHexahedron::InterpolationDerivs ( double  pcoords[3],
double  derivs[60] 
)
static
virtual void vtkQuadraticHexahedron::InterpolateFunctions ( double  pcoords[3],
double  weights[20] 
)
inlinevirtual

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

Definition at line 109 of file vtkQuadraticHexahedron.h.

virtual void vtkQuadraticHexahedron::InterpolateDerivs ( double  pcoords[3],
double  derivs[60] 
)
inlinevirtual

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

Definition at line 113 of file vtkQuadraticHexahedron.h.

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

Return the ids of the vertices defining edge/face (edgeId/`faceId'). Ids are related to the cell, not to the dataset.

static int* vtkQuadraticHexahedron::GetFaceArray ( int  faceId)
static

Return the ids of the vertices defining edge/face (edgeId/`faceId'). Ids are related to the cell, not to the dataset.

void vtkQuadraticHexahedron::JacobianInverse ( double  pcoords[3],
double **  inverse,
double  derivs[60] 
)

Given parametric coordinates compute inverse Jacobian transformation matrix. Returns 9 elements of 3x3 inverse Jacobian plus interpolation function derivatives.

void vtkQuadraticHexahedron::Subdivide ( vtkPointData *  inPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkDataArray *  cellScalars 
)
protected

Member Data Documentation

vtkQuadraticEdge* vtkQuadraticHexahedron::Edge
protected

Definition at line 134 of file vtkQuadraticHexahedron.h.

vtkQuadraticQuad* vtkQuadraticHexahedron::Face
protected

Definition at line 135 of file vtkQuadraticHexahedron.h.

vtkHexahedron* vtkQuadraticHexahedron::Hex
protected

Definition at line 136 of file vtkQuadraticHexahedron.h.

vtkPointData* vtkQuadraticHexahedron::PointData
protected

Definition at line 137 of file vtkQuadraticHexahedron.h.

vtkCellData* vtkQuadraticHexahedron::CellData
protected

Definition at line 138 of file vtkQuadraticHexahedron.h.

vtkDoubleArray* vtkQuadraticHexahedron::CellScalars
protected

Definition at line 139 of file vtkQuadraticHexahedron.h.

vtkDoubleArray* vtkQuadraticHexahedron::Scalars
protected

Definition at line 140 of file vtkQuadraticHexahedron.h.


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