+
+ Mode GetMode() const;
+ Handle( HYDROData_PolylineXY ) GetMainPolyline() const;
+ Handle( HYDROData_PolylineXY ) GetToolPolyline() const;
+ gp_Pnt2d GetPoint() const;
+ HYDROData_SequenceOfObjects GetPolylines() const;
+
+ void setPolylinesFromSelection();
+ void setOCCViewer( OCCViewer_Viewer* theViewer );
+
+signals:
+ void modeChanged();
+ void pointMoved();
+ void selectionChanged();
+
+private slots:
+ void onMousePress( SUIT_ViewWindow*, QMouseEvent* );
+
+private:
+ OCCViewer_ViewPort3d* getViewPort() const;
+
+private:
+ QTabWidget* myTab;
+ QtxDoubleSpinBox* myX;
+ QtxDoubleSpinBox* myY;
+ HYDROGUI_ObjComboBox* myMainPolyline1;
+ HYDROGUI_ObjComboBox* myMainPolyline2;
+ HYDROGUI_ObjComboBox* myToolPolyline;
+ HYDROGUI_ObjListBox* myPolylines;
+ OCCViewer_Viewer* myOCCViewer;