X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDRO_tests%2FTestViewer.h;h=fd470bbd78976b2b1fa3bf90e5bae2bc8e8979e9;hb=15aed67b5f26dad1f17035be35bcd570e947158c;hp=7173bb2fc327682cc4c8399c40a91e1a5403097d;hpb=c4738cc6d2fb23c60a1922847991007b3ac4e6d7;p=modules%2Fhydro.git diff --git a/src/HYDRO_tests/TestViewer.h b/src/HYDRO_tests/TestViewer.h index 7173bb2f..fd470bbd 100644 --- a/src/HYDRO_tests/TestViewer.h +++ b/src/HYDRO_tests/TestViewer.h @@ -40,13 +40,16 @@ public: static void eraseAll( bool isUpdate ); static void show( const Handle_AIS_InteractiveObject& theObject, int theMode, int theSelectionMode, 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 void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const QColor& theColor, + int theUIANb = 10, int theVIANb = 10); + static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const char* theKey, + int theUIANb = 10, int theVIANb = 10); static bool AssertImages( QString& theMessage, const QImage* = 0, const char* theCase = 0 ); static QColor GetColor(int i); static Handle_Aspect_ColorScale colorScale(); static void showColorScale( bool ); + static bool ColorScaleIsDisplayed(); static void select( int theViewX, int theViewY );