NutsnBolts
0.1.0
An extension library for Coin
|
Public Member Functions | |
NbRollMode (SbName name) | |
virtual NbNavigationMode * | clone (void) const |
virtual SoType | getTypeId (void) const |
Public Member Functions inherited from NbNavigationMode | |
NbNavigationMode (SbName modename) | |
virtual | ~NbNavigationMode (void) |
virtual void | abort (const SoEvent *event, const NbNavigationControl *ctrl) |
virtual void | finish (const SoEvent *event, const NbNavigationControl *ctrl) |
NbNavigation1DInputValueFunc * | get1DValueFunc (void **closureptr=NULL) const |
NbNavigation2DInputValueFunc * | get2DValueFunc (void **closureptr=NULL) const |
NbNavigation3DInputValueFunc * | get3DValueFunc (void **closureptr=NULL) const |
SbName | getModeName (void) const |
virtual SoNode * | getSceneGraph (void) |
virtual void | init (const SoEvent *event, const NbNavigationControl *ctrl) |
SbBool | isAborted (void) const |
SbBool | isFinished (void) const |
SbBool | processEvent (const SoEvent *event, const NbNavigationControl *ctrl) |
void | set1DValueFunc (NbNavigation1DInputValueFunc *func, void *closure) |
void | set2DValueFunc (NbNavigation2DInputValueFunc *func, void *closure) |
void | set3DValueFunc (NbNavigation3DInputValueFunc *func, void *closure) |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Static Public Member Functions inherited from NbNavigationMode | |
static float | getAbsMouseCenterPixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getAbsMouseMovePixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static SoType | getClassTypeId (void) |
static float | getMouseCenterAngle (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseCenterHorizontalPixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseCenterVerticalPixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveAngle (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveCenterAngle (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveHorizontalNormalizedDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveHorizontalPixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveVerticalNormalizedDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static float | getMouseMoveVerticalPixelDistance (void *closure, const NbNavigationMode *mode, const NbNavigationControl *ctrl) |
static void | initClass (void) |
Static Public Attributes | |
static SoType | classTypeId = SoType::badType() |
Static Public Attributes inherited from NbNavigationMode | |
static SoType | classTypeId = SoType::badType() |
Protected Member Functions | |
virtual SbBool | handleEvent (const SoEvent *event, const NbNavigationControl *ctrl) |
Protected Member Functions inherited from NbNavigationMode | |
void | abort (void) |
void | finish (void) |
float | get1DValue (const NbNavigationControl *ctrl) const |
SbVec2f | get2DValue (const NbNavigationControl *ctrl) const |
SbVec3f | get3DValue (const NbNavigationControl *ctrl) const |
SbVec2f | getCurrentNormalizedPosition (const NbNavigationControl *ctrl) const |
SbVec2s | getCurrentPosition (void) const |
SbVec2f | getInitialNormalizedPosition (const NbNavigationControl *ctrl) const |
SbVec2s | getInitialPosition (void) const |
SbVec2f | getPreviousNormalizedPosition (const NbNavigationControl *ctrl) const |
SbVec2s | getPreviousPosition (void) const |
|
virtual |
Implements NbNavigationMode.
|
virtual |
Reimplemented from NbNavigationMode.
|
protectedvirtual |
Virtual abstract method that should be overridden to implement the navigation submode.
All events passed through the system while this mode is active are passed to this method, including the events that cause init(), abort(), and finish() event transitions.
Implements NbNavigationMode.