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
2024년 5월 3일
This might be helpful:
scivision
2024년 5월 3일
scivision
2024년 5월 3일
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
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일
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
2025년 12월 12일
We still need this feature to enable 3D scene modeling and reconstruction.
답변 (1개)
Gayathri
2025년 6월 5일
0 개 추천
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.
댓글 수: 1
Raymond
2025년 12월 12일
This does not help fix the camva issue.
카테고리
도움말 센터 및 File Exchange에서 Camera Views에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!