rotate3d off not working
I have an application that uses _pcshow()_ to plot a point cloud. It seems to activate _rotate3d_ which I have to turn off by all means because I need the mouse cursor to trigger click events of graphical objects. When using _rotate3d off_ after _pcshow()_ Matlab prints the following error messages:
Error in vision.internal.pc.initializePCSceneControl>localRotateStopMode (line 79)
btn.State = ‘off’;
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in matlab.uitools.internal.uimode/modeControl (line 22)
hgfeval(hThis.ModeStopFcn);
Error in matlab.uitools.internal.uimode/set.Enable (line 173)
obj.Enable = modeControl(obj,value);
Error in matlab.uitools.internal.uimodemanager>localSetMode (line 173)
set(currMode,’Enable’,’off’);
Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 111)
obj.CurrentMode = localSetMode(obj,value);
Error in activateuimode (line 20)
set(hManager,’CurrentMode’,hMode);
Error in rotate3d>setState (line 319)
activateuimode(fig,”);
Error in rotate3d (line 202)
setState(hTarget,arg,getStyle(hFig));
Error in TransformApp/onAddImgClick (line 214)
rotate3d off
Error in TransformApp>@(varargin)obj.onAddImgClick(varargin{:}) (line 52)
‘Callback’, @obj.onAddImgClick);
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
>>
Note that the application uses _uiwait()_ and _uiresume()_ to block the execution of the script that launches my application. I also tried _h = rotate3d(); h.Enable = ‘off’;_ but it produces the same error.I have an application that uses _pcshow()_ to plot a point cloud. It seems to activate _rotate3d_ which I have to turn off by all means because I need the mouse cursor to trigger click events of graphical objects. When using _rotate3d off_ after _pcshow()_ Matlab prints the following error messages:
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element.
Error in vision.internal.pc.initializePCSceneControl>localRotateStopMode (line 79)
btn.State = ‘off’;
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in matlab.uitools.internal.uimode/modeControl (line 22)
hgfeval(hThis.ModeStopFcn);
Error in matlab.uitools.internal.uimode/set.Enable (line 173)
obj.Enable = modeControl(obj,value);
Error in matlab.uitools.internal.uimodemanager>localSetMode (line 173)
set(currMode,’Enable’,’off’);
Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 111)
obj.CurrentMode = localSetMode(obj,value);
Error in activateuimode (line 20)
set(hManager,’CurrentMode’,hMode);
Error in rotate3d>setState (line 319)
activateuimode(fig,”);
Error in rotate3d (line 202)
setState(hTarget,arg,getStyle(hFig));
Error in TransformApp/onAddImgClick (line 214)
rotate3d off
Error in TransformApp>@(varargin)obj.onAddImgClick(varargin{:}) (line 52)
‘Callback’, @obj.onAddImgClick);
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
>>
Note that the application uses _uiwait()_ and _uiresume()_ to block the execution of the script that launches my application. I also tried _h = rotate3d(); h.Enable = ‘off’;_ but it produces the same error. I have an application that uses _pcshow()_ to plot a point cloud. It seems to activate _rotate3d_ which I have to turn off by all means because I need the mouse cursor to trigger click events of graphical objects. When using _rotate3d off_ after _pcshow()_ Matlab prints the following error messages:
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element.
Error in vision.internal.pc.initializePCSceneControl>localRotateStopMode (line 79)
btn.State = ‘off’;
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in matlab.uitools.internal.uimode/modeControl (line 22)
hgfeval(hThis.ModeStopFcn);
Error in matlab.uitools.internal.uimode/set.Enable (line 173)
obj.Enable = modeControl(obj,value);
Error in matlab.uitools.internal.uimodemanager>localSetMode (line 173)
set(currMode,’Enable’,’off’);
Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 111)
obj.CurrentMode = localSetMode(obj,value);
Error in activateuimode (line 20)
set(hManager,’CurrentMode’,hMode);
Error in rotate3d>setState (line 319)
activateuimode(fig,”);
Error in rotate3d (line 202)
setState(hTarget,arg,getStyle(hFig));
Error in TransformApp/onAddImgClick (line 214)
rotate3d off
Error in TransformApp>@(varargin)obj.onAddImgClick(varargin{:}) (line 52)
‘Callback’, @obj.onAddImgClick);
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
>>
Note that the application uses _uiwait()_ and _uiresume()_ to block the execution of the script that launches my application. I also tried _h = rotate3d(); h.Enable = ‘off’;_ but it produces the same error. rotate3d MATLAB Answers — New Questions