VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkQuadraticEdge Class Reference

cell represents a parabolic, isoparametric edge More...

#include <vtkQuadraticEdge.h>

Inheritance diagram for vtkQuadraticEdge:
[legend]
Collaboration diagram for vtkQuadraticEdge:
[legend]

Public Types

typedef vtkNonLinearCell Superclass
 
- Public Types inherited from vtkNonLinearCell
typedef vtkCell Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkQuadraticEdgeNewInstance () const
 
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 ()
 
int GetParametricCenter (double pcoords[3])
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int)
 
vtkCell * GetFace (int)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *lines, 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)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[3])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[3])
 
- Public Member Functions inherited from vtkNonLinearCell
vtkNonLinearCellNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLinear ()
 

Static Public Member Functions

static vtkQuadraticEdgeNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticEdgeSafeDownCast (vtkObjectBase *o)
 
static void InterpolationFunctions (double pcoords[3], double weights[3])
 
static void InterpolationDerivs (double pcoords[3], double derivs[3])
 
- Static Public Member Functions inherited from vtkNonLinearCell
static int IsTypeOf (const char *type)
 
static vtkNonLinearCellSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkQuadraticEdge ()
 
 ~vtkQuadraticEdge ()
 
- Protected Member Functions inherited from vtkNonLinearCell
 vtkNonLinearCell ()
 
 ~vtkNonLinearCell ()
 

Protected Attributes

vtkLine * Line
 
vtkDoubleArray * Scalars
 

Detailed Description

cell represents a parabolic, isoparametric edge

vtkQuadraticEdge is a concrete implementation of vtkNonLinearCell to represent a one-dimensional, 3-nodes, isoparametric parabolic line. The interpolation is the standard finite element, quadratic isoparametric shape function. The cell includes a mid-edge node. The ordering of the three points defining the cell is point ids (0,1,2) where id #2 is the midedge node.

See Also
vtkQuadraticTriangle vtkQuadraticTetra vtkQuadraticWedge vtkQuadraticQuad vtkQuadraticHexahedron vtkQuadraticPyramid
Tests:
vtkQuadraticEdge (Tests)

Definition at line 42 of file vtkQuadraticEdge.h.

Member Typedef Documentation

Definition at line 46 of file vtkQuadraticEdge.h.

Constructor & Destructor Documentation

vtkQuadraticEdge::vtkQuadraticEdge ( )
protected
vtkQuadraticEdge::~vtkQuadraticEdge ( )
protected

Member Function Documentation

static vtkQuadraticEdge* vtkQuadraticEdge::New ( )
static
static int vtkQuadraticEdge::IsTypeOf ( const char *  type)
static
virtual int vtkQuadraticEdge::IsA ( const char *  type)
virtual

Reimplemented from vtkNonLinearCell.

static vtkQuadraticEdge* vtkQuadraticEdge::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkQuadraticEdge::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkNonLinearCell.

vtkQuadraticEdge* vtkQuadraticEdge::NewInstance ( ) const
void vtkQuadraticEdge::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkQuadraticEdge::GetCellType ( )
inline

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

Definition at line 52 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetCellDimension ( )
inline

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

Definition at line 53 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetNumberOfEdges ( )
inline

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

Definition at line 54 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetNumberOfFaces ( )
inline

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

Definition at line 55 of file vtkQuadraticEdge.h.

vtkCell* vtkQuadraticEdge::GetEdge ( int  )
inline

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

Definition at line 56 of file vtkQuadraticEdge.h.

vtkCell* vtkQuadraticEdge::GetFace ( int  )
inline

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

Definition at line 57 of file vtkQuadraticEdge.h.

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

Clip this edge using scalar value provided. Like contouring, except that it cuts the edge to produce linear line segments.

int vtkQuadraticEdge::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.

int vtkQuadraticEdge::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the quadratic tetra in parametric coordinates.

Definition at line 127 of file vtkQuadraticEdge.h.

static void vtkQuadraticEdge::InterpolationFunctions ( double  pcoords[3],
double  weights[3] 
)
static
static void vtkQuadraticEdge::InterpolationDerivs ( double  pcoords[3],
double  derivs[3] 
)
static
virtual void vtkQuadraticEdge::InterpolateFunctions ( double  pcoords[3],
double  weights[3] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 105 of file vtkQuadraticEdge.h.

virtual void vtkQuadraticEdge::InterpolateDerivs ( double  pcoords[3],
double  derivs[3] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 109 of file vtkQuadraticEdge.h.

Member Data Documentation

vtkLine* vtkQuadraticEdge::Line
protected

Definition at line 119 of file vtkQuadraticEdge.h.

vtkDoubleArray* vtkQuadraticEdge::Scalars
protected

Definition at line 120 of file vtkQuadraticEdge.h.


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