13#ifndef SO_MLLUTELEMENT_H
14#define SO_MLLUTELEMENT_H
20#include <Inventor/elements/SoReplacedElement.h>
39 void init(SoState *state)
override;
42 static void set(SoState *state, SoNode *node,
SoMLLUT *lutNode);
50 static ml::LUTFunction *
getLut(SoState *state);
56 SbBool
matches(
const SoElement *elt)
const override;
63 void print(FILE *fp)
const override;
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Open Inventor element to administrate a pointer to a SoMLLUT node in the inventor state.
static SoMLLUT * get(SoState *state)
Get/Query the element state.
void init(SoState *state) override
See inventor element documentation. Not to be called directly.
SoMLLUT * data
Saves the pointer to the currently set node.
static void set(SoState *state, SoNode *node, SoMLLUT *lutNode)
Set element state. Usually called in action routines of self written inventor nodes.
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.
~SoMLLUTElement() override
Destructor.
static void initClass()
Initializes the SoMLLUTElement class.
SbBool matches(const SoElement *elt) const override
See inventor element documentation.
void print(FILE *fp) const override
See inventor element documentation.
SoElement * copyMatchInfo() const override
See inventor element documentation.
Open Inventor node implementing an interface to the ml::LUTFunction.