1 #ifndef OCCVIEWER_UTILITIES_H
2 #define OCCVIEWER_UTILITIES_H
4 #include "CurveCreator_Macro.hxx"
6 #include <OCCViewer_ViewWindow.h>
7 #include "OCCViewer_ViewWidget.h"
9 class OCCViewer_Viewer;
12 #pragma warning ( disable:4251 )
15 class CURVECREATOR_EXPORT OCCViewer_Utilities
20 * Set 2D mode for the viewer. Hide or show 3D actions.
21 * \param theViewer an OCC viewer
22 * \param theMode OCC view window mode
24 static void setViewer2DMode( OCCViewer_Viewer* theViewer,
25 const OCCViewer_ViewWindow::Mode2dType& theMode );
29 * Set 2D mode for the view widget. Hide or show 3D actions.
30 * \param theViewWidget an OCC view widget
31 * \param theMode OCC view window mode
33 static void setViewWidget2DMode( OCCViewer_ViewWidget* theViewWidget,
34 const OCCViewer_ViewWidget::Mode2dType& theMode );