// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _StdSelect_ShapeTypeFilter_HeaderFile #define _StdSelect_ShapeTypeFilter_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_StdSelect_ShapeTypeFilter_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _SelectMgr_Filter_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_SelectMgr_EntityOwner_HeaderFile #include #endif class SelectMgr_EntityOwner; //! 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.
class StdSelect_ShapeTypeFilter : public 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; //! Returns the type of shape selected by the filter.
TopAbs_ShapeEnum Type() const; Standard_EXPORT virtual Standard_Boolean ActsOn(const TopAbs_ShapeEnum aStandardMode) const; DEFINE_STANDARD_RTTI(StdSelect_ShapeTypeFilter) protected: private: TopAbs_ShapeEnum myType; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif