VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkNonLinearCell Class Reference

abstract superclass for non-linear cells More...

#include <vtkNonLinearCell.h>

Inheritance diagram for vtkNonLinearCell:
Inheritance graph
[legend]
Collaboration diagram for vtkNonLinearCell:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkCell Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkNonLinearCellNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsLinear ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkNonLinearCellSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkNonLinearCell ()
 ~vtkNonLinearCell ()

Detailed Description

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 35 of file vtkNonLinearCell.h.


Member Typedef Documentation


Constructor & Destructor Documentation

vtkNonLinearCell::~vtkNonLinearCell ( ) [inline, protected]

Definition at line 48 of file vtkNonLinearCell.h.


Member Function Documentation

static int vtkNonLinearCell::IsTypeOf ( const char *  name) [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 int vtkNonLinearCell::IsA ( const char *  name) [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.

virtual vtkObjectBase* vtkNonLinearCell::NewInstanceInternal ( ) const [protected, virtual]
void vtkNonLinearCell::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [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.

virtual int vtkNonLinearCell::IsLinear ( ) [inline, virtual]

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 44 of file vtkNonLinearCell.h.


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