0031458: Visualization - refine classes across Prs3d and StdPrs packages
[occt.git] / src / StdSelect / StdSelect_ShapeTypeFilter.hxx
index 2ee6953..5bf4320 100644 (file)
 #ifndef _StdSelect_ShapeTypeFilter_HeaderFile
 #define _StdSelect_ShapeTypeFilter_HeaderFile
 
-#include <Standard.hxx>
-#include <Standard_Type.hxx>
-
 #include <TopAbs_ShapeEnum.hxx>
 #include <SelectMgr_Filter.hxx>
-#include <Standard_Boolean.hxx>
-class SelectMgr_EntityOwner;
 
+class SelectMgr_EntityOwner;
 
-class StdSelect_ShapeTypeFilter;
 DEFINE_STANDARD_HANDLE(StdSelect_ShapeTypeFilter, SelectMgr_Filter)
 
-//! A filter framework which allows you to define a filter
-//! for a specific shape type. The types available include:
-//! -   compound
-//! -   compsolid
-//! -   solid
-//! -   shell
-//! -   face
-//! -   wire
-//! -   edge
-//! -   vertex.
+//! A filter framework which allows you to define a filter for a specific shape type.
 class StdSelect_ShapeTypeFilter : public SelectMgr_Filter
 {
-
+  DEFINE_STANDARD_RTTIEXT(StdSelect_ShapeTypeFilter, SelectMgr_Filter)
 public:
 
-  
   //! Constructs a filter object defined by the shape type aType.
   Standard_EXPORT StdSelect_ShapeTypeFilter(const TopAbs_ShapeEnum aType);
-  
-  Standard_EXPORT virtual Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& anobj) const Standard_OVERRIDE;
-  
-  //! Returns the type of shape selected by the filter.
-    TopAbs_ShapeEnum Type() const;
-  
-  Standard_EXPORT virtual Standard_Boolean ActsOn (const TopAbs_ShapeEnum aStandardMode) const Standard_OVERRIDE;
-
-
-
-
-  DEFINE_STANDARD_RTTIEXT(StdSelect_ShapeTypeFilter,SelectMgr_Filter)
-
-protected:
 
+  //! Returns the type of shape selected by the filter.
+  TopAbs_ShapeEnum Type() const {return myType;}
 
+  Standard_EXPORT virtual Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& anobj) const Standard_OVERRIDE;
 
+  Standard_EXPORT virtual Standard_Boolean ActsOn (const TopAbs_ShapeEnum aStandardMode) const Standard_OVERRIDE;
 
 private:
 
-
   TopAbs_ShapeEnum myType;
 
-
 };
 
-
-#include <StdSelect_ShapeTypeFilter.lxx>
-
-
-
-
-
 #endif // _StdSelect_ShapeTypeFilter_HeaderFile