Open Inventor Reference
|
Element that stores the current focal distance of the camera. More...
#include <Inventor/elements/SoFocalDistanceElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
Static Public Member Functions | |
static void | set (SoState *state, float distance) |
Sets the current focal distance in the state. | |
static void | set (SoState *state, SoNode *, float distance) |
static float | get (SoState *state) |
Returns current focal distance from the state. | |
static float | getDefault () |
Returns the default focal distance. | |
static void | initClass () |
Initializes the SoFocalDistanceElement class. | |
Protected Member Functions | |
virtual | ~SoFocalDistanceElement () |
This can be used to determine the center of attention of the camera.
Definition at line 70 of file SoFocalDistanceElement.h.
virtual SoFocalDistanceElement::~SoFocalDistanceElement | ( | ) | [protected, virtual] |
static float SoFocalDistanceElement::get | ( | SoState * | state | ) | [inline, static] |
Definition at line 88 of file SoFocalDistanceElement.h.
References SoFloatElement::get().
static float SoFocalDistanceElement::getDefault | ( | ) | [inline, static] |
Definition at line 92 of file SoFocalDistanceElement.h.
virtual void SoFocalDistanceElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
static void SoFocalDistanceElement::initClass | ( | ) | [static] |
Reimplemented from SoFloatElement.
static void SoFocalDistanceElement::set | ( | SoState * | state, |
float | distance | ||
) | [inline, static] |
Definition at line 79 of file SoFocalDistanceElement.h.
References SoFloatElement::set().
static void SoFocalDistanceElement::set | ( | SoState * | state, |
SoNode * | , | ||
float | distance | ||
) | [inline, static] |
Definition at line 83 of file SoFocalDistanceElement.h.