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
Issue #3222: 1d fillet
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_Extrusion.h
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h
b/src/FeaturesPlugin/FeaturesPlugin_Extrusion.h
index d0a6e374530dcb3d161aa2397426660cb74691a1..1f657b30afceb5c7af7bcd94abf75c76f4300ce6 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Extrusion.h
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Extrusion.h
@@
-67,6
+67,13
@@
public:
return MY_CREATION_METHOD_ID;
}
return MY_CREATION_METHOD_ID;
}
+ /// Attribute name for creation method.
+ inline static const std::string& CREATION_METHOD_THROUGH_ALL()
+ {
+ static const std::string MY_CREATION_METHOD_ID("ThroughAll");
+ return MY_CREATION_METHOD_ID;
+ }
+
/// Attribute name of an object to which the extrusion grows.
inline static const std::string& DIRECTION_OBJECT_ID()
{
/// Attribute name of an object to which the extrusion grows.
inline static const std::string& DIRECTION_OBJECT_ID()
{
@@
-126,7
+133,7
@@
public:
/// Request for initialization of data model of the feature: adding all attributes.
FEATURESPLUGIN_EXPORT virtual void initAttributes();
/// Request for initialization of data model of the feature: adding all attributes.
FEATURESPLUGIN_EXPORT virtual void initAttributes();
- ///
Creates a new part document if needed
.
+ ///
Performs the algorithm and stores results it in the data structure
.
FEATURESPLUGIN_EXPORT virtual void execute();
protected:
FEATURESPLUGIN_EXPORT virtual void execute();
protected:
@@
-144,6
+151,12
@@
protected:
const ListOfShape& theBoundaryShapes,
const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
const int theIndex = 0);
const ListOfShape& theBoundaryShapes,
const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
const int theIndex = 0);
+
+ /// Retrieve direction argument.
+ void getDirection(std::shared_ptr<GeomAPI_Dir>& theDir);
+
+ /// Retrieve or calculate prism sizes.
+ virtual void getSizes(double& theToSize, double& theFromSize);
};
#endif
};
#endif