X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_TestOCC.h;h=0b656eacaa9e14eb844b7651a36450d64b7f9bf4;hb=3757459404253d2986fc8faeb9f3f0781768760d;hp=5de140c30af412fc88e09c8529b2b22c7bb0c23f;hpb=9dbc7bb239ec73b8af08652a2560e53bc211f2a4;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_TestOCC.h b/src/PartSet/PartSet_TestOCC.h index 5de140c30..0b656eaca 100644 --- a/src/PartSet/PartSet_TestOCC.h +++ b/src/PartSet/PartSet_TestOCC.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: PartSet_TestOCC.h // Created: 28 Apr 2014 // Author: Natalia ERMOLAEVA @@ -14,11 +16,14 @@ class Handle_V3d_View; /*! \class PartSet_TestOCC * \brief The operation to test OCC viewer work -*/ + */ class PARTSET_EXPORT PartSet_TestOCC { -public: - PartSet_TestOCC() {}; + public: + PartSet_TestOCC() + { + } + ; /// Creates a line feature, select it, modify the line. Check whether the highlight is correct. /// \param the workshop to provide an access to the application information @@ -28,17 +33,17 @@ public: /// BUG: The result contains the selection from the first presentation /// \param theContext a viewer interactive context /// \param theContext a view - static void testSelection_OCC(Handle_AIS_InteractiveContext theContext, - Handle_V3d_View theView); + static void local_selection_change_shape(Handle_AIS_InteractiveContext theContext, + Handle_V3d_View theView); /// Creates row OCC presentation, activate in the local context, select it, erase the presentation /// BUG: The selected shape are in the viewer even after erase /// \param theContext a viewer interactive context /// \param theContext a view - static void testErase_OCC(Handle_AIS_InteractiveContext theContext, - Handle_V3d_View theView); + static void local_selection_erase(Handle_AIS_InteractiveContext theContext, + Handle_V3d_View theView); -private: + private: /// Creates a temporary line /// \param the workshop to get the operation manager and the displayer