ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccOrderChoiceDlg Class Reference

Dialog to assign roles to two entities (e.g. compared/reference) More...

#include <ecvOrderChoiceDlg.h>

Inheritance diagram for ccOrderChoiceDlg:
[legend]
Collaboration diagram for ccOrderChoiceDlg:
[legend]

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
 

Detailed Description

Dialog to assign roles to two entities (e.g. compared/reference)

Constructor & Destructor Documentation

◆ ccOrderChoiceDlg()

ccOrderChoiceDlg::ccOrderChoiceDlg ( ccHObject *  firstEntity,
QString  firstRole,
ccHObject *  secondEntity,
QString  secondRole,
ecvMainAppInterface *  app = 0 
)

◆ ~ccOrderChoiceDlg()

Member Function Documentation

◆ getFirstEntity()

ccHObject * ccOrderChoiceDlg::getFirstEntity ( )

Returns the first entity (new order)

References m_firstEnt, m_secondEnt, and m_useInputOrder.

Referenced by ccEntityAction::interpolateSFs(), and setColorsAndLabels().

◆ getSecondEntity()

ccHObject * ccOrderChoiceDlg::getSecondEntity ( )

Returns the second entity (new order)

References m_firstEnt, m_secondEnt, and m_useInputOrder.

Referenced by setColorsAndLabels().

◆ setColorsAndLabels()

◆ swap

void ccOrderChoiceDlg::swap ( )
protectedslot

Swaps the entities.

References m_useInputOrder, and setColorsAndLabels().

Referenced by ccOrderChoiceDlg().

Member Data Documentation

◆ m_app

ecvMainAppInterface* ccOrderChoiceDlg::m_app
protected

◆ m_firstEnt

ccHObject* ccOrderChoiceDlg::m_firstEnt
protected

◆ m_gui

Ui_RoleChoiceDialog* ccOrderChoiceDlg::m_gui
protected

◆ m_secondEnt

ccHObject* ccOrderChoiceDlg::m_secondEnt
protected

◆ m_useInputOrder

bool ccOrderChoiceDlg::m_useInputOrder
protected

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