|
MeVisLab Toolbox Reference
|
Open Inventor Element defining if the currently rendered Graph has the focus. More...
#include <SoFocusElement.h>
Public Member Functions | |
| void | init (SoState *state) override |
| 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. | |
Open Inventor Element defining if the currently rendered Graph has the focus.
Definition at line 64 of file SoFocusElement.h.
|
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.
See inventor element documentation. Not to be called directly.
|
static |
Set element state. Usually called in action routines of self written inventor nodes.
|
protected |
Stores the current focus state.
Definition at line 89 of file SoFocusElement.h.