reference system does not rotate (pcshow)

1 view (last 30 days)
Hi!
I noticed the reference system created using pcshow is not rotating properly. It seems to rotate just around the x-axis (the red-axis in the picture is always static). Is there a way to solve it? Thank you
figure
ptCloud = pcread('teapot.ply');
pc(iFig) = pcshow(ptCloud, 'Parent',gca);
Error using uicontrol
This functionality is not available on remote platforms.

Error in rotate3d>localCreateAzElIndicator (line 475)
rdata.ModeStateData.textBoxText = uicontrol('Parent',hFig,'Units','Pixels',...

Error in rotate3d>localDoRotateOn (line 505)
localCreateAzElIndicator(rdata)

Error in rotate3d>@(~,~)localDoRotateOn(rdata) (line 390)
set(rdata,'ModeStartFcn',@(~,~)localDoRotateOn(rdata));

Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});

Error in matlab.uitools.internal.uimode/modeControl (line 16)
hgfeval(hThis.ModeStartFcn);

Error in matlab.uitools.internal.uimode/set.Enable (line 167)
obj.Enable = modeControl(obj,value);

Error in matlab.uitools.internal.uimodemanager>localSetMode (line 200)
set(newMode,'Enable','on');

Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 119)
obj.CurrentMode = localSetMode(obj,value);

Error in activateuimode (line 30)
set(hManager,'CurrentMode',hMode);

Error in rotate3d>setState (line 360)
activateuimode(fig,'Exploration.Rotate3d');

Error in rotate3d (line 259)
setState(hTarget,arg2,rotatestyle)

Error in pointclouds.internal.pcui.initializePCSceneControl>initUIMode (line 121)
rotate3d(pcAxes,'on');

Error in pointclouds.internal.pcui.initializePCSceneControl (line 12)
initUIMode(hFigure, pcAxes);

Error in pcshow (line 160)
pointclouds.internal.pcui.initializePCSceneControl(hFigure, currentAxes, hObj, vertAxis,...

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by