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
This is an improvement to use one AND filter in the viewer context. It serves to...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetValueFeature.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetValueFeature.h
b/src/ModuleBase/ModuleBase_WidgetValueFeature.h
index 2de332108f08e3186498abd6d2cab38e70a46d50..d11a6bfd9fd44f48eb5da343e32749852d28caf8 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetValueFeature.h
+++ b/
src/ModuleBase/ModuleBase_WidgetValueFeature.h
@@
-10,7
+10,7
@@
#include <ModelAPI_Result.h>
#include <ModelAPI_Result.h>
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
class GeomAPI_Pnt2d;
class GeomAPI_Pnt2d;
@@
-18,33
+18,33
@@
class GeomAPI_Pnt2d;
* \ingroup GUI
* \brief Custom widget value. The widget contains a feature and 2D point.
*/
* \ingroup GUI
* \brief Custom widget value. The widget contains a feature and 2D point.
*/
-class M
ODULEBASE_EXPORT M
oduleBase_WidgetValueFeature : public ModuleBase_WidgetValue
+class ModuleBase_WidgetValueFeature : public ModuleBase_WidgetValue
{
{
-public:
+
public:
/// Constructor
/// Constructor
- ModuleBase_WidgetValueFeature();
+ M
ODULEBASE_EXPORT M
oduleBase_WidgetValueFeature();
/// Destructor
/// Destructor
- virtual ~ModuleBase_WidgetValueFeature();
+
MODULEBASE_EXPORT
virtual ~ModuleBase_WidgetValueFeature();
/// Fill the widget values by given point
/// \param thePoint the point
/// Fill the widget values by given point
/// \param thePoint the point
-
void setResult(const Resul
tPtr& theFeature);
+
MODULEBASE_EXPORT void setObject(const Objec
tPtr& theFeature);
/// Returns the widget values by given point
/// \return theFeature the current feature
/// Returns the widget values by given point
/// \return theFeature the current feature
-
const ResultPtr& resul
t() const;
+
MODULEBASE_EXPORT const ObjectPtr& objec
t() const;
/// Fill the widget values by given point
/// \param thePoint the point
/// Fill the widget values by given point
/// \param thePoint the point
-
void setPoint(const boost
::shared_ptr<GeomAPI_Pnt2d>& thePoint);
+
MODULEBASE_EXPORT void setPoint(const std
::shared_ptr<GeomAPI_Pnt2d>& thePoint);
/// Returns the widget point
/// \return the current point
/// Returns the widget point
/// \return the current point
-
const boost
::shared_ptr<GeomAPI_Pnt2d>& point() const;
+
MODULEBASE_EXPORT const std
::shared_ptr<GeomAPI_Pnt2d>& point() const;
-private:
-
Resul
tPtr myResult;
-
boost
::shared_ptr<GeomAPI_Pnt2d> myPoint;
+
private:
+
Objec
tPtr myResult;
+
std
::shared_ptr<GeomAPI_Pnt2d> myPoint;
};
#endif
};
#endif