Salome HOME
Intersection point feature implementation
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintRigid.h
index dd66a6f636f4f2b734f976ffedce5a131673d42b..619a8bbd9d0c857365f21830ce0273ce45f0a7d2 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 // File:    SketchPlugin_ConstraintRigid.h
 // Created: 13 Oct 2014
 // Author:  Artem ZHIDKOV
@@ -11,7 +13,7 @@
 #include <list>
 
 /** \class SketchPlugin_ConstraintRigid
- *  \ingroup DataModel
+ *  \ingroup Plugins
  *  \brief Feature for creation of a new constraint which defines immovable object
  *
  *  This constraint has one attribute:
@@ -33,6 +35,9 @@ class SketchPlugin_ConstraintRigid : public SketchPlugin_ConstraintBase
     return MY_KIND;
   }
 
+  /// Returns the AIS preview
+  SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
+
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();