X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultPart.h;h=418e2d9d9f3aed4d8bda51447a0d4c511ee61b14;hb=d3721fe136cb494c4998fce055de7ac390fc3f12;hp=1d66dba1885b03b0d1e751aa403a26abd721de7d;hpb=1b93f1881c5fec599aa79707f93c84dd9c287bc0;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultPart.h b/src/ModelAPI/ModelAPI_ResultPart.h index 1d66dba18..418e2d9d9 100644 --- a/src/ModelAPI/ModelAPI_ResultPart.h +++ b/src/ModelAPI/ModelAPI_ResultPart.h @@ -1,14 +1,28 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: ModelAPI_ResultPart.h -// Created: 07 Jul 2014 -// Author: Mikhail PONIKAROV +// Copyright (C) 2014-2017 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 ModelAPI_ResultPart_H_ #define ModelAPI_ResultPart_H_ #include "ModelAPI_Result.h" -#include +class GeomAPI_Trsf; #include @@ -46,13 +60,10 @@ class ModelAPI_ResultPart : public ModelAPI_Result return RESULT_BODY_COLOR; } - // Part result can not be cencealed, even by the movement features - MODELAPI_EXPORT virtual bool isConcealed(); - /// Returns the part-document of this result virtual std::shared_ptr partDoc() = 0; - /// Returns the original part result: for transfomration features results this is + /// Returns the original part result: for transformation features results this is /// the original Part feature result virtual std::shared_ptr original() = 0; @@ -69,7 +80,7 @@ class ModelAPI_ResultPart : public ModelAPI_Result virtual bool updateInPart(const int theIndex) = 0; /// Applies the additional transformation of the part - virtual void setTrsf(std::shared_ptr theThis, + virtual void setTrsf(std::shared_ptr theThis, const std::shared_ptr& theTransformation) = 0; /// Returns the shape by the name in the part