Get/set geoglobe view angle

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.

7 件のコメント

R
R 2024 年 5 月 3 日
scivision
scivision 2024 年 5 月 3 日
Thanks I think Campos doesn't have a way to get/set view angle in degrees
scivision
scivision 2024 年 5 月 3 日
I think this might turn into a feature request to have `camva()` work on GeographicAxes
Brahmadev
Brahmadev 2024 年 5 月 15 日
If you would like to control the camera viewing angle or zoom level, "camheight" can be used to achieve a similar effect. Could you share a usecase where "camheight" cannot be used?
Benjamin Lane
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
Wes Baldwin 2025 年 5 月 27 日
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.
Raymond
Raymond 2025 年 12 月 12 日
We still need this feature to enable 3D scene modeling and reconstruction.

サインインしてコメントする。

回答 (1 件)

Gayathri
Gayathri 2025 年 6 月 5 日

0 投票

Below are some of the MATLAB functions that might help to get/set camera viewing angles.
You can also use the "camroll" function to rotate the camera about view axis.

1 件のコメント

Raymond
Raymond 2025 年 12 月 12 日
This does not help fix the camva issue.

サインインしてコメントする。

製品

リリース

R2024a

タグ

質問済み:

2024 年 5 月 3 日

コメント済み:

2025 年 12 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by