![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog to assign roles to two entities (e.g. compared/reference) More...
#include <ecvOrderChoiceDlg.h>


Public Member Functions | |
| ccOrderChoiceDlg (ccHObject *firstEntity, QString firstRole, ccHObject *secondEntity, QString secondRole, ecvMainAppInterface *app=0) | |
| Default constructor. More... | |
| virtual | ~ccOrderChoiceDlg () |
| Destructor. More... | |
| ccHObject * | getFirstEntity () |
| Returns the first entity (new order) More... | |
| ccHObject * | getSecondEntity () |
| Returns the second entity (new order) More... | |
Protected Slots | |
| void | swap () |
| Swaps the entities. More... | |
Protected Member Functions | |
| void | setColorsAndLabels () |
| Sets the right colors to the entities and updates the dialog. More... | |
Protected Attributes | |
| Ui_RoleChoiceDialog * | m_gui |
| ecvMainAppInterface * | m_app |
| ccHObject * | m_firstEnt |
| ccHObject * | m_secondEnt |
| bool | m_useInputOrder |
Dialog to assign roles to two entities (e.g. compared/reference)
Definition at line 18 of file ecvOrderChoiceDlg.h.
| ccOrderChoiceDlg::ccOrderChoiceDlg | ( | ccHObject * | firstEntity, |
| QString | firstRole, | ||
| ccHObject * | secondEntity, | ||
| QString | secondRole, | ||
| ecvMainAppInterface * | app = 0 |
||
| ) |
Default constructor.
Definition at line 26 of file ecvOrderChoiceDlg.cpp.
References m_gui, ecvColor::red(), ccQtHelpers::SetButtonColor(), setColorsAndLabels(), swap(), and ecvColor::yellow().
|
virtual |
Destructor.
Definition at line 51 of file ecvOrderChoiceDlg.cpp.
References ccDrawableObject::enableTempColor(), m_app, m_firstEnt, m_gui, m_secondEnt, ecvMainAppInterface::refreshAll(), and ecvDisplayTools::SetRedrawRecursive().
| ccHObject * ccOrderChoiceDlg::getFirstEntity | ( | ) |
Returns the first entity (new order)
Definition at line 72 of file ecvOrderChoiceDlg.cpp.
References m_firstEnt, m_secondEnt, and m_useInputOrder.
Referenced by ccEntityAction::interpolateSFs(), and setColorsAndLabels().
| ccHObject * ccOrderChoiceDlg::getSecondEntity | ( | ) |
Returns the second entity (new order)
Definition at line 76 of file ecvOrderChoiceDlg.cpp.
References m_firstEnt, m_secondEnt, and m_useInputOrder.
Referenced by setColorsAndLabels().
|
protected |
Sets the right colors to the entities and updates the dialog.
Definition at line 80 of file ecvOrderChoiceDlg.cpp.
References getFirstEntity(), ccObject::getName(), getSecondEntity(), m_app, m_gui, ecvColor::red(), ecvMainAppInterface::refreshAll(), ccObject::setEnabled(), ecvDisplayTools::SetRedrawRecursive(), ccDrawableObject::setTempColor(), ccDrawableObject::setVisible(), and ecvColor::yellow().
Referenced by ccOrderChoiceDlg(), and swap().
|
protectedslot |
Swaps the entities.
Definition at line 109 of file ecvOrderChoiceDlg.cpp.
References m_useInputOrder, and setColorsAndLabels().
Referenced by ccOrderChoiceDlg().
|
protected |
Definition at line 47 of file ecvOrderChoiceDlg.h.
Referenced by setColorsAndLabels(), and ~ccOrderChoiceDlg().
|
protected |
Definition at line 48 of file ecvOrderChoiceDlg.h.
Referenced by getFirstEntity(), getSecondEntity(), and ~ccOrderChoiceDlg().
|
protected |
Definition at line 46 of file ecvOrderChoiceDlg.h.
Referenced by ccOrderChoiceDlg(), setColorsAndLabels(), and ~ccOrderChoiceDlg().
|
protected |
Definition at line 49 of file ecvOrderChoiceDlg.h.
Referenced by getFirstEntity(), getSecondEntity(), and ~ccOrderChoiceDlg().
|
protected |
Definition at line 50 of file ecvOrderChoiceDlg.h.
Referenced by getFirstEntity(), getSecondEntity(), and swap().