1 #ifndef GEOM_SELECTIONFILTER_H
2 #define GEOM_SELECTIONFILTER_H
4 #include <SalomeApp_Filter.h>
6 #include <TopoDS_Shape.hxx>
8 #include <qvaluelist.h>
11 #include <SALOMEconfig.h>
12 #include CORBA_SERVER_HEADER(GEOM_Gen)
14 class GEOM_SelectionFilter : public SalomeApp_Filter
17 GEOM_SelectionFilter( SalomeApp_Study* study, const bool theAll = false );
18 ~GEOM_SelectionFilter();
20 virtual bool isOk( const SUIT_DataOwner* ) const;
23 GEOM::GEOM_Object_ptr getObject( const SUIT_DataOwner* ) const;
24 bool getShape( const GEOM::GEOM_Object_ptr&, TopoDS_Shape& ) const;
26 bool contains( const int ) const;
27 void add( const int );
28 void remove( const int );
30 void setAll( const bool );
33 bool isShapeOk( const TopoDS_Shape& ) const;
36 QValueList<int> myTypes;