-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#define ModuleBase_IViewer_H
#include "ModuleBase.h"
+
#include <QObject>
#include <QMap>
#include <AIS_InteractiveContext.hxx>
class QKeyEvent;
class QContextMenuEvent;
class ModuleBase_IViewWindow;
+#ifdef HAVE_SALOME
+class OCCViewer_Fitter;
+#else
+class AppElements_Fitter;
+#endif
/**
* \ingroup GUI
myShowHighlight = false;
}
+#ifdef HAVE_SALOME
+ virtual void setFitter(OCCViewer_Fitter* theFitter) = 0;
+ virtual OCCViewer_Fitter* fitter() const = 0;
+#else
+ virtual void setFitter(AppElements_Fitter* theFitter) = 0;
+ virtual AppElements_Fitter* fitter() const = 0;
+#endif
+
static Handle(Prs3d_Drawer) DefaultHighlightDrawer;
+
signals:
/// Signal emited when last view window is closed
void lastViewClosed();