]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Displayer.h
Salome HOME
Issue #2504: Dimension presentations were added
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index 50b4a79d5cd8f61606ffeed8e0fe42c9a7130c85..025a6c368f98698457ed6f5b606f3c33722488f1 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <GeomAPI_AISObject.h>
 #include <GeomAPI_ICustomPrs.h>
+#include <GeomAPI_Pln.h>
 
 #include <ModelAPI_Result.h>
 
@@ -238,6 +239,13 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
   /// \return a boolean value
   static bool isVisible(XGUI_Displayer* theDisplayer, const ObjectPtr& theObject);
 
+
+  /// Returns screen plane of active view
+  GeomPlanePtr getScreenPlane() const;
+
+  /// Returns scale of active view
+  double getViewScale() const;
+
 signals:
   /// Signal on object display
   /// \param theObject a data object