X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Displayer.h;h=f65e9d2ec01e759f8cafb0299ab321a1eb86a460;hb=4e1b53167581be7e084a3d71c075507bc6699c06;hp=6bfc8d08e3399d8a6f9a59f622faf041728c4d4d;hpb=8a464e12ecf0be7b04e99307b7adb2207b470cb5;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Displayer.h b/src/HYDROCurveCreator/CurveCreator_Displayer.h index 6bfc8d08..f65e9d2e 100644 --- a/src/HYDROCurveCreator/CurveCreator_Displayer.h +++ b/src/HYDROCurveCreator/CurveCreator_Displayer.h @@ -1,5 +1,5 @@ -#ifndef CURVECREATOR_AIS_CURVE_H -#define CURVECREATOR_AIS_CURVE_H +#ifndef CURVECREATOR_DISPLAYER_H +#define CURVECREATOR_DISPLAYER_H #include "CurveCreator_Macro.hxx" @@ -13,12 +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 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 ); @@ -26,6 +27,7 @@ protected: private: Handle_AIS_InteractiveContext myContext; AISObjectsList myObjects; + int myZLayer; }; #endif