www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@abstractoptions/abstractoptions.m

    function obj = abstractoptions(varargin)
%ABSTRACTPLOT Constructor for abstract options object
%
% obj = cgsurfview.abstractoptions(varargin)
%
% This is the superclass of all the surfaceviewer's options objects
% and manages a list of "listeners", which are all plot objects.  The
% listeners are notified (view their optionsChanged methods) when
% the options are edited.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


if nargin && isa(varargin{1}, 'cgsurfview.abstractoptions')
   obj = varargin{1};
   varargin(1) = [];
else
   obj = cgsurfview.abstractoptions;
end