The standard mouse selection class. More...
#include <MouseSelection.h>
Public Member Functions | |
BaseMouseSelection () | |
virtual | ~BaseMouseSelection () |
Public Member Functions inherited from Gui::AbstractMouseSelection | |
AbstractMouseSelection () | |
const std::vector< SbVec2s > & | getPositions () const |
void | grabMouseModel (Gui::View3DInventorViewer *) |
virtual void | initialize ()=0 |
implement this in derived classes More... | |
void | redraw () |
void | releaseMouseModel (bool abort=false) |
SelectionRole | selectedRole () const |
virtual void | terminate (bool abort=false)=0 |
implement this in derived classes More... | |
virtual | ~AbstractMouseSelection (void) |
int | handleEvent (const SoEvent *const ev, const SbViewportRegion &vp) |
Additional Inherited Members | |
Public Types inherited from Gui::AbstractMouseSelection | |
enum | { Continue =0 , Restart =1 , Finish =2 , Cancel =3 , Ignore =4 } |
Protected Member Functions inherited from Gui::AbstractMouseSelection | |
virtual int | mouseButtonEvent (const SoMouseButtonEvent *const, const QPoint &) |
virtual int | locationEvent (const SoLocation2Event *const, const QPoint &) |
virtual int | keyboardEvent (const SoKeyboardEvent *const) |
virtual void | draw () |
drawing stuff More... | |
Protected Attributes inherited from Gui::AbstractMouseSelection | |
QCursor | m_cPrevCursor |
int | m_iXold |
int | m_iYold |
int | m_iXnew |
int | m_iYnew |
SelectionRole | m_selectedRole |
The standard mouse selection class.
BaseMouseSelection::BaseMouseSelection | ( | ) |
|
virtual |