Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkGenericCell Class Reference

#include <vtkGenericCell.h>

Inheritance diagram for vtkGenericCell:

Inheritance graph
[legend]
Collaboration diagram for vtkGenericCell:

Collaboration graph
[legend]
List of all members.

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 37 of file vtkGenericCell.h.

Public Types

typedef vtkCell Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void ShallowCopy (vtkCell *c)
void DeepCopy (vtkCell *c)
int GetCellType ()
int GetCellDimension ()
int IsLinear ()
int RequiresInitialization ()
void Initialize ()
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, vtkPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
void Clip (double value, vtkDataArray *cellScalars, vtkPointLocator *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])
double * GetParametricCoords ()
int IsPrimaryCell ()
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 SetCellTypeToConvexPointSet ()
void SetCellTypeToQuadraticEdge ()
void SetCellTypeToQuadraticTriangle ()
void SetCellTypeToQuadraticQuad ()
void SetCellTypeToQuadraticTetra ()
void SetCellTypeToQuadraticHexahedron ()

Static Public Member Functions

vtkGenericCellNew ()
int IsTypeOf (const char *type)
vtkGenericCellSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGenericCell ()
 ~vtkGenericCell ()

Protected Attributes

vtkCellCell


Member Typedef Documentation

typedef vtkCell vtkGenericCell::Superclass
 

Reimplemented from vtkCell.

Definition at line 43 of file vtkGenericCell.h.


Constructor & Destructor Documentation

vtkGenericCell::vtkGenericCell  )  [protected]
 

vtkGenericCell::~vtkGenericCell  )  [protected]
 


Member Function Documentation

vtkGenericCell* vtkGenericCell::New  )  [static]
 

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

Reimplemented from vtkObject.

virtual const char* vtkGenericCell::GetClassName  )  [virtual]
 

Reimplemented from vtkCell.

int vtkGenericCell::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkCell.

virtual int vtkGenericCell::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkCell.

vtkGenericCell* vtkGenericCell::SafeDownCast vtkObject o  )  [static]
 

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.

int vtkGenericCell::GetCellType  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::GetCellDimension  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::IsLinear  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

int vtkGenericCell::RequiresInitialization  )  [virtual]
 

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.

int vtkGenericCell::GetNumberOfEdges  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Implements vtkCell.

int vtkGenericCell::GetNumberOfFaces  )  [virtual]
 

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,
vtkPointLocator 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,
vtkPointLocator 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.

double* vtkGenericCell::GetParametricCoords  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

int vtkGenericCell::IsPrimaryCell  )  [virtual]
 

See the vtkCell API for descriptions of these methods.

Reimplemented from vtkCell.

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.

void vtkGenericCell::SetCellTypeToEmptyCell  )  [inline]
 

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 91 of file vtkGenericCell.h.

References VTK_EMPTY_CELL.

void vtkGenericCell::SetCellTypeToVertex  )  [inline]
 

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 92 of file vtkGenericCell.h.

References VTK_VERTEX.

void vtkGenericCell::SetCellTypeToPolyVertex  )  [inline]
 

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 93 of file vtkGenericCell.h.

References VTK_POLY_VERTEX.

void vtkGenericCell::SetCellTypeToLine  )  [inline]
 

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 94 of file vtkGenericCell.h.

References VTK_LINE.

void vtkGenericCell::SetCellTypeToPolyLine  )  [inline]
 

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 95 of file vtkGenericCell.h.

References VTK_POLY_LINE.

void vtkGenericCell::SetCellTypeToTriangle  )  [inline]
 

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 96 of file vtkGenericCell.h.

References VTK_TRIANGLE.

void vtkGenericCell::SetCellTypeToTriangleStrip  )  [inline]
 

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 97 of file vtkGenericCell.h.

References VTK_TRIANGLE_STRIP.

void vtkGenericCell::SetCellTypeToPolygon  )  [inline]
 

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 98 of file vtkGenericCell.h.

References VTK_POLYGON.

void vtkGenericCell::SetCellTypeToPixel  )  [inline]
 

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 99 of file vtkGenericCell.h.

References VTK_PIXEL.

void vtkGenericCell::SetCellTypeToQuad  )  [inline]
 

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 100 of file vtkGenericCell.h.

References VTK_QUAD.

void vtkGenericCell::SetCellTypeToTetra  )  [inline]
 

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 101 of file vtkGenericCell.h.

References VTK_TETRA.

void vtkGenericCell::SetCellTypeToVoxel  )  [inline]
 

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 102 of file vtkGenericCell.h.

References VTK_VOXEL.

void vtkGenericCell::SetCellTypeToHexahedron  )  [inline]
 

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.

References VTK_HEXAHEDRON.

void vtkGenericCell::SetCellTypeToWedge  )  [inline]
 

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.

References VTK_WEDGE.

void vtkGenericCell::SetCellTypeToPyramid  )  [inline]
 

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.

References VTK_PYRAMID.

void vtkGenericCell::SetCellTypeToConvexPointSet  )  [inline]
 

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.

References VTK_CONVEX_POINT_SET.

void vtkGenericCell::SetCellTypeToQuadraticEdge  )  [inline]
 

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.

References VTK_QUADRATIC_EDGE.

void vtkGenericCell::SetCellTypeToQuadraticTriangle  )  [inline]
 

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.

References VTK_QUADRATIC_TRIANGLE.

void vtkGenericCell::SetCellTypeToQuadraticQuad  )  [inline]
 

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.

References VTK_QUADRATIC_QUAD.

void vtkGenericCell::SetCellTypeToQuadraticTetra  )  [inline]
 

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.

References VTK_QUADRATIC_TETRA.

void vtkGenericCell::SetCellTypeToQuadraticHexahedron  )  [inline]
 

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.

References VTK_QUADRATIC_HEXAHEDRON.


Member Data Documentation

vtkCell* vtkGenericCell::Cell [protected]
 

Definition at line 118 of file vtkGenericCell.h.


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