#include <LightApp_VTKSelector.h>
Public Member Functions | |
virtual | ~LightApp_VTKSelector () |
LightApp_VTKSelector (SVTK_ViewModelBase *, SUIT_SelectionMgr *) | |
SVTK_ViewModelBase * | viewer () const |
virtual QString | type () const |
Public Member Functions inherited from SUIT_Selector | |
SUIT_Selector (SUIT_SelectionMgr *, QObject *=0) | |
virtual | ~SUIT_Selector () |
SUIT_SelectionMgr * | selectionMgr () const |
bool | isEnabled () const |
virtual void | setEnabled (const bool) |
bool | autoBlock () const |
virtual void | setAutoBlock (const bool) |
void | selected (SUIT_DataOwnerPtrList &) const |
void | setSelected (const SUIT_DataOwnerPtrList &) |
bool | hasSelectionMode (const int) const |
void | selectionModes (QList< int > &) const |
QObject * | owner () const |
Protected Member Functions | |
virtual void | getSelection (SUIT_DataOwnerPtrList &) const |
virtual void | setSelection (const SUIT_DataOwnerPtrList &) |
Protected Member Functions inherited from SUIT_Selector | |
void | selectionChanged () |
Private Slots | |
void | onSelectionChanged () |
Private Attributes | |
SVTK_ViewModelBase * | myViewer |
Custom selector to get/set selection from object browser
|
inlinevirtual |
LightApp_VTKSelector::LightApp_VTKSelector | ( | SVTK_ViewModelBase * | viewer, |
SUIT_SelectionMgr * | mgr | ||
) |
Destuctor.
Constructor.
|
protectedvirtual |
Gets list of selected data owners.(output aList).
Implements SUIT_Selector.
References SUIT_DataOwnerPtrList::append(), and Handle().
|
privateslot |
On selection changed.
|
protectedvirtual |
Sets selection to selector from data owner list theList.
Implements SUIT_Selector.
References Handle(), SVTK_Viewer::isSelectionEnabled(), and SALOME_InteractiveObject().
|
virtual |
Gets type of salome vtk viewer.
Implements SUIT_Selector.
SVTK_ViewModelBase * LightApp_VTKSelector::viewer | ( | ) | const |
Gets viewer.
|
private |