55#ifndef _SO_POINT_SIZE_ELEMENT
56#define _SO_POINT_SIZE_ELEMENT
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
Subclasses store a single float, int, or enum value.
static float get(int stackIndex, SoState *state)
Get value.
static void set(int stackIndex, SoState *state, float value)
Set value.
Abstract base class for all database nodes.
Element that stores the current point size.
virtual void init(SoState *state)
Initializes element.
static void set(SoState *state, SoNode *, float size)
static float getDefault()
Returns the default point size.
static void initClass()
Initializes the SoPointSizeElement class.
static void set(SoState *state, float size)
Sets the current point size in the state.
virtual ~SoPointSizeElement()
static float get(SoState *state)
Returns current point size from the state.
An SoState collects and holds state while traversing a scene graph.