50#ifndef _SO_FOCAL_DISTANCE_ELEMENT
51#define _SO_FOCAL_DISTANCE_ELEMENT
84 {
set(state, distance); }
104 static void initClass();
105 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Element's subclasses store a single float, int, or enum value.
Stores the current focal distance of the camera.
static int getClassStackIndex()
Returns the stack id for this element.
static SoType getClassTypeId()
Returns the type identifier for this class.
static void set(SoState *state, SoNode *, float distance)
Sets the current focal distance in the state.
static float getDefault()
Returns the default focal distance.
static void set(SoState *state, float distance)
Sets the current focal distance in the state.
static float get(SoState *state)
Returns current focal distance from the state.
Abstract base class for all database nodes.