NutsnBolts  0.1.0
An extension library for Coin
Loading...
Searching...
No Matches
NbIdleMode Class Reference

Class implementing an idle mode. More...

#include <NutsnBolts/navigation/NbIdleMode.h>

Inheritance diagram for NbIdleMode:
NbNavigationMode

Public Member Functions

 NbIdleMode (SbName modename)
 
virtual ~NbIdleMode (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
 

Detailed Description

Class implementing an idle mode.

This class implements an idle navigation mode.

Constructor & Destructor Documentation

◆ NbIdleMode()

NbIdleMode::NbIdleMode ( SbName modename)

Constructor.

◆ ~NbIdleMode()

NbIdleMode::~NbIdleMode ( void )
virtual

Destructor.

Member Function Documentation

◆ clone()

NbNavigationMode * NbIdleMode::clone ( void ) const
virtual

Implements NbNavigationMode.

◆ getTypeId()

SoType NbIdleMode::getTypeId ( void ) const
virtual

Reimplemented from NbNavigationMode.

◆ handleEvent()

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

Implements idling. Returns always FALSE.

Implements NbNavigationMode.


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