2 synchronized objects in viewer3d
5 ビュー (過去 30 日間)
古いコメントを表示
(Running Matlab 2023b)
Dear Community,
how can I have two volshow objects side by side in viewer3d that follow the same rotation/zoom commands via mouse?
Or how can I have two viewer3d that have linked mouse commands?
In essence I am looking for a functionality like "linkaxes" only for viewer3d
Where to look?
Many thanks,
André
0 件のコメント
回答 (2 件)
Tim Jackman
2024 年 7 月 26 日
編集済み: Walter Roberson
2024 年 7 月 26 日
The most performant way to achieve this is listening to the CameraMoving and/or CameraMoved events on both Viewer3d objects and in the callback updating the other viewer with the camera properties. No additional work should be required to enable interactive rotation (rotate3d won’t work here, but shouldn’t be required anyway). See this page for a little more information on the events that are broadcast when the user interactively moves the camera:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Basic Display についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!