Get/set geoglobe view angle
22 ビュー (過去 30 日間)
古いコメントを表示
With non-GeographicAxes, camva() can be used to get/set camera viewing angle. This doesn't seem possible for uifigure+geoglobe figures. Is there a way to at least get the viewing angle? The purpose is to simulate what a camera with a particular lens would see.
6 件のコメント
Benjamin Lane
2024 年 5 月 29 日
The angular field of view of the camera is not the same thing as the height of the camera. Please see 'camva' and associated documentation for explanaition of what were looking for. The geoglobe does not currently support this functionality, which is unfortunate.
Wes Baldwin
2025 年 5 月 27 日 22:35
I would also like to see this feature implemented. I don't understand why this was overlooked. camheight cannot reproduce the view angle. The geoglobe map is an amazing feature, but I cannot use it until camva is added. It would likely be an easy add.
回答 (1 件)
Gayathri
2025 年 6 月 5 日 4:08
Below are some of the MATLAB functions that might help to get/set camera viewing angles.
- "campitch" - Set or query pitch angle of camera for Site Viewer https://www.mathworks.com/help/comm/ref/siteviewer.campitch.html
- "camheading" - Set or query heading angle of camera for Site Viewerhttps://www.mathworks.com/help/comm/ref/siteviewer.camheading.html
You can also use the "camroll" function to rotate the camera about view axis.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Camera Views についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!