Skip to content

Commit

Permalink
Ignore points indicated by classbit, do not toss them. Add (#3055)
Browse files Browse the repository at this point in the history
documentation.
  • Loading branch information
abellgithub committed May 26, 2020
1 parent d8d8547 commit 6a82968
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/stages/filters.smrf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ Options
cell
Cell size. [Default: 1.0]

classbits
Selectively ignore points marked as "synthetic", "keypoint", or "withheld".
[Default: empty string, use all points]

cut
Cut net size (``cut=0`` skips the net cutting step). [Default: 0.0]

Expand Down
1 change: 1 addition & 0 deletions filters/SMRFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ PointViewSet SMRFilter::run(PointViewPtr view)
PointViewPtr outView = view->makeNew();
// ignoredView is appended to the output untouched.
outView->append(*ignoredView);
outView->append(*syntheticView);
// inlierView is appended to the output, the only PointView whose
// classifications may have been altered.
outView->append(*inlierView);
Expand Down

0 comments on commit 6a82968

Please sign in to comment.