Skip to content

NormalSpaceSampling filter: add constructor to specify extract_removed_indices #4846

Merged
kunaltyagi merged 2 commits intoPointCloudLibrary:masterfrom
mvieth:normal_space_constructor
Aug 3, 2021
Merged

NormalSpaceSampling filter: add constructor to specify extract_removed_indices #4846
kunaltyagi merged 2 commits intoPointCloudLibrary:masterfrom
mvieth:normal_space_constructor

Conversation

@mvieth
Copy link
Copy Markdown
Member

@mvieth mvieth commented Jul 11, 2021

Fixes #2157
ABI break (correct me if I am wrong), so for PCL 1.13.0

@Morwenn
Copy link
Copy Markdown
Contributor

Morwenn commented Jul 12, 2021

Can't you avoid the ABI break by simply adding another constructor taking the bool parameter and having the default constructor forward its parameters to it? As an added bonus it would allow to mark the bool constructor as explicit to avoid surprises.

@mvieth
Copy link
Copy Markdown
Member Author

mvieth commented Jul 12, 2021

Can't you avoid the ABI break by simply adding another constructor taking the bool parameter and having the default constructor forward its parameters to it? As an added bonus it would allow to mark the bool constructor as explicit to avoid surprises.

You mean like this? I suppose that should work. Thanks for the suggestion!

@Morwenn
Copy link
Copy Markdown
Contributor

Morwenn commented Jul 14, 2021

Yeah, exactly like this :)

@kunaltyagi kunaltyagi added the changelog: enhancement Meta-information for changelog generation label Jul 16, 2021
@kunaltyagi kunaltyagi changed the title NormalSpaceSampling filter: add parameter to constructor NormalSpaceSampling filter: add constructor to specify extract_removed_indices Jul 16, 2021
@mvieth mvieth requested a review from larshg August 2, 2021 19:42
@kunaltyagi kunaltyagi merged commit 689bea9 into PointCloudLibrary:master Aug 3, 2021
@mvieth mvieth deleted the normal_space_constructor branch August 3, 2021 06:48
mvieth added a commit to mvieth/pcl that referenced this pull request Dec 27, 2021
…ed_indices` (PointCloudLibrary#4846)

* NormalSpaceSampling filter: add parameter to constructor

* Re-adding empty ctor and marking new ctor as explicit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: enhancement Meta-information for changelog generation module: filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing extract_removed_indices_ parameter in NormalSpaceSampling

4 participants