Select point in AIS_PointCloud


Is it possible to select/detect a point in an AIS_PointCloud?

I added an AIS_PointCloud and opened a local context with selection mode TopAbs_VERTEX



If I hoover over the points with the mouse nothing gets selected/detected. If I don't open a local context the complete PointCloud gets selected/detected

Tried with OCC7.1 and OCC7.3 with new selection mechanism. Both yield the same result, no detection / hilight.



Kirill Gavrilov's picture

AIS_PointCloud supports detection of points within AIS_PointCloud::SM_Points selection mode, but this mode is designed for selection of entire cloud, not individual points.
AIS_PointCloud has no any BRep vertices, hence TopAbs_VERTEX and other selection modes available for AIS_Shape are not applicable to this presentation.

Though, AIS_PointCloud::SM_SubsetOfPoints has been introduced recently within current development branch (master).

Arjan Schouten's picture

Thanks Kirill, makes sense.