X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintRigid.h;h=ea6820a8060de88fa26b913b9f9a61d73327e06b;hb=05e2e4a31fa248d71445c40e35eeafa44f5d3b1b;hp=dd66a6f636f4f2b734f976ffedce5a131673d42b;hpb=bc46759639a0f56128a9ebbdaa586eda46c00fd4;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintRigid.h b/src/SketchPlugin/SketchPlugin_ConstraintRigid.h index dd66a6f63..ea6820a80 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintRigid.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintRigid.h @@ -1,6 +1,21 @@ -// File: SketchPlugin_ConstraintRigid.h -// Created: 13 Oct 2014 -// Author: Artem ZHIDKOV +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef SketchPlugin_ConstraintRigid_H_ #define SketchPlugin_ConstraintRigid_H_ @@ -11,7 +26,7 @@ #include /** \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 +48,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();