MeVisLabToolboxReference
SoMLLUTElement Class Reference

Open Inventor element to administrate a pointer to a SoMLLUT node in the inventor state. More...

#include <SoMLLUTElement.h>

List of all members.

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 SoMLLUTget (SoState *state)
 Get/Query the element state.
static ml::LUTFunctiongetLut (SoState *state)
 Get/Query the element state.
static const SoMLLUTElementgetInstance (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

SoMLLUTdata
 Saves the pointer to the currently set node.

Detailed Description

Open Inventor element to administrate a pointer to a SoMLLUT node in the inventor state.

Definition at line 30 of file SoMLLUTElement.h.


Constructor & Destructor Documentation

virtual SoMLLUTElement::~SoMLLUTElement ( ) [inline, protected, virtual]

Destructor.

Definition at line 71 of file SoMLLUTElement.h.


Member Function Documentation

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.


Member Data Documentation

Saves the pointer to the currently set node.

Definition at line 68 of file SoMLLUTElement.h.


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