35#ifndef _MO_DataBinding_ELEMENT_
36#define _MO_DataBinding_ELEMENT_
38#include <Inventor/elements/SoReplacedElement.h>
39#include <MeshVizXLM/mapping/MoMeshVizDataMapping.h>
40#include <MeshVizXLM/mapping/nodes/MoDataBinding.h>
54class MESHVIZXLM_DMAP_API MoDataBindingElement :
public SoReplacedElement {
56 SO_ELEMENT_HEADER(MoDataBindingElement);
69 virtual void print(FILE *fp)
const;
74 virtual void init(
SoState *state);
79 virtual SbBool matches(
const SoElement* elt)
const;
84 virtual SoElement* copyMatchInfo()
const;
88 static void initClass();
89 static void exitClass() ;
94 virtual ~MoDataBindingElement();
static MoDataBinding::DataBinding getDataBinding(SoState *state)
Returns the current DataBinding from the state.
static void set(SoState *state, SoNode *node, MoDataBinding::DataBinding dataBinding)
Sets the current DataBinding.
virtual void print(FILE *fp) const
Prints element (for debugging).
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Property node that defin...
Abstract base class for all database nodes.