VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGenericCell Class Reference

provides thread-safe access to cells More...

#include <vtkGenericCell.h>

Inheritance diagram for vtkGenericCell:
Inheritance graph
[legend]
Collaboration diagram for vtkGenericCell:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkCell Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGenericCellNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void ShallowCopy (vtkCell *c)
void DeepCopy (vtkCell *c)
int GetCellType ()
int GetCellDimension ()
int IsLinear ()
int RequiresInitialization ()
void Initialize ()
int RequiresExplicitFaceRepresentation ()
void SetFaces (vtkIdType *faces)
vtkIdTypeGetFaces ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCellGetEdge (int edgeId)
vtkCellGetFace (int faceId)
int CellBoundary (int subId, double pcoords[3], vtkIdList *pts)
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)
void Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, 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)
int Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
int GetParametricCenter (double pcoords[3])
doubleGetParametricCoords ()
int IsPrimaryCell ()
virtual void InterpolateFunctions (double pcoords[3], double *weights)
virtual void InterpolateDerivs (double pcoords[3], double *derivs)
void SetCellType (int cellType)
void SetCellTypeToEmptyCell ()
void SetCellTypeToVertex ()
void SetCellTypeToPolyVertex ()
void SetCellTypeToLine ()
void SetCellTypeToPolyLine ()
void SetCellTypeToTriangle ()
void SetCellTypeToTriangleStrip ()
void SetCellTypeToPolygon ()
void SetCellTypeToPixel ()
void SetCellTypeToQuad ()
void SetCellTypeToTetra ()
void SetCellTypeToVoxel ()
void SetCellTypeToHexahedron ()
void SetCellTypeToWedge ()
void SetCellTypeToPyramid ()
void SetCellTypeToPentagonalPrism ()
void SetCellTypeToHexagonalPrism ()
void SetCellTypeToPolyhedron ()
void SetCellTypeToConvexPointSet ()
void SetCellTypeToQuadraticEdge ()
void SetCellTypeToCubicLine ()
void SetCellTypeToQuadraticTriangle ()
void SetCellTypeToBiQuadraticTriangle ()
void SetCellTypeToQuadraticQuad ()
void SetCellTypeToQuadraticTetra ()
void SetCellTypeToQuadraticHexahedron ()
void SetCellTypeToQuadraticWedge ()
void SetCellTypeToQuadraticPyramid ()
void SetCellTypeToQuadraticLinearQuad ()
void SetCellTypeToBiQuadraticQuad ()
void SetCellTypeToQuadraticLinearWedge ()
void SetCellTypeToBiQuadraticQuadraticWedge ()
void SetCellTypeToTriQuadraticHexahedron ()
void SetCellTypeToBiQuadraticQuadraticHexahedron ()

Static Public Member Functions

static vtkGenericCellNew ()
static int IsTypeOf (const char *type)
static vtkGenericCellSafeDownCast (vtkObjectBase *o)
static vtkCellInstantiateCell (int cellType)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGenericCell ()
 ~vtkGenericCell ()

Protected Attributes

vtkCellCell

Detailed Description

provides thread-safe access to cells

vtkGenericCell is a class that provides access to concrete types of cells. It's main purpose is to allow thread-safe access to cells, supporting the vtkDataSet::GetCell(vtkGenericCell *) method. vtkGenericCell acts like any type of cell, it just dereferences an internal representation. The SetCellType() methods use #define constants; these are defined in the file vtkCellType.h.

See also:
vtkCell vtkDataSet
Tests:
vtkGenericCell (Tests)

Definition at line 38 of file vtkGenericCell.h.


Member Typedef Documentation

Reimplemented from vtkCell.

Definition at line 44 of file vtkGenericCell.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkGenericCell* vtkGenericCell::New ( ) [static]

Create handle to any type of cell; by default a vtkEmptyCell.

Reimplemented from vtkObject.

static int vtkGenericCell::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCell.

virtual int vtkGenericCell::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCell.

Reimplemented from vtkCell.

virtual vtkObjectBase* vtkGenericCell::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkCell.

Reimplemented from vtkCell.

void vtkGenericCell::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkCell.

void vtkGenericCell::ShallowCopy ( vtkCell c) [virtual]

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

void vtkGenericCell::DeepCopy ( vtkCell c) [virtual]

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

void vtkGenericCell::Initialize ( ) [virtual]

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

vtkCell* vtkGenericCell::GetEdge ( int  edgeId) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

vtkCell* vtkGenericCell::GetFace ( int  faceId) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

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

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::EvaluatePosition ( double  x[3],
double closestPoint,
int subId,
double  pcoords[3],
double dist2,
double weights 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

void vtkGenericCell::EvaluateLocation ( int subId,
double  pcoords[3],
double  x[3],
double weights 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

void vtkGenericCell::Contour ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

void vtkGenericCell::Clip ( double  value,
vtkDataArray cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray connectivity,
vtkPointData inPd,
vtkPointData outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd,
int  insideOut 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double t,
double  x[3],
double  pcoords[3],
int subId 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::Triangulate ( int  index,
vtkIdList ptIds,
vtkPoints pts 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

void vtkGenericCell::Derivatives ( int  subId,
double  pcoords[3],
double values,
int  dim,
double derivs 
) [virtual]

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::GetParametricCenter ( double  pcoords[3]) [virtual]

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

virtual void vtkGenericCell::InterpolateFunctions ( double  pcoords[3],
double weights 
) [virtual]

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

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

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

void vtkGenericCell::SetCellType ( int  cellType)

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 103 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 104 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 105 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 106 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 107 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 108 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 109 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 110 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 111 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 112 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 113 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 114 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 115 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 116 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 117 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 118 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 119 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 120 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 121 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 122 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 123 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 124 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 125 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 126 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 127 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 128 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 129 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 130 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 131 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 132 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 133 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 134 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 136 of file vtkGenericCell.h.

This method is used to support the vtkDataSet::GetCell(vtkGenericCell ) method. It allows vtkGenericCell to act like any cell type by dereferencing an internal instance of a concrete cell type. When you set the cell type, you are resetting a pointer to an internal cell which is then used for computation.

Definition at line 138 of file vtkGenericCell.h.

static vtkCell* vtkGenericCell::InstantiateCell ( int  cellType) [static]

Instantiate a new vtkCell based on it's cell type value


Member Data Documentation

Definition at line 149 of file vtkGenericCell.h.


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