Programmatically set data cursor position on occluded 3D data point (mesh)

1 次查看(过去 30 天)
I'm trying to programmatically set data cursor points on a mesh which works in general, but whenever an occluded point shall be marked, the closest point in line of sight is marked instead of the intended point. The resulting point is often on a complete different position i.e. opposite site of the the mesh. When i move the camera so that the point is visible it gets marked correctly.
I tried manipulating the "PointDataTip" options "PickableParts" and "HitTest" with no positive effect.
Any ideas on that?
Code:
ht = trisurf(mytriangulation);
hDataCursorMgr = datacursormode(ancestor(ht,'figure'));
hDatatip = createDatatip(hDataCursorMgr, ht);
set(hDatatip(n),'Position',mypos)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surfaces, Volumes, and Polygons 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by