X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ViewerFilters.h;h=a5d404ee81a84d850261c5a506c4244e8cd2b57e;hb=0cea3be102af7247b2fe2c8035a1bb38b7bf82ae;hp=da1ba9f04af81a59fe36550b34b4cb5f3f17c584;hpb=72cb66f9c09b0f8fa224f6f8ab43548658015b49;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ViewerFilters.h b/src/ModuleBase/ModuleBase_ViewerFilters.h index da1ba9f04..a5d404ee8 100644 --- a/src/ModuleBase/ModuleBase_ViewerFilters.h +++ b/src/ModuleBase/ModuleBase_ViewerFilters.h @@ -20,6 +20,7 @@ class ModuleBase_IWorkshop; /** * \class ModuleBase_ShapeDocumentFilter +* \ingroup GUI * A filter which provides filtering of selection in 3d viewer. * Installing of this filter lets to select objects which belong to * currently active document or to global document @@ -46,6 +47,7 @@ protected: /** * \class ModuleBase_ShapeInPlaneFilter +* \ingroup GUI * A filter which provides filtering of selection in 3d viewer. * Installing of this filter lets to select of Vertexes and Edges which belongs to the given plane */ @@ -73,32 +75,4 @@ private: gp_Pln myPlane; }; - -/** -* \class ModuleBase_ObjectTypesFilter -* A filter which provides filtering of selection in 3d viewer. -* Installing of this filter lets to select only object of requested type -* Accepts following objects types: -* - "construction" - to select ModelAPI_ResultConstruction objects -*/ -DEFINE_STANDARD_HANDLE(ModuleBase_ObjectTypesFilter, SelectMgr_Filter); -class ModuleBase_ObjectTypesFilter: public ModuleBase_ShapeDocumentFilter -{ -public: - /// Constructor - /// \param theWorkshop instance of workshop interface - /// \param theTypes list of object types - Standard_EXPORT ModuleBase_ObjectTypesFilter(ModuleBase_IWorkshop* theWorkshop, const QStringList& theTypes): - ModuleBase_ShapeDocumentFilter(theWorkshop), myTypes(theTypes) {} - - /// 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; - - DEFINE_STANDARD_RTTI(ModuleBase_ObjectTypesFilter) -private: - /// List of object types - QStringList myTypes; -}; - -#endif \ No newline at end of file +#endif