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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surfaces, Volumes, and Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!