Mercurial > hg > ltpda
diff m-toolbox/classes/@modelViewer/modelViewer.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/classes/@modelViewer/modelViewer.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,53 @@ +% MODELVIEWER is a graphical user interface for viewing the built-in AO and +% SSM models +% +% CALL: modelViewer +% modelViewer(h) % build the model viewer in the figure with handle, h. +% +% M Hewitson 24-11-08 +% +% $Id: modelViewer.m,v 1.3 2011/04/08 08:56:34 hewitson Exp $ +% +classdef modelViewer < handle + + properties + handle = []; + signals = []; + end + properties (SetAccess=private, GetAccess=private) + Gproperties = []; + SigSelected = []; + end + + methods + function mainfig = modelViewer(varargin) + % Build the main figure + mainfig = buildMainfig(mainfig, varargin{:}); + % Make the GUI visible. + set(mainfig.handle,'Visible','on') + end + end % End public methods + + methods (Static=true) + % Main figure + varargout = cb_mainfigClose(varargin); + varargout = cb_selectModelType(varargin); + varargout = cb_selectModel(varargin); + varargout = buildParamsPanel(varargin); + varargout = getParamsFromPanel(varargin); + varargout = cb_buildModel(varargin); + varargout = buildObject(varargin); + varargout = cb_typeModel(varargin); + + end + + methods (Access = private) + varargout = buildMainfig(varargin); + end + + methods (Access = public) + end + +end + +% END