Salome HOME
8b843ad1917767f4782d7afab75ddd35933b8d06
[modules/hydro.git] / src / HYDRO_tests / TestViewer.h
1
2 #pragma once
3
4 class OCCViewer_ViewManager;
5 class OCCViewer_Viewer;
6 class OCCViewer_ViewWindow;
7 class TopoDS_Shape;
8 class QString;
9 class QColor;
10
11 class TestViewer
12 {
13 public:
14   static OCCViewer_ViewManager* viewManager();
15   static OCCViewer_Viewer* viewer();
16   static OCCViewer_ViewWindow* viewWindow();
17
18   static void show( const TopoDS_Shape& theShape, const QColor& theColor, int theMode );
19   static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll = true );
20   static void dump( const TopoDS_Shape& theShape, int theMode, const QString& theName );
21
22 private:
23   static OCCViewer_ViewManager* myViewManager;
24   static OCCViewer_ViewWindow* myViewWindow;
25 };