MATLAB Answers

Get current view point (az,el) of a point cloud displayed in using "pcshow" command

35 ビュー (過去 30 日間)
Randika Vithanage
Randika Vithanage 2018 年 2 月 2 日
コメント済み: Walter Roberson 2018 年 2 月 15 日
Hi all,
Could you please let me know how to get the current view point of a point cloud which is displayed using "pcshow" command? Basically, I want to rotate a point cloud manually to get the best view and duplicated the same view point in multiple point clouds. I have tried using below solution but no luck.
Cheers.

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 2 月 2 日
pcshow() returns an Axes object, which you can retrieve the View property of to get the AZ, EL pair, or you can call view() with no argument to get the transformation matrix.
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 2 月 15 日
At the moment I do not know how to take the transformation matrix returned by view() with no parameters and use it in a different axes.

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

Community Treasure Hunt

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

Start Hunting!

Translated by