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
The flushCreated/flushUpdated are obsolete and nobody uses them.
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_MakeShape.h
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
index 4fa0ef0a13522ec6d794db8e62369a56c31ca740..186b12c67e794bb7e05eec981099fb9d8579db96 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAlgoAPI_MakeShape.h
// Created: 17 Oct 2014
// Author: Sergey ZARITCHNY
// File: GeomAlgoAPI_MakeShape.h
// Created: 17 Oct 2014
// Author: Sergey ZARITCHNY
@@
-5,39
+7,40
@@
#define GeomAlgoAPI_MakeShape_H_
#include <GeomAPI_Shape.h>
#define GeomAlgoAPI_MakeShape_H_
#include <GeomAPI_Shape.h>
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
#include <GeomAlgoAPI.h>
#include <GeomAlgoAPI.h>
-//#include <BRepBuilderAPI_MakeShape.hxx>
+
/**\class GeomAlgoAPI_MakeShape
/**\class GeomAlgoAPI_MakeShape
- * \ingroup Data
Model
- * \Interface to the root class of all topological shapes constructions
+ * \ingroup Data
Algo
+ * \
brief
Interface to the root class of all topological shapes constructions
*/
class GeomAlgoAPI_MakeShape : public GeomAPI_Interface
{
*/
class GeomAlgoAPI_MakeShape : public GeomAPI_Interface
{
-
public:
-
/// Constructor
+public:
+ /// Constructor
GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape();
GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape();
-
+ /// Constructor by the already stored builder in the interface
GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape(void* theBuilder);
/// Returns a shape built by the shape construction algorithm
GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape(void* theBuilder);
/// Returns a shape built by the shape construction algorithm
- GEOMALGOAPI_EXPORT const
boost
::shared_ptr<GeomAPI_Shape> shape() const;
+ GEOMALGOAPI_EXPORT const
std
::shared_ptr<GeomAPI_Shape> shape() const;
- /// Returns the
list of shapes generated from the shape <theShape>
+ /// Returns the
list of shapes generated from the shape \a theShape
GEOMALGOAPI_EXPORT virtual void generated(
GEOMALGOAPI_EXPORT virtual void generated(
- const
boost
::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
+ const
std
::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
- /// Returns the list
of shapes modified from the shape <theShape>
+ /// Returns the list
of shapes modified from the shape \a theShape
GEOMALGOAPI_EXPORT virtual void modified(
GEOMALGOAPI_EXPORT virtual void modified(
- const
boost
::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
+ const
std
::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
/// Returns whether the shape is an edge
/// Returns whether the shape is an edge
- GEOMALGOAPI_EXPORT virtual bool isDeleted(const
boost
::shared_ptr<GeomAPI_Shape> theShape);
-
+ GEOMALGOAPI_EXPORT virtual bool isDeleted(const
std
::shared_ptr<GeomAPI_Shape> theShape);
+ /// Initializes the algorithm by the builder stored in the interface
GEOMALGOAPI_EXPORT void init(void* theMkShape);
protected:
GEOMALGOAPI_EXPORT void init(void* theMkShape);
protected:
- boost::shared_ptr<GeomAPI_Shape> myShape;
+ /// The resulting shape
+ std::shared_ptr<GeomAPI_Shape> myShape;
};
#endif
};
#endif