Use overrides where needed (+encoding and header cleanup)

This commit is contained in:
Romain Janvier
2025-02-12 09:54:04 +01:00
parent efab553b92
commit b4d3fc1a07
6 changed files with 29 additions and 34 deletions
+5 -5
View File
@@ -42,7 +42,7 @@
#include <QCoreApplication>
//system
#include <assert.h>
#include <cassert>
#if defined(_OPENMP)
#include <omp.h>
@@ -96,7 +96,7 @@ bool Tools::SaveClassifier( QString filename,
{
stream << "cloud: " << label << endl;
}
if (!corePointsRole.isEmpty())
{
stream << "# Core points (classified role)" << endl;
@@ -686,7 +686,7 @@ static bool ReadCorePoints(const QString& command, const Tools::NamedClouds& clo
} //end of subsampling options
}
return true;
}
@@ -698,7 +698,7 @@ static bool ReadCloud(const QString& command, Tools::NamedClouds& clouds, const
ccLog::Warning("Malformed file: expecting 2 tokens after 'cloud:' on line #" + QString::number(lineNumber));
return false;
}
QString pcName = tokens[0].trimmed();
QString pcFilename = defaultDir.absoluteFilePath(tokens[1].trimmed());
//try to open the cloud
@@ -1027,7 +1027,7 @@ CCCoreLib::ScalarField* Tools::RetrieveSF(const ccPointCloud* cloud, const QStri
}
}
}
if (sfIdx >= 0)
{
return cloud->getScalarField(sfIdx);