Salome HOME
Issue #326 Distance constraint on 2 preselected segments problem
[modules/shaper.git] / src / PartSet / PartSet_TestOCC.h
index 5de140c30af412fc88e09c8529b2b22c7bb0c23f..0b656eacaa9e14eb844b7651a36450d64b7f9bf4 100644 (file)
@@ -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