mirror of
https://gitlab.univ-nantes.fr/E164955Z/ptrans.git
synced 2026-08-30 00:00:26 +08:00
ajout commentaires
This commit is contained in:
+12
-1
@@ -38,6 +38,9 @@
|
||||
#include <ccGLWidget.h>
|
||||
#include <ccGLWindow.h>
|
||||
|
||||
/*
|
||||
Constructor
|
||||
*/
|
||||
RgbDialog::RgbDialog(ccPickingHub* pickingHub, QWidget* parent)
|
||||
: QDialog(parent)
|
||||
, Ui::RgbDialog()
|
||||
@@ -63,6 +66,9 @@ RgbDialog::RgbDialog(ccPickingHub* pickingHub, QWidget* parent)
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
Method for the first picking point functionnality
|
||||
*/
|
||||
void RgbDialog::pickPoint_first(bool state)
|
||||
{
|
||||
if (!m_pickingHub)
|
||||
@@ -86,6 +92,9 @@ void RgbDialog::pickPoint_first(bool state)
|
||||
pointPickingButton_first->blockSignals(false);
|
||||
}
|
||||
|
||||
/*
|
||||
Method for the second picking point functionnality
|
||||
*/
|
||||
void RgbDialog::pickPoint_second(bool state)
|
||||
{
|
||||
if (!m_pickingHub)
|
||||
@@ -109,7 +118,9 @@ void RgbDialog::pickPoint_second(bool state)
|
||||
pointPickingButton_second->blockSignals(false);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Method applied after a point is picked by picking point functionnality
|
||||
*/
|
||||
void RgbDialog::onItemPicked(const PickedItem& pi)
|
||||
{
|
||||
assert(pi.entity);
|
||||
|
||||
Reference in New Issue
Block a user