VTK
|
provides thread-safe access to cells More...
#include <vtkGenericCell.h>
Public Types | |
typedef vtkCell | Superclass |
Public Types inherited from vtkCell | |
typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGenericCell * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetPoints (vtkPoints *points) |
void | SetPointIds (vtkIdList *pointIds) |
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 | SetCellTypeToQuadraticPolygon () |
void | SetCellTypeToQuadraticTetra () |
void | SetCellTypeToQuadraticHexahedron () |
void | SetCellTypeToQuadraticWedge () |
void | SetCellTypeToQuadraticPyramid () |
void | SetCellTypeToQuadraticLinearQuad () |
void | SetCellTypeToBiQuadraticQuad () |
void | SetCellTypeToQuadraticLinearWedge () |
void | SetCellTypeToBiQuadraticQuadraticWedge () |
void | SetCellTypeToTriQuadraticHexahedron () |
void | SetCellTypeToBiQuadraticQuadraticHexahedron () |
Public Member Functions inherited from vtkCell | |
vtkCell * | NewInstance () const |
void | Initialize (int npts, vtkIdType *pts, vtkPoints *p) |
virtual int | IsExplicitCell () |
vtkPoints * | GetPoints () |
vtkIdType | GetNumberOfPoints () |
vtkIdList * | GetPointIds () |
vtkIdType | GetPointId (int ptId) |
void | GetBounds (double bounds[6]) |
double * | GetBounds () |
double | GetLength2 () |
virtual double | GetParametricDistance (double pcoords[3]) |
virtual void | SetFaces (vtkIdType *vtkNotUsed(faces)) |
virtual void | InterpolateFunctions (double vtkNotUsed(pcoords)[3], double *vtkNotUsed(weight)) |
virtual void | InterpolateDerivs (double vtkNotUsed(pcoords)[3], double *vtkNotUsed(derivs)) |
Public Member Functions inherited from vtkObject | |
vtkObject * | NewInstance () const |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkGenericCell * | New () |
static int | IsTypeOf (const char *type) |
static vtkGenericCell * | SafeDownCast (vtkObjectBase *o) |
static vtkCell * | InstantiateCell (int cellType) |
Static Public Member Functions inherited from vtkCell | |
static int | IsTypeOf (const char *type) |
static vtkCell * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGenericCell () | |
~vtkGenericCell () | |
Protected Member Functions inherited from vtkCell | |
vtkCell () | |
~vtkCell () | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkCell * | Cell |
Protected Attributes inherited from vtkCell | |
double | Bounds [6] |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Public Attributes inherited from vtkCell | |
vtkPoints * | Points |
vtkIdList * | PointIds |
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 38 of file vtkGenericCell.h.
typedef vtkCell vtkGenericCell::Superclass |
Definition at line 44 of file vtkGenericCell.h.
|
protected |
|
protected |
|
static |
Create handle to any type of cell; by default a vtkEmptyCell.
|
static |
|
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.
|
static |
|
protectedvirtual |
Reimplemented from vtkCell.
vtkGenericCell* vtkGenericCell::NewInstance | ( | ) | const |
|
virtual |
void vtkGenericCell::SetPoints | ( | vtkPoints * | points | ) |
Set the points object to use for this cell. This updates the internal cell storage as well as the public member variable Points.
void vtkGenericCell::SetPointIds | ( | vtkIdList * | pointIds | ) |
Set the point ids to use for this cell. This updates the internal cell storage as well as the public member variable PointIds.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void vtkGenericCell::SetFaces | ( | vtkIdType * | faces | ) |
See the vtkCell API for descriptions of these methods.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
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 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 134 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 136 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.
|
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 138 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 139 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 140 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 141 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 142 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 143 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 145 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 147 of file vtkGenericCell.h.
Instantiate a new vtkCell based on it's cell type value
|
protected |
Definition at line 158 of file vtkGenericCell.h.