1#ifndef COIN_SOTRANSPARENCYELEMENT_H
2#define COIN_SOTRANSPARENCYELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
37#include <Inventor/elements/SoLazyElement.h>
39class COIN_DLL_API SoTransparencyElement :
public SoReplacedElement {
40 typedef SoReplacedElement inherited;
42 SO_ELEMENT_HEADER(SoTransparencyElement);
46 virtual ~SoTransparencyElement();
49 virtual void init(SoState * state);
50 static void set(SoState *
const state,
SoNode *
const node,
51 const int32_t numvalues,
const float *
const values);
53 static const SoTransparencyElement *
getInstance(SoState *state);
55 int32_t
getNum(
void)
const;
56 float get(
const int index)
const;
Definition SoLazyElement.h:283
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91
float get(const int index) const
FIXME: write doc.
Definition SoTransparencyElement.cpp:107
const float * getArrayPtr(void) const
Definition SoTransparencyElement.cpp:116
int32_t getNum(void) const
FIXME: write doc.
Definition SoTransparencyElement.cpp:98
static const SoTransparencyElement * getInstance(SoState *state)
FIXME: write doc.
Definition SoTransparencyElement.cpp:125
static void set(SoState *const state, SoNode *const node, const int32_t numvalues, const float *const values)
FIXME: write doc.
Definition SoTransparencyElement.cpp:82