VTK
|
abstract superclass for non-linear cells More...
#include <vtkNonLinearCell.h>
Public Types | |
typedef vtkCell | Superclass |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsLinear () |
![]() | |
void | Initialize (int npts, vtkIdType *pts, vtkPoints *p) |
virtual void | ShallowCopy (vtkCell *c) |
virtual void | DeepCopy (vtkCell *c) |
virtual int | GetCellType ()=0 |
virtual int | GetCellDimension ()=0 |
virtual int | IsExplicitCell () |
vtkPoints * | GetPoints () |
vtkIdType | GetNumberOfPoints () |
virtual int | GetNumberOfEdges ()=0 |
virtual int | GetNumberOfFaces ()=0 |
vtkIdList * | GetPointIds () |
vtkIdType | GetPointId (int ptId) |
virtual vtkCell * | GetEdge (int edgeId)=0 |
virtual vtkCell * | GetFace (int faceId)=0 |
virtual int | CellBoundary (int subId, double pcoords[3], vtkIdList *pts)=0 |
virtual int | Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)=0 |
void | GetBounds (double bounds[6]) |
double * | GetBounds () |
double | GetLength2 () |
virtual int | GetParametricCenter (double pcoords[3]) |
virtual double | GetParametricDistance (double pcoords[3]) |
virtual int | IsPrimaryCell () |
virtual double * | GetParametricCoords () |
virtual int | RequiresInitialization () |
virtual void | Initialize () |
virtual int | RequiresExplicitFaceRepresentation () |
virtual void | SetFaces (vtkIdType *vtkNotUsed(faces)) |
virtual vtkIdType * | GetFaces () |
virtual int | EvaluatePosition (double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)=0 |
virtual void | EvaluateLocation (int &subId, double pcoords[3], double x[3], double *weights)=0 |
virtual void | Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)=0 |
virtual void | Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)=0 |
virtual int | IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)=0 |
virtual void | Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)=0 |
virtual void | InterpolateFunctions (double pcoords[3], double weights[3]) |
virtual void | InterpolateDerivs (double pcoords[3], double derivs[3]) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char 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) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
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 &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkNonLinearCell * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkNonLinearCell () | |
~vtkNonLinearCell () | |
![]() | |
vtkCell () | |
~vtkCell () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
![]() | |
vtkPoints * | Points |
vtkIdList * | PointIds |
![]() | |
double | Bounds [6] |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
abstract superclass for non-linear cells
vtkNonLinearCell is an abstract superclass for non-linear cell types. Cells that are a direct subclass of vtkCell or vtkCell3D are linear; cells that are a subclass of vtkNonLinearCell have non-linear interpolation functions. Non-linear cells require special treatment when tessellating or converting to graphics primitives. Note that the linearity of the cell is a function of whether the cell needs tessellation, which does not strictly correlate with interpolation order (e.g., vtkHexahedron has non-linear interpolation functions (a product of three linear functions in r-s-t) even thought vtkHexahedron is considered linear.)
Definition at line 34 of file vtkNonLinearCell.h.
typedef vtkCell vtkNonLinearCell::Superclass |
Reimplemented from vtkCell.
Reimplemented in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
Definition at line 37 of file vtkNonLinearCell.h.
|
protected |
|
inlineprotected |
Definition at line 47 of file vtkNonLinearCell.h.
|
virtual |
Reimplemented from vtkCell.
Reimplemented in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
|
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.
Reimplemented in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
|
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 in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
|
static |
Reimplemented from vtkCell.
Reimplemented in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
|
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.
Reimplemented in vtkTriQuadraticHexahedron, vtkBiQuadraticQuadraticHexahedron, vtkBiQuadraticQuadraticWedge, vtkQuadraticLinearWedge, vtkQuadraticPyramid, vtkBiQuadraticQuad, vtkBiQuadraticTriangle, vtkQuadraticLinearQuad, vtkQuadraticWedge, vtkQuadraticHexahedron, vtkQuadraticTetra, vtkQuadraticQuad, vtkQuadraticTriangle, vtkCubicLine, vtkQuadraticEdge, and vtkExplicitCell.
|
inlinevirtual |
Non-linear cells require special treatment (tessellation) when converting to graphics primitives (during mapping). The vtkCell API IsLinear() is modified to indicate this requirement.
Reimplemented from vtkCell.
Definition at line 43 of file vtkNonLinearCell.h.