VTK
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 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 ()
 
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)
 
- Public Member Functions inherited from vtkNonLinearCell
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLinear ()
 

Static Public Member Functions

static vtkQuadraticHexahedronNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticHexahedronSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObject *o)
 

Protected Member Functions

 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
 
vtkDoubleArrayCellScalars
 
vtkDoubleArrayScalars
 
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)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[20])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[60])
 

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 46 of file vtkQuadraticHexahedron.h.

Member Typedef Documentation

Definition at line 50 of file vtkQuadraticHexahedron.h.

Constructor & Destructor Documentation

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

Member Function Documentation

static vtkQuadraticHexahedron* vtkQuadraticHexahedron::New ( )
static
virtual const char* vtkQuadraticHexahedron::GetClassName ( )
virtual

Reimplemented from vtkNonLinearCell.

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

Reimplemented from vtkNonLinearCell.

static vtkQuadraticHexahedron* vtkQuadraticHexahedron::SafeDownCast ( vtkObject o)
static
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 56 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetCellDimension ( )
inline

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

Definition at line 57 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetNumberOfEdges ( )
inline

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

Definition at line 58 of file vtkQuadraticHexahedron.h.

int vtkQuadraticHexahedron::GetNumberOfFaces ( )
inline

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

Definition at line 59 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
Deprecated:
Replaced by vtkQuadraticHexahedron::InterpolateFunctions as of VTK 5.2

Definition at line 109 of file vtkQuadraticHexahedron.h.

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

Definition at line 113 of file vtkQuadraticHexahedron.h.

static int* vtkQuadraticHexahedron::GetEdgeArray ( int  edgeId)
static
static int* vtkQuadraticHexahedron::GetFaceArray ( int  faceId)
static
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 133 of file vtkQuadraticHexahedron.h.

vtkQuadraticQuad* vtkQuadraticHexahedron::Face
protected

Definition at line 134 of file vtkQuadraticHexahedron.h.

vtkHexahedron* vtkQuadraticHexahedron::Hex
protected

Definition at line 135 of file vtkQuadraticHexahedron.h.

vtkPointData* vtkQuadraticHexahedron::PointData
protected

Definition at line 136 of file vtkQuadraticHexahedron.h.

vtkCellData* vtkQuadraticHexahedron::CellData
protected

Definition at line 137 of file vtkQuadraticHexahedron.h.

vtkDoubleArray* vtkQuadraticHexahedron::CellScalars
protected

Definition at line 138 of file vtkQuadraticHexahedron.h.

vtkDoubleArray* vtkQuadraticHexahedron::Scalars
protected

Definition at line 139 of file vtkQuadraticHexahedron.h.


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