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
WidgetMultiSelector preparation to use ModelAPI_AttributeRefAttrList.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ViewerFilters.h
diff --git
a/src/ModuleBase/ModuleBase_ViewerFilters.h
b/src/ModuleBase/ModuleBase_ViewerFilters.h
index a5d404ee81a84d850261c5a506c4244e8cd2b57e..8314f70546b69907268289f9e879098ef691e7ea 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ViewerFilters.h
+++ b/
src/ModuleBase/ModuleBase_ViewerFilters.h
@@
-12,7
+12,8
@@
#include <SelectMgr_Filter.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_Filter.hxx>
#include <SelectMgr_EntityOwner.hxx>
-#include <gp_Pln.hxx>
+
+#include <GeomAPI_Pln.h>
class ModuleBase_IWorkshop;
class ModuleBase_IWorkshop;
@@
-59,11
+60,11
@@
public:
Standard_EXPORT ModuleBase_ShapeInPlaneFilter(): SelectMgr_Filter() {}
/// Set working plane
Standard_EXPORT ModuleBase_ShapeInPlaneFilter(): SelectMgr_Filter() {}
/// Set working plane
- /// \param theP
ane
plane object
- void setPlane(const
gp_Pln& thePane) { myPlane = theP
ane; }
+ /// \param theP
lane a
plane object
+ void setPlane(const
std::shared_ptr<GeomAPI_Pln>& thePlane) { myPlane = thePl
ane; }
/// Returns current working plane
/// Returns current working plane
-
gp_Pln
plane() const { return myPlane; }
+
std::shared_ptr<GeomAPI_Pln>
plane() const { return myPlane; }
/// Returns True if the given owner is acceptable for selection
/// \param theOwner the selected owner
/// 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
DEFINE_STANDARD_RTTI(ModuleBase_ShapeInPlaneFilter)
private:
/// Working plane
-
gp_Pln
myPlane;
+
std::shared_ptr<GeomAPI_Pln>
myPlane;
};
#endif
};
#endif