mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-31 01:20:53 +08:00
Use overrides where needed (+encoding and header cleanup)
This commit is contained in:
+5
-5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user