Documentation for vtkTetra

vtkTetra - a 3D cell that represents a tetrahedron

Super Class: vtkCell

Description:

vtkTetra is a concrete implementation of vtkCell to represent a 3D tetrahedron.

 

Methods:

void vtkTetra ()
void vtkTetra ()
static vtkTetra *New ()
const char *GetClassName ()
vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)
int CellBoundary (int ,float ,vtkIdList *)
void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )
int GetParametricCenter (float )
static void TetraCenter (float ,float ,float ,float ,float )
static float Circumsphere (float ,float ,float ,float ,float )
static int BarycentricCoords (float ,float ,float ,float ,float ,float )
int JacobianInverse (double ,float )
static void InterpolationFunctions (float ,float )
static void InterpolationDerivs (float )
int CellBoundary (int ,float ,vtkIdList &)
int Triangulate (int ,vtkIdList & ,vtkPoints &)

 

Detailed Method Descriptions:

See the vtkCell API for descriptions of these methods.

vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)

Returns the set of points that are on the boundary of the tetrahedron that are closest parametrically to the point specified. This may include faces, edges, or vertices.

int CellBoundary (int ,float ,vtkIdList *)

Clip this tetra using scalar value provided. Like contouring, except that it cuts the tetra to produce other tetrahedra.

void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )

Return the center of the triangle in parametric coordinates.

int GetParametricCenter (float )

Compute the center of the tetrahedron,

static void TetraCenter (float ,float ,float ,float ,float )

Compute the circumcenter (center[3]) and radius (method return value) of a tetrahedron defined by the four points x1, x2, x3, and x4.

static float Circumsphere (float ,float ,float ,float ,float )

Given a 3D point x[3], determine the barycentric coordinates of the point. Barycentric coordinates are a natural coordinate system for simplices that express a position as a linear combination of the vertices. For a tetrahedron, there are four barycentric coordinates (because there are four vertices), and the sum of the coordinates must equal 1. If a point x is inside a simplex, then all four coordinates will be strictly positive. If three coordinates are zero (so the fourth =1), then the point x is on a vertex. If two coordinates are zero, the point x is on an edge (and so on). In this method, you must specify the vertex coordinates x1->x4. Returns 0 if tetrahedron is degenerate.

static int BarycentricCoords (float ,float ,float ,float ,float ,float )

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

int JacobianInverse (double ,float )

Tetra specific methods.

static void InterpolationFunctions (float ,float )
static void InterpolationDerivs (float )

For legacy compatibility. Do not use.

int CellBoundary (int ,float ,vtkIdList &)