X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ViewerFilters.h;h=8314f70546b69907268289f9e879098ef691e7ea;hb=061a63480f6840b6d945f7744b3b972e2d4cb25d;hp=a5d404ee81a84d850261c5a506c4244e8cd2b57e;hpb=05b2338e0d6dd63e13c05476973f231284f5297a;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ViewerFilters.h b/src/ModuleBase/ModuleBase_ViewerFilters.h index a5d404ee8..8314f7054 100644 --- a/src/ModuleBase/ModuleBase_ViewerFilters.h +++ b/src/ModuleBase/ModuleBase_ViewerFilters.h @@ -12,7 +12,8 @@ #include #include -#include + +#include class ModuleBase_IWorkshop; @@ -59,11 +60,11 @@ public: Standard_EXPORT ModuleBase_ShapeInPlaneFilter(): SelectMgr_Filter() {} /// Set working plane - /// \param thePane plane object - void setPlane(const gp_Pln& thePane) { myPlane = thePane; } + /// \param thePlane a plane object + void setPlane(const std::shared_ptr& thePlane) { myPlane = thePlane; } /// Returns current working plane - gp_Pln plane() const { return myPlane; } + std::shared_ptr plane() const { return myPlane; } /// Returns True if the given owner is acceptable for selection /// \param theOwner the selected owner @@ -72,7 +73,7 @@ public: DEFINE_STANDARD_RTTI(ModuleBase_ShapeInPlaneFilter) private: /// Working plane - gp_Pln myPlane; + std::shared_ptr myPlane; }; #endif