Forum archiveIssue archiveVisualization and 3D Viewer

Archived discussion

IVtkTools_ShapePicker GetPickPosition alway return NULL

Visualization and 3D ViewerTue, 02/26/2019 - 04:513 replies

Browse this forum
QuestionAuthor

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

 

Author

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

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

02Commenter-2

thanks very much.

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

Commenter-2

03Commenter-1

The list of results is ordered from topmost to farthest.