Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LightApp_VTKSelector Class Reference

#include <LightApp_VTKSelector.h>

Inheritance diagram for LightApp_VTKSelector:
Inheritance graph

Public Member Functions

virtual ~LightApp_VTKSelector ()
 
 LightApp_VTKSelector (SVTK_ViewModelBase *, SUIT_SelectionMgr *)
 
SVTK_ViewModelBaseviewer () const
 
virtual QString type () const
 
- Public Member Functions inherited from SUIT_Selector
 SUIT_Selector (SUIT_SelectionMgr *, QObject *=0)
 
virtual ~SUIT_Selector ()
 
SUIT_SelectionMgrselectionMgr () 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
 
QObjectowner () 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_ViewModelBasemyViewer
 

Detailed Description

Custom selector to get/set selection from object browser

Constructor & Destructor Documentation

virtual LightApp_VTKSelector::~LightApp_VTKSelector ( )
inlinevirtual
LightApp_VTKSelector::LightApp_VTKSelector ( SVTK_ViewModelBase viewer,
SUIT_SelectionMgr mgr 
)

Destuctor.

Constructor.

Member Function Documentation

void LightApp_VTKSelector::getSelection ( SUIT_DataOwnerPtrList aList) const
protectedvirtual

Gets list of selected data owners.(output aList).

Implements SUIT_Selector.

References SUIT_DataOwnerPtrList::append(), and Handle().

void LightApp_VTKSelector::onSelectionChanged ( )
privateslot

On selection changed.

void LightApp_VTKSelector::setSelection ( const SUIT_DataOwnerPtrList theList)
protectedvirtual

Sets selection to selector from data owner list theList.

Implements SUIT_Selector.

References Handle(), SVTK_Viewer::isSelectionEnabled(), and SALOME_InteractiveObject().

QString LightApp_VTKSelector::type ( ) const
virtual

Gets type of salome vtk viewer.

Implements SUIT_Selector.

SVTK_ViewModelBase * LightApp_VTKSelector::viewer ( ) const

Gets viewer.

Member Data Documentation

SVTK_ViewModelBase* LightApp_VTKSelector::myViewer
private

The documentation for this class was generated from the following files: