18 #ifndef _SoGroundplaneElement_H
19 #define _SoGroundplaneElement_H
27 typedef SoReplacedElement inherited;
38 void init(SoState *state)
override;
41 static void set(SoState *state, SoNode *node,
42 const SbPlane &plane);
45 static const SbPlane &
get(SoState *state);
51 SbBool
matches(
const SoElement *elt)
const override;
57 void print(FILE *fp)
const override;
#define __MEVIS_IV_END_NAMESPACE
#define __MEVIS_IV_BEGIN_NAMESPACE
#define SOSHADOW_CLASS_SPEC
Define a class export specifier needed to make the class exportable in dll's.
SbBool matches(const SoElement *elt) const override
Returns TRUE if the stored SbShadow matches the given element.
static const SbPlane & get(SoState *state)
Returns from the state.
static void set(SoState *state, SoNode *node, const SbPlane &plane)
Sets in the state.
void print(FILE *fp) const override
Prints element (for debugging).
virtual ~SoGroundplaneElement()
static SbPlane getDefault()
Returns the default.
void init(SoState *state) override
Initializes element.
SoElement * copyMatchInfo() const override
Create and return a copy of this element.
static void initClass()
Initializes the SoGroundplaneElement class.