Code: Select all
model->setRowCount(++curRow+1);
item = new QStandardItem("Box Center");
item->setFlags(Qt::ItemIsEnabled);
model->setItem(curRow,0,item);
CCVector3 bboxCenter = box.getCenter();
item = new QStandardItem(QString("(%1; %2; %3)").arg(bbosCenter.x,0,'f',3).arg(bbosCenter.y,0,'f',3).arg(bbosCenter.z,0,'f',3));
item->setFlags(Qt::ItemIsEnabled);
model->setItem(curRow,1,item);
Is it possible to add this functionality to the next release of CloudCompare?
--
Maxime SEGUIN
Ecole Nationale des Sciences Géographiques