#include "CurveCreator_Macro.hxx"
#include <OCCViewer_ViewWindow.h>
+#include "OCCViewer_ViewWidget.h"
class OCCViewer_Viewer;
static void setViewer2DMode( OCCViewer_Viewer* theViewer,
const OCCViewer_ViewWindow::Mode2dType& theMode );
+
+ /*!
+ * Set 2D mode for the view widget. Hide or show 3D actions.
+ * \param theViewWidget an OCC view widget
+ * \param theMode OCC view window mode
+ */
+ static void setViewWidget2DMode( OCCViewer_ViewWidget* theViewWidget,
+ const OCCViewer_ViewWidget::Mode2dType& theMode );
};
#endif