Salome HOME
cosmétique
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index ced4f93256dc95690016f6cf4c369507e7fd6982..677437aaf3145d2f1afd66418f2918b174673787 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// 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
@@ -400,7 +400,7 @@ public:
   virtual void createFeatures();
 
   /// add texture
-  PARTSET_EXPORT static void setTexture(const std::string &theTextureFile, const AISObjectPtr& thePrs);
+  static void setTexture(const AISObjectPtr& thePrs, const ResultPtr& theResult);
 
 public slots:
   /// Slolt called on object display
@@ -417,7 +417,8 @@ public slots:
   /// \param theTrsfType type of tranformation
   virtual void onViewTransformed(int theTrsfType = 2);
 
-  void onConflictingConstraints();
+  /// Called on remove conflicting constraints
+  void onRemoveConflictingConstraints();
 
 protected slots:
   /// Called when previous operation is finished