VTK
|
provides thread-safe access to cells More...
#include <vtkGenericCell.h>
Inherits vtkCell.
Public Types | |
typedef vtkCell | Superclass |
Public Member Functions | |
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 () |
Static Public Member Functions | |
static vtkGenericCell * | New () |
static int | IsTypeOf (const char *type) |
static vtkGenericCell * | SafeDownCast (vtkObject *o) |
static vtkCell * | InstantiateCell (int cellType) |
Protected Member Functions | |
vtkGenericCell () | |
~vtkGenericCell () | |
Protected Attributes | |
vtkCell * | Cell |
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.
Definition at line 37 of file vtkGenericCell.h.
typedef vtkCell vtkGenericCell::Superclass |
Definition at line 43 of file vtkGenericCell.h.
|
protected |
|
protected |
|
static |
Create handle to any type of cell; by default a vtkEmptyCell.
|
virtual |
|
static |
|
virtual |
|
static |
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.
vtkIdType* vtkGenericCell::GetFaces | ( | ) |
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.
void vtkGenericCell::Clip | ( | double | value, |
vtkDataArray * | cellScalars, | ||
vtkIncrementalPointLocator * | locator, | ||
vtkCellArray * | connectivity, | ||
vtkPointData * | inPd, | ||
vtkPointData * | outPd, | ||
vtkCellData * | inCd, | ||
vtkIdType | cellId, | ||
vtkCellData * | outCd, | ||
int | insideOut | ||
) |
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 |
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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 |
Instantiate a new vtkCell based on it's cell type value
|
protected |
Definition at line 148 of file vtkGenericCell.h.