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

a cell that represents a linear 3D hexahedron More...

#include <vtkHexahedron.h>

Inherits vtkCell3D.

Collaboration diagram for vtkHexahedron:
[legend]

Public Types

typedef vtkCell3D Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
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 IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
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[24])
 
virtual void GetEdgePoints (int edgeId, int *&pts)
 
virtual void GetFacePoints (int faceId, int *&pts)
 
int GetCellType ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int faceId)
 
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)
 

Static Public Member Functions

static vtkHexahedronNew ()
 
static int IsTypeOf (const char *type)
 
static vtkHexahedronSafeDownCast (vtkObject *o)
 
static int * GetEdgeArray (int edgeId)
 
static int * GetFaceArray (int faceId)
 

Protected Member Functions

 vtkHexahedron ()
 
 ~vtkHexahedron ()
 

Protected Attributes

vtkLineLine
 
vtkQuadQuad
 
static void InterpolationFunctions (double pcoords[3], double weights[8])
 
static void InterpolationDerivs (double pcoords[3], double derivs[24])
 
virtual void InterpolateFunctions (double pcoords[3], double weights[8])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[24])
 

Detailed Description

a cell that represents a linear 3D hexahedron

vtkHexahedron is a concrete implementation of vtkCell to represent a linear, 3D rectangular hexahedron (e.g., "brick" topology). vtkHexahedron uses the standard isoparametric shape functions for a linear hexahedron. The hexahedron is defined by the eight points (0-7) where (0,1,2,3) is the base of the hexahedron which, using the right hand rule, forms a quadrilaterial whose normal points in the direction of the opposite face (4,5,6,7).

See Also
vtkConvexPointSet vtkPyramid vtkTetra vtkVoxel vtkWedge
Examples:
vtkHexahedron (Examples)
Tests:
vtkHexahedron (Tests)

Definition at line 45 of file vtkHexahedron.h.

Member Typedef Documentation

typedef vtkCell3D vtkHexahedron::Superclass

Definition at line 49 of file vtkHexahedron.h.

Constructor & Destructor Documentation

vtkHexahedron::vtkHexahedron ( )
protected
vtkHexahedron::~vtkHexahedron ( )
protected

Member Function Documentation

static vtkHexahedron* vtkHexahedron::New ( )
static
virtual const char* vtkHexahedron::GetClassName ( )
virtual
static int vtkHexahedron::IsTypeOf ( const char *  type)
static
virtual int vtkHexahedron::IsA ( const char *  type)
virtual
static vtkHexahedron* vtkHexahedron::SafeDownCast ( vtkObject o)
static
void vtkHexahedron::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkHexahedron::GetEdgePoints ( int  edgeId,
int *&  pts 
)
virtual

See vtkCell3D API for description of these methods.

virtual void vtkHexahedron::GetFacePoints ( int  faceId,
int *&  pts 
)
virtual

See vtkCell3D API for description of these methods.

int vtkHexahedron::GetCellType ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 60 of file vtkHexahedron.h.

int vtkHexahedron::GetNumberOfEdges ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 61 of file vtkHexahedron.h.

int vtkHexahedron::GetNumberOfFaces ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 62 of file vtkHexahedron.h.

vtkCell* vtkHexahedron::GetEdge ( int  edgeId)

See the vtkCell API for descriptions of these methods.

vtkCell* vtkHexahedron::GetFace ( int  faceId)

See the vtkCell API for descriptions of these methods.

int vtkHexahedron::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList pts 
)

See the vtkCell API for descriptions of these methods.

void vtkHexahedron::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator *  locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData *  inCd,
vtkIdType  cellId,
vtkCellData *  outCd 
)

See the vtkCell API for descriptions of these methods.

int vtkHexahedron::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkHexahedron::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkHexahedron::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)
int vtkHexahedron::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)
void vtkHexahedron::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
virtual double* vtkHexahedron::GetParametricCoords ( )
virtual
static void vtkHexahedron::InterpolationFunctions ( double  pcoords[3],
double  weights[8] 
)
static
static void vtkHexahedron::InterpolationDerivs ( double  pcoords[3],
double  derivs[24] 
)
static
virtual void vtkHexahedron::InterpolateFunctions ( double  pcoords[3],
double  weights[8] 
)
inlinevirtual
Deprecated:
Replaced by vtkHexahedron::InterpolateFunctions as of VTK 5.2

Definition at line 95 of file vtkHexahedron.h.

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

Definition at line 99 of file vtkHexahedron.h.

static int* vtkHexahedron::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* vtkHexahedron::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 vtkHexahedron::JacobianInverse ( double  pcoords[3],
double **  inverse,
double  derivs[24] 
)

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

Member Data Documentation

vtkLine* vtkHexahedron::Line
protected

Definition at line 121 of file vtkHexahedron.h.

vtkQuad* vtkHexahedron::Quad
protected

Definition at line 122 of file vtkHexahedron.h.


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