X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Displayer.h;h=f65e9d2ec01e759f8cafb0299ab321a1eb86a460;hb=09d10e66ba0fac5353c8d1f138055fc6fe86fb65;hp=92ed520bfb38e94d838457c8cbfbbda6d3b5d5e6;hpb=f421395e52587dca27a63b18170f2c7e6daa6b9f;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Displayer.h b/src/HYDROCurveCreator/CurveCreator_Displayer.h index 92ed520b..f65e9d2e 100644 --- a/src/HYDROCurveCreator/CurveCreator_Displayer.h +++ b/src/HYDROCurveCreator/CurveCreator_Displayer.h @@ -13,15 +13,13 @@ class CURVECREATOR_EXPORT CurveCreator_Displayer typedef std::vector AISObjectsList; public: - CurveCreator_Displayer(Handle_AIS_InteractiveContext theContext ); + CurveCreator_Displayer( Handle_AIS_InteractiveContext theContext, + const int theZLayer = -1 ); ~CurveCreator_Displayer(void); - void display( AISObjectsList theCurveObjects, bool isUpdate ); - void erase( bool isUpdate ); - void highlight( const AISObjectsList& theObjects, bool isHL ); - - void displayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate ); - void redisplayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate ); + void display( const Handle_AIS_InteractiveObject& theObject, bool isUpdate ); + void eraseAll( bool isUpdate ); + //void highlight( const AISObjectsList& theObjects, bool isHL ); protected: Quantity_Color getActiveColor( bool isHL ); @@ -29,6 +27,7 @@ protected: private: Handle_AIS_InteractiveContext myContext; AISObjectsList myObjects; + int myZLayer; }; #endif