1 #ifndef SALOMEAPP_GLSELECTOR_H
2 #define SALOMEAPP_GLSELECTOR_H
6 #include <SUIT_Selector.h>
8 #include <GLViewer_Viewer2d.h>
10 class SALOMEAPP_EXPORT SalomeApp_GLSelector : public SUIT_Selector
15 SalomeApp_GLSelector( GLViewer_Viewer2d*, SUIT_SelectionMgr* );
16 virtual ~SalomeApp_GLSelector();
18 GLViewer_Viewer2d* viewer() const;
20 virtual QString type() const { return GLViewer_Viewer2d::Type(); }
23 void onSelectionChanged();
26 virtual void getSelection( SUIT_DataOwnerPtrList& ) const;
27 virtual void setSelection( const SUIT_DataOwnerPtrList& );
30 GLViewer_Viewer2d* myViewer;