Programmatically set data cursor position on occluded 3D data point (mesh)
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Surfaces, Volumes, and Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!