#include <AIS_Trihedron.hxx>
#include <AIS_ListOfInteractive.hxx>
-#ifndef HAVE_SALOME
+#ifdef HAVE_SALOME
+#include <OCCViewer_ViewModel.h>
+#else
+ #include <AppElements_Viewer.h>
#include <AppElements_ViewWindow.h>
#endif
+
+
class XGUI_Workshop;
/**
* \ingroup GUI
// Fit all along Z (perpendicular to display)
//virtual void Zfitall();
+#ifdef HAVE_SALOME
+ void setFitter(OCCViewer_Fitter* theFitter);
+ OCCViewer_Fitter* currentFitter() const;
+#else
+ void setFitter(AppElements_Fitter* theFitter);
+ AppElements_Fitter* currentFitter() const;
+#endif
+
+ void unsetFitter();
+
signals:
/// Emits by mouse entering the view port
void enterViewPort();
ResultPtr myResult;
AIS_ListOfInteractive myHighlights;
- bool myShowHighlight;
};
#endif