X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Partition.h;h=bd7d7a7c5fe1f71a9a9c88ba917ea18bf67af1e4;hb=85b662214060cf733b44ac7822e3e4db49e2da4b;hp=9ec475f44baadc8fdc4f7185ab9baae35bf933fb;hpb=952efeb621c89406b5b4b2a7173ad42de4034fa8;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Partition.h b/src/FeaturesPlugin/FeaturesPlugin_Partition.h index 9ec475f44..bd7d7a7c5 100755 --- a/src/FeaturesPlugin/FeaturesPlugin_Partition.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Partition.h @@ -12,12 +12,11 @@ #include -/**\class FeaturesPlugin_Partition - * \ingroup Plugins - * \brief Feature for applying of Partition operations on Solids. Partition makes conjunctional - * faces of solids as shared. The result of partitions is a compsolid. - * Main objects are solids, tool objects are solids or faces - */ +/// \class FeaturesPlugin_Partition +/// \ingroup Plugins +/// \brief Feature for applying of Partition operations on Solids. Partition makes conjunctional +/// faces of solids as shared. The result of partitions is a compsolid. +/// Main objects are solids, tool objects are solids or faces class FeaturesPlugin_Partition : public ModelAPI_Feature { public: @@ -40,6 +39,13 @@ public: return MY_TOOL_LIST_ID; } + /// attribute name of combine flag + inline static const std::string& COMBINE_ID() + { + static const std::string MY_COMBINE_ID("partition_combine"); + return MY_COMBINE_ID; + } + /// Returns the kind of a feature FEATURESPLUGIN_EXPORT virtual const std::string& getKind() { @@ -57,8 +63,6 @@ public: FeaturesPlugin_Partition(); private: - std::shared_ptr getShape(const std::string& theAttrName); - /// Load Naming data structure of the feature to the document void loadNamingDS(std::shared_ptr theResultBody, const std::shared_ptr theBaseShape,