Programmatically set data cursor position on occluded 3D data point (mesh)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Surfaces, Volumes, and Polygons dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!