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

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

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

Public Member Functions

 PickingMode (Scene *scene)
 
virtual void mouseDoubleClickEvent (QMouseEvent *evt)
 
virtual Qt::Key getKey () const
 
virtual QString getName () const
 
virtual void activate ()
 
virtual void deactivate ()
 
- 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 *)
 
void setMouseSensitivity (float sens)
 
QAction * getMainAction ()
 
bool isCurrent () const
 
void setCurrent (bool current)
 

Protected Member Functions

void pickParent_ (const QPoint &p)
 
void selectionPressedMoved_ ()
 
void selectObjects_ ()
 
virtual void mouseMoveEventImpl_ (QMouseEvent *evt)
 
virtual void mousePressEventImpl_ (QMouseEvent *evt)
 
virtual void mouseReleaseEventImpl_ (QMouseEvent *evt)
 
- Protected Member Functions inherited from BALL::VIEW::InteractionMode
float getXDiff_ () const
 
float getYDiff_ () const
 
void zoomSystem_ ()
 

Protected Attributes

bool pick_select_
 
bool ignore_pick_
 
QPoint mouse_pos_pick_
 
- 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_
 

Additional Inherited Members

- Signals inherited from BALL::VIEW::InteractionMode
void requestModeChange (InteractionMode *mode)
 
- Protected Slots inherited from BALL::VIEW::InteractionMode
void modeChangeSlot_ ()
 

Detailed Description

Definition at line 11 of file pickingMode.h.

Constructor & Destructor Documentation

BALL::VIEW::PickingMode::PickingMode ( Scene scene)

Member Function Documentation

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

Reimplemented from BALL::VIEW::InteractionMode.

virtual void BALL::VIEW::PickingMode::deactivate ( )
virtual

Reimplemented from BALL::VIEW::InteractionMode.

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

Implements BALL::VIEW::InteractionMode.

Definition at line 19 of file pickingMode.h.

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

Reimplemented from BALL::VIEW::InteractionMode.

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

Reimplemented from BALL::VIEW::InteractionMode.

virtual void BALL::VIEW::PickingMode::mousePressEventImpl_ ( QMouseEvent evt)
protectedvirtual

Reimplemented from BALL::VIEW::InteractionMode.

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

Reimplemented from BALL::VIEW::InteractionMode.

void BALL::VIEW::PickingMode::pickParent_ ( const QPoint &  p)
protected
void BALL::VIEW::PickingMode::selectionPressedMoved_ ( )
protected
void BALL::VIEW::PickingMode::selectObjects_ ( )
protected

Member Data Documentation

bool BALL::VIEW::PickingMode::ignore_pick_
protected

Definition at line 26 of file pickingMode.h.

QPoint BALL::VIEW::PickingMode::mouse_pos_pick_
protected

Definition at line 27 of file pickingMode.h.

bool BALL::VIEW::PickingMode::pick_select_
protected

Definition at line 25 of file pickingMode.h.