provides thread-safe access to cells
More...
#include <vtkGenericCell.h>
Inherits vtkCell.
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
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) |
|
vtkIdType * | GetFaces () |
|
int | GetNumberOfEdges () |
|
int | GetNumberOfFaces () |
|
vtkCell * | GetEdge (int edgeId) |
|
vtkCell * | GetFace (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]) |
|
double * | GetParametricCoords () |
|
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 () |
|
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.
vtkGenericCell::vtkGenericCell |
( |
| ) |
|
|
protected |
vtkGenericCell::~vtkGenericCell |
( |
| ) |
|
|
protected |
Create handle to any type of cell; by default a vtkEmptyCell.
virtual const char* vtkGenericCell::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkGenericCell::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkGenericCell::IsA |
( |
const char * |
type | ) |
|
|
virtual |
void vtkGenericCell::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkGenericCell::ShallowCopy |
( |
vtkCell * |
c | ) |
|
See the vtkCell API for descriptions of these methods.
void vtkGenericCell::DeepCopy |
( |
vtkCell * |
c | ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::GetCellType |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::GetCellDimension |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::IsLinear |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::RequiresInitialization |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
void vtkGenericCell::Initialize |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::RequiresExplicitFaceRepresentation |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
void vtkGenericCell::SetFaces |
( |
vtkIdType * |
faces | ) |
|
See the vtkCell API for descriptions of these methods.
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::GetNumberOfEdges |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::GetNumberOfFaces |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
vtkCell* vtkGenericCell::GetEdge |
( |
int |
edgeId | ) |
|
See the vtkCell API for descriptions of these methods.
vtkCell* vtkGenericCell::GetFace |
( |
int |
faceId | ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::CellBoundary |
( |
int |
subId, |
|
|
double |
pcoords[3], |
|
|
vtkIdList * |
pts |
|
) |
| |
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::EvaluatePosition |
( |
double |
x[3], |
|
|
double * |
closestPoint, |
|
|
int & |
subId, |
|
|
double |
pcoords[3], |
|
|
double & |
dist2, |
|
|
double * |
weights |
|
) |
| |
See the vtkCell API for descriptions of these methods.
void vtkGenericCell::EvaluateLocation |
( |
int & |
subId, |
|
|
double |
pcoords[3], |
|
|
double |
x[3], |
|
|
double * |
weights |
|
) |
| |
See the vtkCell API for descriptions of these methods.
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 |
|
) |
| |
See the vtkCell API for descriptions of these methods.
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::IntersectWithLine |
( |
double |
p1[3], |
|
|
double |
p2[3], |
|
|
double |
tol, |
|
|
double & |
t, |
|
|
double |
x[3], |
|
|
double |
pcoords[3], |
|
|
int & |
subId |
|
) |
| |
See the vtkCell API for descriptions of these methods.
See the vtkCell API for descriptions of these methods.
void vtkGenericCell::Derivatives |
( |
int |
subId, |
|
|
double |
pcoords[3], |
|
|
double * |
values, |
|
|
int |
dim, |
|
|
double * |
derivs |
|
) |
| |
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::GetParametricCenter |
( |
double |
pcoords[3] | ) |
|
See the vtkCell API for descriptions of these methods.
double* vtkGenericCell::GetParametricCoords |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
int vtkGenericCell::IsPrimaryCell |
( |
| ) |
|
See the vtkCell API for descriptions of these methods.
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.
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 102 of file vtkGenericCell.h.
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 103 of file vtkGenericCell.h.
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 104 of file vtkGenericCell.h.
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 105 of file vtkGenericCell.h.
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 106 of file vtkGenericCell.h.
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 107 of file vtkGenericCell.h.
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 108 of file vtkGenericCell.h.
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 109 of file vtkGenericCell.h.
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 110 of file vtkGenericCell.h.
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 111 of file vtkGenericCell.h.
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 112 of file vtkGenericCell.h.
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 113 of file vtkGenericCell.h.
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 114 of file vtkGenericCell.h.
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 115 of file vtkGenericCell.h.
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 116 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToPentagonalPrism |
( |
| ) |
|
|
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 117 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToHexagonalPrism |
( |
| ) |
|
|
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 118 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToPolyhedron |
( |
| ) |
|
|
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 119 of file vtkGenericCell.h.
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 120 of file vtkGenericCell.h.
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 121 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToCubicLine |
( |
| ) |
|
|
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 122 of file vtkGenericCell.h.
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 123 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToBiQuadraticTriangle |
( |
| ) |
|
|
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 124 of file vtkGenericCell.h.
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 125 of file vtkGenericCell.h.
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 126 of file vtkGenericCell.h.
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 127 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToQuadraticWedge |
( |
| ) |
|
|
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 128 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToQuadraticPyramid |
( |
| ) |
|
|
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 129 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToQuadraticLinearQuad |
( |
| ) |
|
|
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 130 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToBiQuadraticQuad |
( |
| ) |
|
|
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 131 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToQuadraticLinearWedge |
( |
| ) |
|
|
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 132 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToBiQuadraticQuadraticWedge |
( |
| ) |
|
|
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 133 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToTriQuadraticHexahedron |
( |
| ) |
|
|
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 135 of file vtkGenericCell.h.
void vtkGenericCell::SetCellTypeToBiQuadraticQuadraticHexahedron |
( |
| ) |
|
|
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 137 of file vtkGenericCell.h.
static vtkCell* vtkGenericCell::InstantiateCell |
( |
int |
cellType | ) |
|
|
static |
Instantiate a new vtkCell based on it's cell type value
vtkCell* vtkGenericCell::Cell |
|
protected |
The documentation for this class was generated from the following file: