Hi,
I´m trying to access to graphically selected point cloud regions, i.e. by box where I just selected a small portion of a point cloud region.
I´ve tried many many options and checked which kind of object type is read if i.e:
- Trimble.Vce.Data.Scanning.ExposedPointCloudRegion or PointCloudRegion or DefaultPointCloudRegion, etc
- Then saw in the PointCloudRegion.py sample when using .Integration (however no way to find that ".Integration." as is in the object cataloghe) then the point cloud is a Trimble.Vce.Scanning.SDEIntegration.SdePointCloudRegionIntegration
So I can have access to the ExposedPointCloudRegion and through .Integration read the points etc but all points of that region, which is very time consuming and I would simply like to iterate through a small part of the region and then check i.e. highest/lowest, etc, but out of i.e. 1.000 points instead of 500 Million. For example only out of the following red marked area:

Is there a way to get only those points and iterate through them similar to the way we can do it for the whole points of a region? i.e.:
--------------------------------------------------------------
r = self.regions.SelectedEntity() # Selected Point Cloud Region from the list
if r:
self.currentProject.TransactionManager.AddBeginMark(Client.CommandGranularity.Command, self.Caption)
wv = self.currentProject[Project.FixedSerial.WorldView]
with TransactMethodCall(self.currentProject.TransactionCollector) as failGuard:
try:
count = 0
for p in r.Integration.GetPoints():
if count == 0:
self.dZmin = p.Z
self.dZmax = p.Z
count += 1
self.checkDistance(p)
... etc ...
--------------------------------------------------------------
Additionally, is there a way to select that subregion from the code? I mean i.e. picking a point on the point cloud and reading the points in a radius of Xm around that picked point only.
Thanks.
Regards,
Fernando
------------------------------
Fernando Calvo
calvo@calvo-geospatial.com------------------------------