VTK
|
a cell that represents a linear 3D hexahedron More...
#include <vtkHexahedron.h>
Inherits vtkCell3D.
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 vtkHexahedron * | New () |
static int | IsTypeOf (const char *type) |
static vtkHexahedron * | SafeDownCast (vtkObject *o) |
static int * | GetEdgeArray (int edgeId) |
static int * | GetFaceArray (int faceId) |
Protected Member Functions | |
vtkHexahedron () | |
~vtkHexahedron () | |
Protected Attributes | |
vtkLine * | Line |
vtkQuad * | Quad |
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]) |
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).
Definition at line 45 of file vtkHexahedron.h.
typedef vtkCell3D vtkHexahedron::Superclass |
Definition at line 49 of file vtkHexahedron.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkHexahedron::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
See vtkCell3D API for description of these methods.
|
virtual |
See vtkCell3D API for description of these methods.
|
inline |
See the vtkCell API for descriptions of these methods.
Definition at line 60 of file vtkHexahedron.h.
|
inline |
See the vtkCell API for descriptions of these methods.
Definition at line 61 of file vtkHexahedron.h.
|
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 | ||
) |
void vtkHexahedron::Derivatives | ( | int | subId, |
double | pcoords[3], | ||
double * | values, | ||
int | dim, | ||
double * | derivs | ||
) |
|
virtual |
|
static |
|
static |
|
inlinevirtual |
Definition at line 95 of file vtkHexahedron.h.
|
inlinevirtual |
Definition at line 99 of file vtkHexahedron.h.
|
static |
Return the ids of the vertices defining edge/face (edgeId
/`faceId'). Ids are related to the cell, not to the dataset.
|
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.
|
protected |
Definition at line 121 of file vtkHexahedron.h.
|
protected |
Definition at line 122 of file vtkHexahedron.h.