MoTessellator Class Reference

MeshViz Property node that defines a tessellator. More...

#include <MeshVizXLM/mapping/nodes/MoTessellator.h>

Inheritance diagram for MoTessellator:
MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoTessellator ()
virtual void setTessellator (MiTessellator *Tessellator)
virtual MiTessellatorgetTessellator ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

MeshViz Property node that defines a tessellator.

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.

Each time the current MiTessellator is updated, touch() must be called to mark the node as modified. However MiTessellator::getTimeStamp() must return a different value than before to actually trigger a new rendering.
Providing a tesselator for a non-quadratic mesh has no effect.



MiTesselator, MoMeshSurface, MoMeshLine

See related examples:

PEBIMeshViz, QuadraticWheelHexa27, PolyhedralIsosurface, QuadraticHexa20, QuadraticHexa27, QuadraticLine, QuadraticSkin, QuadraticSurface, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, WheelHexa8

Constructor & Destructor Documentation

MoTessellator::MoTessellator (  ) 


Member Function Documentation

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.

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

Open Inventor Toolkit reference manual, generated on 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.