Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topcat: handle point clouds differently for counting
Point counting was not working properly, because a count was made for each point SubCloud, and you could have one of those for each subset. So introduce a new class TableCloud which contains all the points with the same position coordinates, but aggregates those with different subsets. In this way each position in the point cloud is only iterated over once. This fixes errors in the displayed point count, and also means that other operations that need to iterate over displayed positions (e.g. blob inclusion) can work more efficiently.
- Loading branch information
Showing
7 changed files
with
599 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.