MeVisLab Toolbox Reference
SoMLLUTElement Class Reference

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

#include <SoMLLUTElement.h>

Inheritance diagram for SoMLLUTElement:

Public Member Functions

void init (SoState *state) override
 See inventor element documentation. Not to be called directly. More...
 
SbBool matches (const SoElement *elt) const override
 See inventor element documentation. More...
 
SoElement * copyMatchInfo () const override
 See inventor element documentation. More...
 
void print (FILE *fp) const override
 See inventor element documentation. More...
 

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. More...
 
static SoMLLUTget (SoState *state)
 Get/Query the element state. More...
 
static ml::LUTFunctiongetLut (SoState *state)
 Get/Query the element state. More...
 
static const SoMLLUTElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state. More...
 
static void initClass ()
 Initializes the SoMLLUTElement class. More...
 

Protected Member Functions

 ~SoMLLUTElement () override
 Destructor. More...
 

Protected Attributes

SoMLLUTdata
 Saves the pointer to the currently set node. More...
 

Detailed Description

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

Definition at line 33 of file SoMLLUTElement.h.

Constructor & Destructor Documentation

◆ ~SoMLLUTElement()

SoMLLUTElement::~SoMLLUTElement ( )
inlineoverrideprotected

Destructor.

Definition at line 74 of file SoMLLUTElement.h.

Member Function Documentation

◆ copyMatchInfo()

SoElement* SoMLLUTElement::copyMatchInfo ( ) const
override

See inventor element documentation.

Must be called before first class usage, but after initialization of Inventor.

◆ get()

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.

◆ getInstance()

static const SoMLLUTElement* SoMLLUTElement::getInstance ( SoState *  state)
static

Returns the top (current) instance of the element in the state.

◆ getLut()

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.

◆ init()

void SoMLLUTElement::init ( SoState *  state)
override

See inventor element documentation. Not to be called directly.

◆ initClass()

static void SoMLLUTElement::initClass ( )
static

Initializes the SoMLLUTElement class.

◆ matches()

SbBool SoMLLUTElement::matches ( const SoElement *  elt) const
override

See inventor element documentation.

◆ print()

void SoMLLUTElement::print ( FILE *  fp) const
override

See inventor element documentation.

◆ set()

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

◆ data

SoMLLUT* SoMLLUTElement::data
protected

Saves the pointer to the currently set node.

Definition at line 71 of file SoMLLUTElement.h.


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