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

a 3D cell that represents a prism with pentagonal base More...

#include <vtkPentagonalPrism.h>

Inherits vtkCell3D.

Collaboration diagram for vtkPentagonalPrism:
[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)
 
double * GetParametricCoords ()
 
int GetParametricCenter (double pcoords[3])
 
void JacobianInverse (double pcoords[3], double **inverse, double derivs[30])
 
virtual void GetEdgePoints (int edgeId, int *&pts)
 
virtual void GetFacePoints (int faceId, int *&pts)
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int faceId)
 
int CellBoundary (int subId, double pcoords[3], vtkIdList *pts)
 

Static Public Member Functions

static vtkPentagonalPrismNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPentagonalPrismSafeDownCast (vtkObject *o)
 
static int * GetEdgeArray (int edgeId)
 
static int * GetFaceArray (int faceId)
 

Protected Member Functions

 vtkPentagonalPrism ()
 
 ~vtkPentagonalPrism ()
 

Protected Attributes

vtkLineLine
 
vtkQuadQuad
 
vtkPolygonPolygon
 
vtkTriangleTriangle
 
static void InterpolationFunctions (double pcoords[3], double weights[10])
 
static void InterpolationDerivs (double pcoords[3], double derivs[30])
 
virtual void InterpolateFunctions (double pcoords[3], double weights[10])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[30])
 

Detailed Description

a 3D cell that represents a prism with pentagonal base

vtkPentagonalPrism is a concrete implementation of vtkCell to represent a linear 3D prism with pentagonal base. Such prism is defined by the ten points (0-9) where (0,1,2,3,4) is the base of the prism which, using the right hand rule, forms a pentagon whose normal points is in the direction of the opposite face (5,6,7,8,9).

Thanks:
Thanks to Philippe Guerville who developed this class. Thanks to Charles Pignerol (CEA-DAM, France) who ported this class under VTK 4.
Thanks to Jean Favre (CSCS, Switzerland) who contributed to integrate this class in VTK.
Please address all comments to Jean Favre (jfavre at cscs.ch).
Tests:
vtkPentagonalPrism (Tests)

Definition at line 47 of file vtkPentagonalPrism.h.

Member Typedef Documentation

typedef vtkCell3D vtkPentagonalPrism::Superclass

Definition at line 51 of file vtkPentagonalPrism.h.

Constructor & Destructor Documentation

vtkPentagonalPrism::vtkPentagonalPrism ( )
protected
vtkPentagonalPrism::~vtkPentagonalPrism ( )
protected

Member Function Documentation

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

See vtkCell3D API for description of these methods.

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

See vtkCell3D API for description of these methods.

int vtkPentagonalPrism::GetCellType ( )
inline

See the vtkCell3D API for descriptions of these methods.

Definition at line 62 of file vtkPentagonalPrism.h.

int vtkPentagonalPrism::GetCellDimension ( )
inline

See the vtkCell3D API for descriptions of these methods.

Definition at line 63 of file vtkPentagonalPrism.h.

int vtkPentagonalPrism::GetNumberOfEdges ( )
inline

See the vtkCell3D API for descriptions of these methods.

Definition at line 64 of file vtkPentagonalPrism.h.

int vtkPentagonalPrism::GetNumberOfFaces ( )
inline

See the vtkCell3D API for descriptions of these methods.

Definition at line 65 of file vtkPentagonalPrism.h.

vtkCell* vtkPentagonalPrism::GetEdge ( int  edgeId)

See the vtkCell3D API for descriptions of these methods.

vtkCell* vtkPentagonalPrism::GetFace ( int  faceId)

See the vtkCell3D API for descriptions of these methods.

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

See the vtkCell3D API for descriptions of these methods.

int vtkPentagonalPrism::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)
void vtkPentagonalPrism::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)
int vtkPentagonalPrism::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)
int vtkPentagonalPrism::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
)
void vtkPentagonalPrism::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
double* vtkPentagonalPrism::GetParametricCoords ( )
int vtkPentagonalPrism::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the wedge in parametric coordinates.

Definition at line 133 of file vtkPentagonalPrism.h.

static void vtkPentagonalPrism::InterpolationFunctions ( double  pcoords[3],
double  weights[10] 
)
static
static void vtkPentagonalPrism::InterpolationDerivs ( double  pcoords[3],
double  derivs[30] 
)
static
virtual void vtkPentagonalPrism::InterpolateFunctions ( double  pcoords[3],
double  weights[10] 
)
inlinevirtual
Deprecated:
Replaced by vtkPentagonalPrism::InterpolateFunctions as of VTK 5.2

Definition at line 96 of file vtkPentagonalPrism.h.

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

Definition at line 100 of file vtkPentagonalPrism.h.

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

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

Member Data Documentation

vtkLine* vtkPentagonalPrism::Line
protected

Definition at line 122 of file vtkPentagonalPrism.h.

vtkQuad* vtkPentagonalPrism::Quad
protected

Definition at line 123 of file vtkPentagonalPrism.h.

vtkPolygon* vtkPentagonalPrism::Polygon
protected

Definition at line 124 of file vtkPentagonalPrism.h.

vtkTriangle* vtkPentagonalPrism::Triangle
protected

Definition at line 125 of file vtkPentagonalPrism.h.


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