MeVisLabToolboxReference
|
Open Inventor element to administrate a pointer to a SoMLLUT node in the inventor state. More...
#include <SoMLLUTElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
See inventor element documentation. Not to be called directly. | |
virtual SbBool | matches (const SoElement *elt) const |
See inventor element documentation. | |
virtual SoElement * | copyMatchInfo () const |
See inventor element documentation. | |
virtual void | print (FILE *fp) const |
See inventor element documentation. | |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *node, SoMLLUT *lutNode) |
Set element state. Usually called in action routines of self written inventor nodes. | |
static SoMLLUT * | get (SoState *state) |
Get/Query the element state. | |
static ml::LUTFunction * | getLut (SoState *state) |
Get/Query the element state. | |
static const SoMLLUTElement * | getInstance (SoState *state) |
Returns the top (current) instance of the element in the state. | |
static void | initClass () |
Initializes the SoMLLUTElement class. | |
Protected Member Functions | |
virtual | ~SoMLLUTElement () |
Destructor. | |
Protected Attributes | |
SoMLLUT * | data |
Saves the pointer to the currently set node. |
Open Inventor element to administrate a pointer to a SoMLLUT node in the inventor state.
Definition at line 30 of file SoMLLUTElement.h.
virtual SoMLLUTElement::~SoMLLUTElement | ( | ) | [inline, protected, virtual] |
Destructor.
Definition at line 71 of file SoMLLUTElement.h.
virtual SoElement* SoMLLUTElement::copyMatchInfo | ( | ) | const [virtual] |
See inventor element documentation.
Must be called before first class usage, but after initialization of Inventor.
static SoMLLUT* SoMLLUTElement::get | ( | SoState * | state | ) | [static] |
Get/Query the element state.
The pointer to the currently set node is returned. The return value can be NULL if no node is set.
static const SoMLLUTElement* SoMLLUTElement::getInstance | ( | SoState * | state | ) | [static] |
Returns the top (current) instance of the element in the state.
static ml::LUTFunction* SoMLLUTElement::getLut | ( | SoState * | state | ) | [static] |
Get/Query the element state.
The pointer to the currently set ml::LUTFunction is returned. The return value can be NULL if no lut is set.
virtual void SoMLLUTElement::init | ( | SoState * | state | ) | [virtual] |
See inventor element documentation. Not to be called directly.
static void SoMLLUTElement::initClass | ( | ) | [static] |
Initializes the SoMLLUTElement class.
virtual SbBool SoMLLUTElement::matches | ( | const SoElement * | elt | ) | const [virtual] |
See inventor element documentation.
virtual void SoMLLUTElement::print | ( | FILE * | fp | ) | const [virtual] |
See inventor element documentation.
static void SoMLLUTElement::set | ( | SoState * | state, |
SoNode * | node, | ||
SoMLLUT * | lutNode | ||
) | [static] |
Set element state. Usually called in action routines of self written inventor nodes.
SoMLLUT* SoMLLUTElement::data [protected] |
Saves the pointer to the currently set node.
Definition at line 68 of file SoMLLUTElement.h.