Detect a Point in a Mesh of a 3D Picture Control

Updated Nov 23, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have a 3D Mesh created with the Create Mesh with Attributes.vi shown in a 3D Picture Control. When I click the mouse on the control, I would like to retrieve the coordinates of the 3D Object detected: how can I do it?

Solution

You can use an Event Structure registered to the 3D Pict Control : Mouse Down event and invoke the PickPoint method to get the coordinates of the first objects of the scene that the mouse intersects.

WAS THIS ARTICLE HELPFUL?

Not Helpful