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

cell represents a biquadratic, 24-node isoparametric hexahedron More...

#include <vtkBiQuadraticQuadraticHexahedron.h>

Inherits vtkNonLinearCell.

Collaboration diagram for vtkBiQuadraticQuadraticHexahedron:
[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 ()
 
void JacobianInverse (double pcoords[3], double **inverse, double derivs[72])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCellGetEdge (int)
 
vtkCellGetFace (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)
 

Static Public Member Functions

static
vtkBiQuadraticQuadraticHexahedron
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkBiQuadraticQuadraticHexahedron
SafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkBiQuadraticQuadraticHexahedron ()
 
 ~vtkBiQuadraticQuadraticHexahedron ()
 
void Subdivide (vtkPointData *inPd, vtkCellData *inCd, vtkIdType cellId, vtkDataArray *cellScalars)
 

Protected Attributes

vtkQuadraticEdge * Edge
 
vtkQuadraticQuadFace
 
vtkBiQuadraticQuad * BiQuadFace
 
vtkHexahedronHex
 
vtkPointDataPointData
 
vtkCellData * CellData
 
vtkDoubleArrayCellScalars
 
vtkDoubleArrayScalars
 
static void InterpolationFunctions (double pcoords[3], double weights[24])
 
static void InterpolationDerivs (double pcoords[3], double derivs[72])
 
static int * GetEdgeArray (int edgeId)
 
static int * GetFaceArray (int faceId)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[24])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[72])
 

Detailed Description

cell represents a biquadratic, 24-node isoparametric hexahedron

vtkBiQuadraticQuadraticHexahedron is a concrete implementation of vtkNonLinearCell to represent a three-dimensional, 24-node isoparametric biquadratic hexahedron. The interpolation is the standard finite element, biquadratic-quadratic isoparametric shape function. The cell includes mid-edge and center-face nodes. The ordering of the 24 points defining the cell is point ids (0-7,8-19, 20-23) where point ids 0-7 are the eight corner vertices of the cube; followed by twelve midedge nodes (8-19), nodes 20-23 are the center-face nodes. 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). The center face nodes lieing in quad 22-(0,1,5,4), 21-(1,2,6,5), 23-(2,3,7,6) and 22-(3,0,4,7)

top 
 7--14--6
 |      |
15      13
 |      |
 4--12--5

 middle
19--23--18
 |      |
20      21
 |      |
16--22--17

bottom
 3--10--2
 |      |
11      9 
 |      |
 0-- 8--1
See also
vtkQuadraticEdge vtkQuadraticTriangle vtkQuadraticTetra vtkQuadraticQuad vtkQuadraticPyramid vtkQuadraticWedge
Thanks:
Thanks to Soeren Gebbert who developed this class and integrated it into VTK 5.0.
Tests:
vtkBiQuadraticQuadraticHexahedron (Tests)

Definition at line 81 of file vtkBiQuadraticQuadraticHexahedron.h.

Member Typedef Documentation

Definition at line 85 of file vtkBiQuadraticQuadraticHexahedron.h.

Constructor & Destructor Documentation

vtkBiQuadraticQuadraticHexahedron::vtkBiQuadraticQuadraticHexahedron ( )
protected
vtkBiQuadraticQuadraticHexahedron::~vtkBiQuadraticQuadraticHexahedron ( )
protected

Member Function Documentation

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

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

Definition at line 91 of file vtkBiQuadraticQuadraticHexahedron.h.

int vtkBiQuadraticQuadraticHexahedron::GetCellDimension ( )
inline

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

Definition at line 92 of file vtkBiQuadraticQuadraticHexahedron.h.

int vtkBiQuadraticQuadraticHexahedron::GetNumberOfEdges ( )
inline

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

Definition at line 93 of file vtkBiQuadraticQuadraticHexahedron.h.

int vtkBiQuadraticQuadraticHexahedron::GetNumberOfFaces ( )
inline

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

Definition at line 94 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkCell* vtkBiQuadraticQuadraticHexahedron::GetEdge ( int  )

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

vtkCell* vtkBiQuadraticQuadraticHexahedron::GetFace ( int  )

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

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

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

int vtkBiQuadraticQuadraticHexahedron::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 vtkBiQuadraticQuadraticHexahedron::InterpolationFunctions ( double  pcoords[3],
double  weights[24] 
)
static
static void vtkBiQuadraticQuadraticHexahedron::InterpolationDerivs ( double  pcoords[3],
double  derivs[72] 
)
static
virtual void vtkBiQuadraticQuadraticHexahedron::InterpolateFunctions ( double  pcoords[3],
double  weights[24] 
)
inlinevirtual
virtual void vtkBiQuadraticQuadraticHexahedron::InterpolateDerivs ( double  pcoords[3],
double  derivs[72] 
)
inlinevirtual
static int* vtkBiQuadraticQuadraticHexahedron::GetEdgeArray ( int  edgeId)
static
static int* vtkBiQuadraticQuadraticHexahedron::GetFaceArray ( int  faceId)
static
void vtkBiQuadraticQuadraticHexahedron::JacobianInverse ( double  pcoords[3],
double **  inverse,
double  derivs[72] 
)

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

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

Member Data Documentation

vtkQuadraticEdge* vtkBiQuadraticQuadraticHexahedron::Edge
protected

Definition at line 167 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkQuadraticQuad* vtkBiQuadraticQuadraticHexahedron::Face
protected

Definition at line 168 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkBiQuadraticQuad* vtkBiQuadraticQuadraticHexahedron::BiQuadFace
protected

Definition at line 169 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkHexahedron* vtkBiQuadraticQuadraticHexahedron::Hex
protected

Definition at line 170 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkPointData* vtkBiQuadraticQuadraticHexahedron::PointData
protected

Definition at line 171 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkCellData* vtkBiQuadraticQuadraticHexahedron::CellData
protected

Definition at line 172 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkDoubleArray* vtkBiQuadraticQuadraticHexahedron::CellScalars
protected

Definition at line 173 of file vtkBiQuadraticQuadraticHexahedron.h.

vtkDoubleArray* vtkBiQuadraticQuadraticHexahedron::Scalars
protected

Definition at line 174 of file vtkBiQuadraticQuadraticHexahedron.h.


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