27 #ifndef MEASUREGUI_ANNOTATIONINTERACTOR_H
28 #define MEASUREGUI_ANNOTATIONINTERACTOR_H
31 #include <SelectMgr_EntityOwner.hxx>
32 #include <SelectMgr_SequenceOfOwner.hxx>
37 class OCCViewer_Viewer;
38 class OCCViewer_ViewManager;
39 class OCCViewer_ViewPort3d;
40 class SUIT_ViewWindow;
Interactive object, representating annotation entity.
Definition: GEOM_Annotation.hxx:63
Definition: GeometryGUI.h:74
Class implementing logical layer for interactive dragging of annotation labels. It includes two compo...
Definition: MeasureGUI_AnnotationInteractor.h:51
void OnViewRemoved(SUIT_ViewWindow *)
Handler for signal coming from GUI layer.
Definition: MeasureGUI_AnnotationInteractor.cxx:178
void SignalInteractionStarted(Handle_GEOM_Annotation theIO)
Emitted when interactor begins modification of the interactive object.
GeometryGUI * myGeomGUI
Definition: MeasureGUI_AnnotationInteractor.h:111
Handle(GEOM_Annotation) myActiveIO
MeasureGUI_AnnotationInteractor(GeometryGUI *theGUI, QObject *theOwner)
Constructor.
Definition: MeasureGUI_AnnotationInteractor.cxx:49
void ConnectView(SUIT_ViewWindow *theWindow)
Connect interactor's event handler to the view window given.
Definition: MeasureGUI_AnnotationInteractor.cxx:151
QPoint myStartPoint
Definition: MeasureGUI_AnnotationInteractor.h:118
OCCViewer_ViewPort3d * myActiveViewPort
Definition: MeasureGUI_AnnotationInteractor.h:115
void Disable()
Disables event processing and interaction handlers.
Definition: MeasureGUI_AnnotationInteractor.cxx:117
bool myIsEnabled
Definition: MeasureGUI_AnnotationInteractor.h:112
void Enable()
Enables event processing and interaction handlers.
Definition: MeasureGUI_AnnotationInteractor.cxx:79
void OnViewCreated(SUIT_ViewWindow *)
Handler for signal coming from GUI layer.
Definition: MeasureGUI_AnnotationInteractor.cxx:169
void DisconnectView(SUIT_ViewWindow *theWindow)
Disconnect interactor's event handler from the view window given.
Definition: MeasureGUI_AnnotationInteractor.cxx:160
QString myEditEntry
Definition: MeasureGUI_AnnotationInteractor.h:119
virtual ~MeasureGUI_AnnotationInteractor()
Destructor.
Definition: MeasureGUI_AnnotationInteractor.cxx:64
OCCViewer_ViewManager * myVM
Definition: MeasureGUI_AnnotationInteractor.h:113
void SetEditEntry(const QString &theEntry)
Set entry of allowed annotation presentations.
Definition: MeasureGUI_AnnotationInteractor.h:74
OCCViewer_Viewer * myViewer
Definition: MeasureGUI_AnnotationInteractor.h:114
SelectMgr_SequenceOfOwner mySelection
Definition: MeasureGUI_AnnotationInteractor.h:117
void SignalInteractionFinished(Handle_GEOM_Annotation theIO)
Emitted when interactor finished modification of the interactive object.
virtual bool eventFilter(QObject *, QEvent *)
Hooks and process events from OCCT viewer prior to their coming into the base viewer class.
Definition: MeasureGUI_AnnotationInteractor.cxx:187