Issues Accessing All Points in Structured Scans with ReCap SDK

stephen.sakharov
Explorer
Explorer

Issues Accessing All Points in Structured Scans with ReCap SDK

stephen.sakharov
Explorer
Explorer

Hi,

I've encountered an issue while working with some ReCap projects using the ReCap SDK, and I hope someone can provide guidance to what's happening:

I have scans that are marked as structured.
When I use scan->getNumberOfPoints(), it reports a number that's much larger than what I'd expect from the grid dimensions (i.e., scanRows * scanColumns).
When I iterate over the rows and columns of the structured scan and ensure each point passes being tested with structuredScan->isBadPoint(pixelIndex), I end up with even fewer valid points than expected.
This issue happens whether I load the project with RCProjectUserEdits::None or RCProjectUserEdits::All.

If I use an RCPointIterator, I can access all the points in the scan as reported by scan->getNumberOfPoints().
This is true regardless of whether I set RCPointIteratorSettings::setIsVisiblePointsOnly to true or false for these projects.

I want to access all the points as a structured scan because I need the grid layout (rows and columns).

Can someone help me understand why I am seeing this?

Regards,
Stephen.

0 Likes
Reply
131 Views
0 Replies
Replies (0)