Gui::PolyClipSelection Class Reference
The poly clip mouse model class Create a polygon. More...
#include <MouseSelection.h>
Public Member Functions | |
PolyClipSelection () | |
void setRole (SelectionRole pos, bool on) | |
bool testRole (SelectionRole pos) const | |
virtual ~PolyClipSelection () | |
![]() | |
virtual void initialize () | |
implement this in derived classes More... | |
PolyPickerSelection () | |
void setColor (float r, float g, float b, float a=1.0) | |
void setLineWidth (float l) | |
virtual void terminate () | |
implement this in derived classes More... | |
virtual ~PolyPickerSelection () | |
![]() | |
BaseMouseSelection () | |
virtual ~BaseMouseSelection () | |
![]() | |
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) | |
Protected Member Functions | |
virtual int popupMenu () | |
![]() | |
virtual void draw () | |
draw the polygon 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) | |
![]() |
Additional Inherited Members | |
![]() | |
enum { Continue =0, Restart =1, Finish =2, Cancel =3, Ignore =4 } | |
![]() | |
bool lastConfirmed | |
Gui::Polyline polyline | |
![]() | |
QCursor m_cPrevCursor | |
int m_iXold | |
int m_iYold | |
int m_iXnew | |
int m_iYnew | |
SelectionRole m_selectedRole | |
Detailed Description
The poly clip mouse model class Create a polygon.
Constructor & Destructor Documentation
◆ PolyClipSelection()
PolyClipSelection::PolyClipSelection | ( | ) |
◆ ~PolyClipSelection()
|
virtual |
Member Function Documentation
◆ popupMenu()
|
protectedvirtual |
◆ setRole()
void Gui::PolyClipSelection::setRole | ( | SelectionRole | pos, |
bool | on | ||
) |
◆ testRole()
bool Gui::PolyClipSelection::testRole | ( | SelectionRole | pos | ) | const |
Referenced by popupMenu().
The documentation for this class was generated from the following files:
- src/Gui/MouseSelection.h
- src/Gui/MouseSelection.cpp