Stores the current mesh. More...
#include <MeshVizXLM/mapping/elements/MoMeshElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, MeshType meshType, const MiMesh *mesh, MoMeshRepresentation *meshRepresentation, size_t nodeTimeStamp) |
static const MiMesh * | getMesh (SoState *state, MeshType &meshType, size_t &meshTimeStamp) |
static MoMeshRepresentation * | getConnectedRepresentation (SoState *state, MeshType &meshType) |
This element stores the current mesh interface.
static int MoMeshElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType MoMeshElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static MoMeshRepresentation* MoMeshElement::getConnectedRepresentation | ( | SoState * | state, | |
MeshType & | meshType | |||
) | [static] |
Returns the current representation connected to the mesh from the state.
static const MiMesh* MoMeshElement::getMesh | ( | SoState * | state, | |
MeshType & | meshType, | |||
size_t & | meshTimeStamp | |||
) | [static] |
Returns the current mesh from the state.
virtual void MoMeshElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
static void MoMeshElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
MeshType | meshType, | |||
const MiMesh * | mesh, | |||
MoMeshRepresentation * | meshRepresentation, | |||
size_t | nodeTimeStamp | |||
) | [static] |
Sets the current mesh.