Class implementing logical layer for interactive dragging of annotation labels. It includes two components: listener for GUI events occurring inside of OCCT 3D viewer and processor for hooked events to perform interactive modification of the selected annotation within current AIS context.
#include <MeasureGUI_AnnotationInteractor.h>
|
| void | ConnectView (SUIT_ViewWindow *theWindow) |
| | Connect interactor's event handler to the view window given. More...
|
| |
| void | DisconnectView (SUIT_ViewWindow *theWindow) |
| | Disconnect interactor's event handler from the view window given. More...
|
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| | Hooks and process events from OCCT viewer prior to their coming into the base viewer class. More...
|
| |
◆ MeasureGUI_AnnotationInteractor()
| MeasureGUI_AnnotationInteractor::MeasureGUI_AnnotationInteractor |
( |
GeometryGUI * |
theGUI, |
|
|
QObject * |
theOwner |
|
) |
| |
Connects to existing viewer/view windows to process events.
- Parameters
-
| theGUI | [in] the geometry module's GUI interface. |
| theOwner | [in] the owner of the instance. |
◆ ~MeasureGUI_AnnotationInteractor()
| MeasureGUI_AnnotationInteractor::~MeasureGUI_AnnotationInteractor |
( |
| ) |
|
|
virtual |
◆ ConnectView()
| void MeasureGUI_AnnotationInteractor::ConnectView |
( |
SUIT_ViewWindow * |
theWindow | ) |
|
|
protected |
◆ Disable()
| void MeasureGUI_AnnotationInteractor::Disable |
( |
| ) |
|
◆ DisconnectView()
| void MeasureGUI_AnnotationInteractor::DisconnectView |
( |
SUIT_ViewWindow * |
theWindow | ) |
|
|
protected |
◆ Enable()
| void MeasureGUI_AnnotationInteractor::Enable |
( |
| ) |
|
◆ eventFilter()
| bool MeasureGUI_AnnotationInteractor::eventFilter |
( |
QObject * |
theObject, |
|
|
QEvent * |
theEvent |
|
) |
| |
|
protectedvirtual |
◆ Handle()
◆ OnViewCreated
| void MeasureGUI_AnnotationInteractor::OnViewCreated |
( |
SUIT_ViewWindow * |
theView | ) |
|
|
protectedslot |
◆ OnViewRemoved
| void MeasureGUI_AnnotationInteractor::OnViewRemoved |
( |
SUIT_ViewWindow * |
theView | ) |
|
|
protectedslot |
◆ SetEditEntry()
| void MeasureGUI_AnnotationInteractor::SetEditEntry |
( |
const QString & |
theEntry | ) |
|
|
inline |
◆ SignalInteractionFinished
| void MeasureGUI_AnnotationInteractor::SignalInteractionFinished |
( |
Handle_GEOM_Annotation |
theIO | ) |
|
|
signal |
◆ SignalInteractionStarted
| void MeasureGUI_AnnotationInteractor::SignalInteractionStarted |
( |
Handle_GEOM_Annotation |
theIO | ) |
|
|
signal |
◆ myActiveViewPort
| OCCViewer_ViewPort3d* MeasureGUI_AnnotationInteractor::myActiveViewPort |
|
private |
◆ myEditEntry
| QString MeasureGUI_AnnotationInteractor::myEditEntry |
|
private |
◆ myGeomGUI
| GeometryGUI* MeasureGUI_AnnotationInteractor::myGeomGUI |
|
private |
◆ myIsEnabled
| bool MeasureGUI_AnnotationInteractor::myIsEnabled |
|
private |
◆ mySelection
| SelectMgr_SequenceOfOwner MeasureGUI_AnnotationInteractor::mySelection |
|
private |
◆ myStartPoint
| QPoint MeasureGUI_AnnotationInteractor::myStartPoint |
|
private |
◆ myViewer
| OCCViewer_Viewer* MeasureGUI_AnnotationInteractor::myViewer |
|
private |
◆ myVM
| OCCViewer_ViewManager* MeasureGUI_AnnotationInteractor::myVM |
|
private |
The documentation for this class was generated from the following files: