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

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

Inheritance diagram for BALL::VIEW::RotateMode:
BALL::VIEW::InteractionMode QObject

Public Member Functions

 RotateMode (Scene *scene)
 
virtual void mouseDoubleClickEvent (QMouseEvent *evt)
 
virtual Qt::Key getKey () const
 
virtual QString getName () const
 
virtual void activate ()
 
- Public Member Functions inherited from BALL::VIEW::InteractionMode
 InteractionMode (Scene *scene)
 
virtual ~InteractionMode ()
 
virtual void keyPressEvent (QKeyEvent *evt)
 
virtual void keyReleaseEvent (QKeyEvent *evt)
 
void mouseMoveEvent (QMouseEvent *evt)
 
void mousePressEvent (QMouseEvent *evt)
 
void mouseReleaseEvent (QMouseEvent *evt)
 
virtual void wheelEvent (QWheelEvent *evt)
 
virtual void addToolBarEntries (QToolBar *tb)
 
virtual void populateContextMenu (QMenu *)
 
virtual void deactivate ()
 
void setMouseSensitivity (float sens)
 
QAction * getMainAction ()
 
bool isCurrent () const
 
void setCurrent (bool current)
 

Protected Member Functions

virtual void mouseMoveEventImpl_ (QMouseEvent *evt)
 
virtual void mouseReleaseEventImpl_ (QMouseEvent *evt)
 
void rotateSystemClockwise_ ()
 
void processRotateModeMouseEvents_ (QMouseEvent *evt)
 
void rotateSystem_ ()
 
void translateSystem_ ()
 
- Protected Member Functions inherited from BALL::VIEW::InteractionMode
virtual void mousePressEventImpl_ (QMouseEvent *evt)
 
float getXDiff_ () const
 
float getYDiff_ () const
 
void zoomSystem_ ()
 

Additional Inherited Members

- Signals inherited from BALL::VIEW::InteractionMode
void requestModeChange (InteractionMode *mode)
 
- Protected Slots inherited from BALL::VIEW::InteractionMode
void modeChangeSlot_ ()
 
- Protected Attributes inherited from BALL::VIEW::InteractionMode
Scenescene_
 
QPoint mouse_pos_old_
 
QPoint mouse_pos_new_
 
QSize desktop_size_
 
float mouse_sensitivity_
 
float mouse_wheel_sensitivity_
 
QAction * main_action_
 
bool is_current_
 

Detailed Description

Definition at line 11 of file rotateMode.h.

Constructor & Destructor Documentation

BALL::VIEW::RotateMode::RotateMode ( Scene scene)

Member Function Documentation

virtual void BALL::VIEW::RotateMode::activate ( )
virtual

Reimplemented from BALL::VIEW::InteractionMode.

virtual Qt::Key BALL::VIEW::RotateMode::getKey ( ) const
virtual
virtual QString BALL::VIEW::RotateMode::getName ( ) const
inlinevirtual

Implements BALL::VIEW::InteractionMode.

Definition at line 19 of file rotateMode.h.

virtual void BALL::VIEW::RotateMode::mouseDoubleClickEvent ( QMouseEvent evt)
virtual

Reimplemented from BALL::VIEW::InteractionMode.

virtual void BALL::VIEW::RotateMode::mouseMoveEventImpl_ ( QMouseEvent evt)
protectedvirtual

Reimplemented from BALL::VIEW::InteractionMode.

virtual void BALL::VIEW::RotateMode::mouseReleaseEventImpl_ ( QMouseEvent evt)
protectedvirtual

Reimplemented from BALL::VIEW::InteractionMode.

void BALL::VIEW::RotateMode::processRotateModeMouseEvents_ ( QMouseEvent evt)
protected
void BALL::VIEW::RotateMode::rotateSystem_ ( )
protected
void BALL::VIEW::RotateMode::rotateSystemClockwise_ ( )
protected
void BALL::VIEW::RotateMode::translateSystem_ ( )
protected