MeVisLab Resolution Independence API
|
Class transporting focus information for one sub graph. More...
#include <SoFocusElement.h>
Public Member Functions | |
SbFocusInfo () | |
Constructor. | |
SbFocusInfo (FocusState state, SbVec2f normClickCoords) | |
Constructor. | |
int | operator== (const SbFocusInfo &i) const |
Operator to compare two instances. | |
Public Attributes | |
FocusState | state |
Is the sub graph currently selected? | |
SbVec2f | normClickCoords |
Normalized coordinates of click event that caused the focus state. | |
Class transporting focus information for one sub graph.
Definition at line 30 of file SoFocusElement.h.
|
inline |
Constructor.
Definition at line 43 of file SoFocusElement.h.
References FS_NO_FOCUS, normClickCoords, and state.
|
inline |
|
inline |
Operator to compare two instances.
Definition at line 55 of file SoFocusElement.h.
References normClickCoords, and state.
SbVec2f SbFocusInfo::normClickCoords |
Normalized coordinates of click event that caused the focus state.
This is useful if one Viewer has several regions that should be activated separately. For example, if a SoView2d has more than 1 slice, SoView2DBorder is drawn several times. normClickCoords can be used to determine which border should be highlighted.
Definition at line 40 of file SoFocusElement.h.
Referenced by operator==(), SbFocusInfo(), and SbFocusInfo().
FocusState SbFocusInfo::state |
Is the sub graph currently selected?
Definition at line 34 of file SoFocusElement.h.
Referenced by operator==(), SbFocusInfo(), and SbFocusInfo().