Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2.17. Improved management of overconstraint situation: Processing added arguments...
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_CompositeSketch.h
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
b/src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
index ed3f32437c4fee474c1ac717cc25c7130d86118a..d4307edeb965434798f47bab0fab2a3f5fa9e434 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
+++ b/
src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
@@
-15,6
+15,7
@@
/** \class FeaturesPlugin_CompositeSketch
* \ingroup Plugins
/** \class FeaturesPlugin_CompositeSketch
* \ingroup Plugins
+ * \brief Interface for the composite sketch feature.
*/
class FeaturesPlugin_CompositeSketch : public ModelAPI_CompositeFeature
{
*/
class FeaturesPlugin_CompositeSketch : public ModelAPI_CompositeFeature
{
@@
-26,7
+27,7
@@
class FeaturesPlugin_CompositeSketch : public ModelAPI_CompositeFeature
return MY_SKETCH_OBJECT_ID;
}
return MY_SKETCH_OBJECT_ID;
}
- /// Attribute name of sketch feature.
+ /// Attribute name of sketch feature
selection: needed for naming of the selected sketch
.
inline static const std::string& SKETCH_SELECTION_ID()
{
static const std::string MY_SKETCH_SELECTION_ID("sketch_selection");
inline static const std::string& SKETCH_SELECTION_ID()
{
static const std::string MY_SKETCH_SELECTION_ID("sketch_selection");
@@
-51,7
+52,7
@@
class FeaturesPlugin_CompositeSketch : public ModelAPI_CompositeFeature
/// \return the sub-feature unique identifier in this composite feature by zero-base index.
FEATURESPLUGIN_EXPORT virtual int subFeatureId(const int theIndex) const;
/// \return the sub-feature unique identifier in this composite feature by zero-base index.
FEATURESPLUGIN_EXPORT virtual int subFeatureId(const int theIndex) const;
- /// \return true if feature or re
us
lt belong to this composite feature as subs.
+ /// \return true if feature or re
su
lt belong to this composite feature as subs.
FEATURESPLUGIN_EXPORT virtual bool isSub(ObjectPtr theObject) const;
/// This method to inform that sub-feature is removed and must be removed from the internal data
FEATURESPLUGIN_EXPORT virtual bool isSub(ObjectPtr theObject) const;
/// This method to inform that sub-feature is removed and must be removed from the internal data
@@
-69,19
+70,12
@@
protected:
/// Define this function to create solids from faces with extrusion/revolution.
virtual void makeSolid(const std::shared_ptr<GeomAPI_Shape> theFace,
/// Define this function to create solids from faces with extrusion/revolution.
virtual void makeSolid(const std::shared_ptr<GeomAPI_Shape> theFace,
- std::shared_ptr<GeomAPI_Shape>& theResult,
- ListOfShape& theFromFaces,
- ListOfShape& theToFaces,
- std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape,
- std::shared_ptr<GeomAPI_DataMapOfShapeShape>& theDataMap) = 0;
+ std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape) = 0;
+ /// Results naming.
void loadNamingDS(std::shared_ptr<ModelAPI_ResultBody> theResultBody,
const std::shared_ptr<GeomAPI_Shape>& theBaseShape,
void loadNamingDS(std::shared_ptr<ModelAPI_ResultBody> theResultBody,
const std::shared_ptr<GeomAPI_Shape>& theBaseShape,
- const std::shared_ptr<GeomAPI_Shape>& theResult,
- const ListOfShape& theFromFaces,
- const ListOfShape& theToFaces,
- const std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape,
- const std::shared_ptr<GeomAPI_DataMapOfShapeShape>& theDataMap);
+ const std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape);
};
#endif
};
#endif