18#ifndef _SoPolygonLayerElement_H
19#define _SoPolygonLayerElement_H
41 id= _id; factor=
_factor; units= _units;
62 typedef SoAccumulatedElement inherited;
85 SbSet<SbPolygonLayer, ltSbPolygonLayerId>::const_iterator
_top;
86 SbSet<SbPolygonLayer, ltSbPolygonLayerId>::const_iterator
_bottom;
#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.
SbPolygonLayer(const SbPolygonLayer &layer)
SbPolygonLayer(const SbString &_id="", float _factor=0.f, float _units=0.f)
static const SbSet< SbPolygonLayer, ltSbPolygonLayerId > & get(SoState *state)
Returns the current list of polygon layers from the state.
static void initClass(void)
SbSet< SbPolygonLayer, ltSbPolygonLayerId >::const_iterator _bottom
static const SbPolygonLayer & getWithId(SoState *state, const SbString &id)
SbSet< SbPolygonLayer, ltSbPolygonLayerId > _layer
static void add(SoState *state, SoNode *node, const SbPolygonLayer &layer)
Add to the current polygon layer list.
static const SbPolygonLayer & getBottom(SoState *state)
static const SbPolygonLayer & getTop(SoState *state)
void init(SoState *state) override
Initializes element.
SbSet< SbPolygonLayer, ltSbPolygonLayerId >::const_iterator _top
void push(SoState *state) override
Overrides push() method to copy values from next instance in the stack.
virtual ~SoPolygonLayerElement()
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
bool operator()(const SbPolygonLayer &x, const SbPolygonLayer &y) const