IVtkTools_ShapePicker GetPickPosition alway return NULL

IVtkTools_ShapePicker Pick() return number is not 0, but GetPickPosition() always return NULL, is this a bug or something need to be set?

Thanks very much

 

Kevin

Kirill Gavrilov's picture

IVtkTools_ShapePicker does not define GetPickPosition() point, only picked entity.
So yes, it might be considered as bug or implementation limitation.

Kevin Smith's picture

thanks very much.

e.g. one picking many objects. how to get top one? seems only be determined by pick position

Kevin

Kirill Gavrilov's picture

The list of results is ordered from topmost to farthest.