![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog to select one or multiple entities. More...
#include <ecvEntitySelectionDlg.h>


Public Slots | |
| void | selectAll () |
| Selects all entities. More... | |
| void | selectNone () |
| Selects all entities. More... | |
Public Member Functions | |
| ecvEntitySelectionDialog (const ccHObject::Container &entities, bool multiSelectionEnabled, int defaultSelectedIndex=0, QWidget *parent=0, QString label=QString()) | |
| Default constructor. More... | |
| virtual | ~ecvEntitySelectionDialog () |
| Destructor. More... | |
| int | getSelectedIndex () const |
| Returns the selected index (unique selection mode) More... | |
| void | getSelectedIndexes (std::vector< int > &indexes) const |
| Returns the selected indexes (multi-selection mode) More... | |
Static Public Member Functions | |
| static int | SelectEntity (const ccHObject::Container &entities, int defaultSelectedIndex=0, QWidget *parent=0, QString label=QString()) |
| Static shortcut: unique selection mode. More... | |
| static bool | SelectEntities (const ccHObject::Container &entities, std::vector< int > &indexes, QWidget *parent=0, QString label=QString()) |
| Static shortcut: multi-selection mode. More... | |
Protected Attributes | |
| Ui_EntitySelectionDialog * | m_ui |
| Associated ui. More... | |
Dialog to select one or multiple entities.
Definition at line 36 of file ecvEntitySelectionDlg.h.
| ecvEntitySelectionDialog::ecvEntitySelectionDialog | ( | const ccHObject::Container & | entities, |
| bool | multiSelectionEnabled, | ||
| int | defaultSelectedIndex = 0, |
||
| QWidget * | parent = 0, |
||
| QString | label = QString() |
||
| ) |
Default constructor.
Definition at line 17 of file ecvEntitySelectionDlg.cpp.
References m_ui, selectAll(), and selectNone().
|
virtual |
| int ecvEntitySelectionDialog::getSelectedIndex | ( | ) | const |
Returns the selected index (unique selection mode)
Definition at line 74 of file ecvEntitySelectionDlg.cpp.
References m_ui.
Referenced by SelectEntity().
| void ecvEntitySelectionDialog::getSelectedIndexes | ( | std::vector< int > & | indexes | ) | const |
Returns the selected indexes (multi-selection mode)
Definition at line 80 of file ecvEntitySelectionDlg.cpp.
References m_ui.
Referenced by SelectEntities().
|
slot |
Selects all entities.
Definition at line 68 of file ecvEntitySelectionDlg.cpp.
References m_ui.
Referenced by ecvEntitySelectionDialog().
|
static |
Static shortcut: multi-selection mode.
Definition at line 110 of file ecvEntitySelectionDlg.cpp.
References getSelectedIndexes().
|
static |
Static shortcut: unique selection mode.
Definition at line 97 of file ecvEntitySelectionDlg.cpp.
References getSelectedIndex().
|
slot |
Selects all entities.
Definition at line 70 of file ecvEntitySelectionDlg.cpp.
References m_ui.
Referenced by ecvEntitySelectionDialog().
|
protected |
Associated ui.
Definition at line 77 of file ecvEntitySelectionDlg.h.
Referenced by ecvEntitySelectionDialog(), getSelectedIndex(), getSelectedIndexes(), selectAll(), selectNone(), and ~ecvEntitySelectionDialog().