NutsnBolts
0.1.0
An extension library for Coin
|
Class that implements the focal point centering mode. More...
#include <NutsnBolts/navigation/NbCenterMode.h>
Public Member Functions | |
NbCenterMode (SbName name) | |
virtual | ~NbCenterMode (void) |
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 |
Class that implements the focal point centering mode.
Class that implements a focal point centering mode.
This class implements the focal point centering mode.
This class implements the focal point centering mode, moving the camera without changing the view axis.
NbCenterMode::NbCenterMode | ( | SbName | name | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Implements NbNavigationMode.
|
virtual |
Reimplemented from NbNavigationMode.
|
protectedvirtual |
This method implements the panning operation.
Returns FALSE for events that are not used, and TRUE for events that are used.
Implements NbNavigationMode.