Salome HOME
correct selection mode activation
[modules/hydro.git] / src / HYDRO_tests / TestViewer.h
index a27a8c7de5d1735ffd3e858d7318004d27b14ac0..61f0d6bb6d9e67cec2ba5996d95a1c14e556c86e 100644 (file)
@@ -8,6 +8,7 @@ class TopoDS_Shape;
 class QString;
 class QColor;
 class Handle_AIS_InteractiveObject;
+class Handle_Aspect_ColorScale;
 
 class TestViewer
 {
@@ -17,10 +18,13 @@ public:
   static OCCViewer_ViewWindow* viewWindow();
 
   static void show( const Handle_AIS_InteractiveObject& theObject,
-                    int theMode, int theSelelctionMode, bool isFitAll );
+                    int theMode, int theSelelctionMode, bool isFitAll, const char* theKey );
   static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const QColor& theColor );
   static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const char* theKey );
   static bool AssertImages( QString& theMessage );
+  static QColor GetColor(int i);
+
+  static Handle_Aspect_ColorScale showColorScale( bool );
 
 private:
   static OCCViewer_ViewManager* myViewManager;