Commit 85909e05 authored by Philipp Schäfer's avatar Philipp Schäfer

itaAbstract3DModelVisualizer

-added public function to clear all plot items
parent 757df61b
......@@ -207,6 +207,11 @@ classdef (Abstract)itaAbstract3DModelVisualizer < handle
axis(this.mAxes, 'off');
axis(this.mAxes, 'equal');
end
function ClearPlot(this)
%Clears all plot items
this.clearPlotItems();
end
end
......
......@@ -39,7 +39,7 @@ classdef itaAc3dVisualizer < itaAbstract3DModelVisualizer
elseif isa(input, 'itaAc3dModel') && isscalar(input)
obj.mModel = input;
else
error('Input must be either a valid .ac filename or a AC3D object (itaAc3dModel).')
error('Input must be either a valid .ac filename or an AC3D object (itaAc3dModel).')
end
obj.clearPlotItems();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment