RCSpatialFilter performance issue and wrong behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear ReCap SDK team,
I used the documentation and worked myself throug the topic:
Using Temporary Spatial Filters
The filter that I used is RCBoxSpatialFilter. First I compared the performance of the Sdk with that of ObjectArx.
The iteration over the points with the filter took longer than without them.
Therefore, I tested the same example with ObjectARX:
I made two observations:
- with ObjectArx it is much faster than with the SDK. This leads to the question: Does the ReCap SDK use an octree structure, does it just iterate over all points or am I messing something?
- the number of points contained by the box differs.
I created a new rcp file containing all points that were filtered with the ReCap SDK. Here you can see the filtered part of the point cloud together with the box that I used to filter the points.
It seems that the RCBoxSpatialFilter does not work properly. I can provide all data and the code I used if necessary.
I am very excited to receive an answer.