![]() |
NutsnBolts
0.1.0
An extension library for Coin
|
Internal class. More...
#include <NutsnBolts/navigation/NbNavigationState.h>
Public Member Functions | |
| NbNavigationState (void) | |
| ~NbNavigationState (void) | |
| NbNavigationMode * | getMode (void) const |
| const SoEvent * | getTrigger (void) const |
| void | pop (void) |
| void | push (NbNavigationMode *mode, const SoEvent *trigger) |
| void | reset (void) |
Internal class.
This class is only used internally in the NbNavigationSystem class to track the current navigation state (current mode). It isn't exposed anywhere.
| NbNavigationState::NbNavigationState | ( | void | ) |
Constructor.
| NbNavigationState::~NbNavigationState | ( | void | ) |
Destructor.
| NbNavigationMode * NbNavigationState::getMode | ( | void | ) | const |
Returns the mode at the top of the mode state stack.
| const SoEvent * NbNavigationState::getTrigger | ( | void | ) | const |
| void NbNavigationState::pop | ( | void | ) |
Pops the mode state stack.
| void NbNavigationState::push | ( | NbNavigationMode * | mode, |
| const SoEvent * | trigger ) |
Pushes a new mode on the state stack. trigger is the event that triggered the mode change.
| void NbNavigationState::reset | ( | void | ) |
Resets the mode state stack.