#include <SoFocusElement.h>
Public Member Functions | |
| virtual void | init (SoState *state) |
| See inventor element documentation. Not to be called directly. | |
| SbFocusInfo | getDefault () |
| Returns a default SbFocusInfo. | |
Static Public Member Functions | |
| static const SbFocusInfo & | get (SoState *state) |
| Returns focus state. | |
| static void | set (SoState *state, SoNode *node, const SbFocusInfo &focusInfo) |
| Set element state. Usually called in action routines of self written inventor nodes. | |
| static void | initClass () |
| Initializes the class. | |
Protected Attributes | |
| SbFocusInfo | _focusInfo |
| Stores the current focus state. | |
Definition at line 61 of file SoFocusElement.h.
| static const SbFocusInfo& SoFocusElement::get | ( | SoState * | state | ) | [static] |
Returns focus state.
This is used by subsequent modules to determine if they are in a focused render graph!
| SbFocusInfo SoFocusElement::getDefault | ( | ) |
Returns a default SbFocusInfo.
| virtual void SoFocusElement::init | ( | SoState * | state | ) | [virtual] |
See inventor element documentation. Not to be called directly.
| static void SoFocusElement::initClass | ( | ) | [static] |
Initializes the class.
| static void SoFocusElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| const SbFocusInfo & | focusInfo | |||
| ) | [static] |
Set element state. Usually called in action routines of self written inventor nodes.
SbFocusInfo SoFocusElement::_focusInfo [protected] |
1.5.8