//**************************************************************************** //! \file obuffer.h //! \date 23-05-2003 //! \class oBuffer //! \brief A Buffer class for saving the options corresponding to an open file //***************************************************************************** // This file is part of the Dataview. // // Dataview is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // The Dataview is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with DataView; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA class oBuffer { public: bool ShowObj; bool ShowCol; double Size3d; oBuffer( bool so = false, bool sc = true, double s3 = 1.0) : ShowObj( so), ShowCol( sc), Size3d( s3) {}; void setBuf(bool so = false, bool sc = true, double s3 = 1.0) { ShowObj = so; ShowCol = sc; Size3d = s3; } };