Property node that defines a tessellator. More...
#include <MeshVizXLM/mapping/nodes/MoTessellator.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoTessellator () | |
virtual void | setTessellator (MiTessellator *Tessellator) |
virtual MiTessellator * | getTessellator () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
This node stores an object implementing a tessellator interface in the scene graph.
Tessellator interfaces are used for creating an approximated graphical representation of a mesh supporting tesselation such as quadratic meshes. Representation nodes are using a basic tessellator (see MiTessellator) if no MoTessellator node is provided in the scenegraph. However, the MoMeshSurface and MoMeshLine nodes, which do not perform any extractions, require both a mandatory tessellator for proper rendering of quadratic meshes.
MiTesselator, MoMeshSurface, MoMeshLine
PEBIMeshViz, QuadraticWheelHexa27, PolyhedralIsosurface, QuadraticHexa20, QuadraticHexa27, QuadraticLine, QuadraticSkin, QuadraticSurface, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, WheelHexa8
MoTessellator::MoTessellator | ( | ) |
Constructor.
static SoType MoTessellator::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoActionNode.
virtual MiTessellator* MoTessellator::getTessellator | ( | ) | [virtual] |
Gets the Tessellator interface.
virtual SoType MoTessellator::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoActionNode.
virtual void MoTessellator::setTessellator | ( | MiTessellator * | Tessellator | ) | [virtual] |
Sets the tessellator interface.
Sets the node as modified by calling touch(). When setting a new tessellator, the MiTessellator::getTimeStamp() must return a different value than previously to actually take into account the change of tessellator.