Fix SF namings

This commit is contained in:
Daniel Girardeau-Montaut
2019-05-03 23:52:33 +02:00
parent 48b193e194
commit 75f2133e97
10 changed files with 81 additions and 78 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
using namespace masc;
CCLib::ScalarField* Feature::PrepareSF(ccPointCloud* cloud, const char* resultSFName, SFCollector* generatedScalarFields/*=nullptr*/)
CCLib::ScalarField* Feature::PrepareSF(ccPointCloud* cloud, const char* resultSFName, SFCollector* generatedScalarFields/*=nullptr*/, SFCollector::Behavior behavior/*=SFCollector::CAN_REMOVE*/)
{
if (!cloud || !resultSFName)
{
@@ -54,7 +54,7 @@ CCLib::ScalarField* Feature::PrepareSF(ccPointCloud* cloud, const char* resultSF
if (generatedScalarFields)
{
//track the generated scalar-field
generatedScalarFields->push(cloud, newSF);
generatedScalarFields->push(cloud, newSF, behavior);
}
resultSF = newSF;