50#ifndef _SO_FOCAL_DISTANCE_ELEMENT
51#define _SO_FOCAL_DISTANCE_ELEMENT
53#include <Inventor/elements/SoFloatElement.h>
84 {
set(state, distance); }
100 virtual void init(
SoState *state);
104 static void initClass();
105 static void exitClass();
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.