NutsnBolts  0.1.0
An extension library for Coin
Loading...
Searching...
No Matches
NbPitchMode Class Reference
Inheritance diagram for NbPitchMode:
NbNavigationMode

Public Member Functions

 NbPitchMode (SbName name)
 
virtual ~NbPitchMode (void)
 
virtual NbNavigationModeclone (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 SoNodegetSceneGraph (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
 

Constructor & Destructor Documentation

◆ NbPitchMode()

NbPitchMode::NbPitchMode ( SbName name)

Constructor.

◆ ~NbPitchMode()

NbPitchMode::~NbPitchMode ( void )
virtual

Destructor.

Member Function Documentation

◆ clone()

NbNavigationMode * NbPitchMode::clone ( void ) const
virtual

Implements NbNavigationMode.

◆ getTypeId()

SoType NbPitchMode::getTypeId ( void ) const
virtual

Reimplemented from NbNavigationMode.

◆ handleEvent()

SbBool NbPitchMode::handleEvent ( const SoEvent * event,
const NbNavigationControl * ctrl )
protectedvirtual

This method handles the pitching motion of the camera, based on user input.

Implements NbNavigationMode.


The documentation for this class was generated from the following files: