VTK
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>

Inherits vtkNonLinearCell.

Collaboration diagram for vtkQuadraticEdge:
[legend]

Public Types

typedef vtkNonLinearCell Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
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)
 

Static Public Member Functions

static vtkQuadraticEdgeNew ()
 
static int IsTypeOf (const char *type)
 
static vtkQuadraticEdgeSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkQuadraticEdge ()
 
 ~vtkQuadraticEdge ()
 

Protected Attributes

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

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 41 of file vtkQuadraticEdge.h.

Member Typedef Documentation

typedef vtkNonLinearCell vtkQuadraticEdge::Superclass

Definition at line 45 of file vtkQuadraticEdge.h.

Constructor & Destructor Documentation

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

Member Function Documentation

static vtkQuadraticEdge* vtkQuadraticEdge::New ( )
static
virtual const char* vtkQuadraticEdge::GetClassName ( )
virtual
static int vtkQuadraticEdge::IsTypeOf ( const char *  type)
static
virtual int vtkQuadraticEdge::IsA ( const char *  type)
virtual
static vtkQuadraticEdge* vtkQuadraticEdge::SafeDownCast ( vtkObject o)
static
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 51 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetCellDimension ( )
inline

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

Definition at line 52 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetNumberOfEdges ( )
inline

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

Definition at line 53 of file vtkQuadraticEdge.h.

int vtkQuadraticEdge::GetNumberOfFaces ( )
inline

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

Definition at line 54 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 55 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 56 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
Deprecated:
Replaced by vtkQuadraticEdge::InterpolateFunctions as of VTK 5.2

Definition at line 105 of file vtkQuadraticEdge.h.

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

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: