13#ifndef SO_FOCUS_ELEMENT_H
14#define SO_FOCUS_ELEMENT_H
21#include <Inventor/elements/SoReplacedElement.h>
22#include <Inventor/events/SoEvent.h>
68 void init(SoState *state)
override;
FocusState
Administrates the current focus state.
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Class transporting focus information for one sub graph.
SbFocusInfo()
Constructor.
SbFocusInfo(FocusState state, SbVec2f normClickCoords)
Constructor.
int operator==(const SbFocusInfo &i) const
Operator to compare two instances.
FocusState state
Is the sub graph currently selected?
Open Inventor Element defining if the currently rendered Graph has the focus.
SbFocusInfo getDefault()
Returns a default SbFocusInfo.
void init(SoState *state) override
See inventor element documentation. Not to be called directly.
static void initClass()
Initializes the class.
static const SbFocusInfo & get(SoState *state)
static void set(SoState *state, SoNode *node, const SbFocusInfo &focusInfo)
Set element state. Usually called in action routines of self written inventor nodes.
SbFocusInfo _focusInfo
Stores the current focus state.