X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDRO_tests%2FTestViewer.h;h=d5bd15d6aed14ff9f39c237f3f1792843dc4dcba;hb=9c947f35615e69e9e54a8c4b074dd1f2be13689c;hp=a27a8c7de5d1735ffd3e858d7318004d27b14ac0;hpb=609358898761f9c6633d52e364dcee5f91b8ae86;p=modules%2Fhydro.git diff --git a/src/HYDRO_tests/TestViewer.h b/src/HYDRO_tests/TestViewer.h index a27a8c7d..d5bd15d6 100644 --- a/src/HYDRO_tests/TestViewer.h +++ b/src/HYDRO_tests/TestViewer.h @@ -8,6 +8,7 @@ class TopoDS_Shape; class QString; class QColor; class Handle_AIS_InteractiveObject; +class Handle_Aspect_ColorScale; class TestViewer { @@ -17,10 +18,15 @@ 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 ); + + static void select( int theViewX, int theViewY ); private: static OCCViewer_ViewManager* myViewManager;