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

#include <LightApp_OCCSelector.h>

Inheritance diagram for LightApp_OCCSelector:
Inheritance graph

Public Member Functions

 LightApp_OCCSelector (OCCViewer_Viewer *, SUIT_SelectionMgr *)
 
virtual ~LightApp_OCCSelector ()
 
OCCViewer_Viewerviewer () 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 &)
 
virtual QString entry (const Handle_AIS_InteractiveObject &) const
 
- Protected Member Functions inherited from SUIT_Selector
void selectionChanged ()
 

Protected Attributes

SUIT_DataOwnerPtrList mySelectedExternals
 

Private Slots

virtual void onSelectionChanged ()
 
virtual void onDeselection ()
 

Private Attributes

OCCViewer_ViewermyViewer
 

Detailed Description

Custom selector to get/set selection from OCC viewer

Constructor & Destructor Documentation

LightApp_OCCSelector::LightApp_OCCSelector ( OCCViewer_Viewer viewer,
SUIT_SelectionMgr mgr 
)
LightApp_OCCSelector::~LightApp_OCCSelector ( )
virtual

Destructor.

Member Function Documentation

QString LightApp_OCCSelector::entry ( const Handle_AIS_InteractiveObject &  ) const
protectedvirtual

Gets entry ob object.

References Handle().

void LightApp_OCCSelector::getSelection ( SUIT_DataOwnerPtrList aList) const
protectedvirtual
void LightApp_OCCSelector::onDeselection ( )
privatevirtualslot

On selection cleared.

References SUIT_DataOwnerPtrList::clear(), and mySelectedExternals.

void LightApp_OCCSelector::onSelectionChanged ( )
privatevirtualslot

On selection changed.

References SUIT_Selector::selectionChanged().

virtual QString LightApp_OCCSelector::type ( ) const
inlinevirtual

Implements SUIT_Selector.

References OCCViewer_Viewer::Type().

OCCViewer_Viewer * LightApp_OCCSelector::viewer ( ) const

Gets viewer.

References myViewer.

Member Data Documentation

SUIT_DataOwnerPtrList LightApp_OCCSelector::mySelectedExternals
protected
OCCViewer_Viewer* LightApp_OCCSelector::myViewer
private

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