public:
/// Constructor
/// \param theWorkshop instance of workshop interface
- Standard_EXPORT ModuleBase_ShapeDocumentFilter(ModuleBase_IWorkshop* theWorkshop): SelectMgr_Filter(),
+ Standard_EXPORT
+ ModuleBase_ShapeDocumentFilter(ModuleBase_IWorkshop* theWorkshop): SelectMgr_Filter(),
myWorkshop(theWorkshop) {}
/// Returns True if the given owner is acceptable for selection
/// \param theOwner the selected owner
- Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
+ Standard_EXPORT virtual
+ Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
- DEFINE_STANDARD_RTTI(ModuleBase_ShapeDocumentFilter)
+ DEFINE_STANDARD_RTTIEXT(ModuleBase_ShapeDocumentFilter, SelectMgr_Filter)
protected:
/// Reference to workshop
Standard_EXPORT ModuleBase_ShapeInPlaneFilter(): SelectMgr_Filter() {}
/// Set working plane
- /// \param thePane plane object
+ /// \param thePlane a plane object
void setPlane(const std::shared_ptr<GeomAPI_Pln>& thePlane) { myPlane = thePlane; }
/// Returns current working plane
/// Returns True if the given owner is acceptable for selection
/// \param theOwner the selected owner
- Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
+ Standard_EXPORT virtual
+ Standard_Boolean IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const;
- DEFINE_STANDARD_RTTI(ModuleBase_ShapeInPlaneFilter)
+ DEFINE_STANDARD_RTTIEXT(ModuleBase_ShapeInPlaneFilter, SelectMgr_Filter)
private:
/// Working plane
std::shared_ptr<GeomAPI_Pln> myPlane;