BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
BALL::VIEW::InteractionModeManager Class Reference

#include <BALL/VIEW/KERNEL/MODES/interactionModeManager.h>

Inheritance diagram for BALL::VIEW::InteractionModeManager:
QObject

Public Member Functions

 InteractionModeManager (Scene *scene)
 
void init ()
 
QString getCurrentModeName () const
 
virtual void keyPressEvent (QKeyEvent *evt)
 
virtual void keyReleaseEvent (QKeyEvent *evt)
 
virtual void mouseDoubleClickEvent (QMouseEvent *evt)
 
virtual void mouseMoveEvent (QMouseEvent *evt)
 
virtual void mousePressEvent (QMouseEvent *evt)
 
virtual void mouseReleaseEvent (QMouseEvent *evt)
 
virtual void wheelEvent (QWheelEvent *evt)
 
virtual void addToolBarEntries (QToolBar *tb)
 
virtual void populateContextMenu (QMenu *menu)
 
void setStereoMode (bool stereo_mode)
 
void switchToLastMode ()
 

Protected Slots

void setMode_ (InteractionMode *new_mode)
 

Protected Member Functions

bool handleStereoKeyPress_ (QKeyEvent *evt)
 

Protected Attributes

Renderer::StereoMode stereo_mode_
 
InteractionModecurrent_mode_
 
InteractionModelast_mode_
 
QActionGroup * actions_
 
std::list< InteractionMode * > modes_
 
Scenescene_
 
bool need_update_
 

Detailed Description

Definition at line 27 of file interactionModeManager.h.

Constructor & Destructor Documentation

BALL::VIEW::InteractionModeManager::InteractionModeManager ( Scene scene)

Member Function Documentation

virtual void BALL::VIEW::InteractionModeManager::addToolBarEntries ( QToolBar *  tb)
virtual
QString BALL::VIEW::InteractionModeManager::getCurrentModeName ( ) const
bool BALL::VIEW::InteractionModeManager::handleStereoKeyPress_ ( QKeyEvent *  evt)
protected
void BALL::VIEW::InteractionModeManager::init ( )
virtual void BALL::VIEW::InteractionModeManager::keyPressEvent ( QKeyEvent *  evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::keyReleaseEvent ( QKeyEvent *  evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::mouseDoubleClickEvent ( QMouseEvent evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::mouseMoveEvent ( QMouseEvent evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::mousePressEvent ( QMouseEvent evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::mouseReleaseEvent ( QMouseEvent evt)
virtual
virtual void BALL::VIEW::InteractionModeManager::populateContextMenu ( QMenu *  menu)
virtual
void BALL::VIEW::InteractionModeManager::setMode_ ( InteractionMode new_mode)
protectedslot
void BALL::VIEW::InteractionModeManager::setStereoMode ( bool  stereo_mode)
void BALL::VIEW::InteractionModeManager::switchToLastMode ( )
virtual void BALL::VIEW::InteractionModeManager::wheelEvent ( QWheelEvent *  evt)
virtual

Member Data Documentation

QActionGroup* BALL::VIEW::InteractionModeManager::actions_
protected

Definition at line 60 of file interactionModeManager.h.

InteractionMode* BALL::VIEW::InteractionModeManager::current_mode_
protected

Definition at line 58 of file interactionModeManager.h.

InteractionMode* BALL::VIEW::InteractionModeManager::last_mode_
protected

Definition at line 59 of file interactionModeManager.h.

std::list<InteractionMode*> BALL::VIEW::InteractionModeManager::modes_
protected

Definition at line 61 of file interactionModeManager.h.

bool BALL::VIEW::InteractionModeManager::need_update_
protected

Definition at line 63 of file interactionModeManager.h.

Scene* BALL::VIEW::InteractionModeManager::scene_
protected

Definition at line 62 of file interactionModeManager.h.

Renderer::StereoMode BALL::VIEW::InteractionModeManager::stereo_mode_
protected

Definition at line 57 of file interactionModeManager.h.