Tango: refactored mesh creation

This commit is contained in:
matlabbe
2017-06-16 14:44:48 -04:00
parent a1f2f95d1b
commit 8787ecceb8
5 changed files with 131 additions and 308 deletions

View File

@@ -1854,7 +1854,6 @@ bool ExportCloudsDialog::getExportedClouds(
TexturingState texturingState(_progressDialog, false);
util3d::denseMeshPostProcessing<pcl::PointXYZRGBNormal>(
mesh,
!lostColors,
_ui->doubleSpinBox_meshDecimationFactor->isEnabled()?(float)_ui->doubleSpinBox_meshDecimationFactor->value():0.0f,
_ui->spinBox_meshMaxPolygons->isEnabled()?_ui->spinBox_meshMaxPolygons->value():0,
iter->second,
@@ -1965,7 +1964,6 @@ bool ExportCloudsDialog::getExportedClouds(
TexturingState texturingState(_progressDialog, false);
util3d::denseMeshPostProcessing<pcl::PointXYZRGBNormal>(
mesh,
true,
_ui->doubleSpinBox_meshDecimationFactor->isEnabled()?(float)_ui->doubleSpinBox_meshDecimationFactor->value():0.0f,
_ui->spinBox_meshMaxPolygons->isEnabled()?_ui->spinBox_meshMaxPolygons->value():0,
vertices,