Gui::RectangleSelection Class Reference
The selection mouse model class Draws a rectangle for selection. More...
#include <MouseSelection.h>
Public Member Functions | |
| RectangleSelection () | |
| virtual | ~RectangleSelection () |
Public Member Functions inherited from Gui::RubberbandSelection | |
| virtual void | initialize () |
| implement this in derived classes More... | |
| RubberbandSelection () | |
| void | setColor (float r, float g, float b, float a=1.0) |
| virtual void | terminate () |
| implement this in derived classes More... | |
| virtual | ~RubberbandSelection () |
Public Member Functions inherited from Gui::BaseMouseSelection | |
| BaseMouseSelection () | |
| virtual | ~BaseMouseSelection () |
Public Member Functions inherited from Gui::AbstractMouseSelection | |
| AbstractMouseSelection () | |
| const std::vector< SbVec2s > & | getPositions () const |
| void | grabMouseModel (Gui::View3DInventorViewer *) |
| void | redraw () |
| void | releaseMouseModel (void) |
| SelectionRole | selectedRole () const |
| 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::RubberbandSelection | |
| virtual void | draw () |
| draw the rectangle More... | |
| virtual int | keyboardEvent (const SoKeyboardEvent *const e) |
| virtual int | locationEvent (const SoLocation2Event *const e, const QPoint &pos) |
| virtual int | mouseButtonEvent (const SoMouseButtonEvent *const e, const QPoint &pos) |
Protected Member Functions inherited from Gui::AbstractMouseSelection | |
Protected Attributes inherited from Gui::RubberbandSelection | |
| Gui::Rubberband | rubberband |
Protected Attributes inherited from Gui::AbstractMouseSelection | |
| QCursor | m_cPrevCursor |
| int | m_iXold |
| int | m_iYold |
| int | m_iXnew |
| int | m_iYnew |
| SelectionRole | m_selectedRole |
Detailed Description
The selection mouse model class Draws a rectangle for selection.
Constructor & Destructor Documentation
◆ RectangleSelection()
| RectangleSelection::RectangleSelection | ( | ) |
References Gui::RubberbandSelection::rubberband, and Gui::Rubberband::setColor().
◆ ~RectangleSelection()
|
virtual |
The documentation for this class was generated from the following files:
- src/Gui/MouseSelection.h
- src/Gui/MouseSelection.cpp
Public Member Functions inherited from
1.8.17