File indexing completed on 2024-04-21 03:40:38

0001 /*************************************************************************************
0002  *  Copyright (C) 2007-2011 by Aleix Pol <aleixpol@kde.org>                          *
0003  *  Copyright (C) 2010-2012 by Percy Camilo T. Aucahuasi <percy.camilo.ta@gmail.com> *
0004  *                                                                                   *
0005  *  This program is free software; you can redistribute it and/or                    *
0006  *  modify it under the terms of the GNU General Public License                      *
0007  *  as published by the Free Software Foundation; either version 2                   *
0008  *  of the License, or (at your option) any later version.                           *
0009  *                                                                                   *
0010  *  This program is distributed in the hope that it will be useful,                  *
0011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of                   *
0012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                    *
0013  *  GNU General Public License for more details.                                     *
0014  *                                                                                   *
0015  *  You should have received a copy of the GNU General Public License                *
0016  *  along with this program; if not, write to the Free Software                      *
0017  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA   *
0018  *************************************************************************************/
0019 
0020 
0021 #ifndef ABSTRACTPLOTITEM_H
0022 #define ABSTRACTPLOTITEM_H
0023 
0024 #include <plottingenums.h>
0025 
0026 namespace Analitza {
0027 
0028 class AbstractMappingGraph //strategy pattern
0029 {
0030 public:
0031     virtual ~AbstractMappingGraph();
0032 
0033     virtual const QString typeName() const = 0;
0034     virtual QString iconName() const = 0;
0035 
0036     virtual Dimension spaceDimension() const = 0;
0037     virtual CoordinateSystem coordinateSystem() const = 0;
0038     
0039 protected:
0040     AbstractMappingGraph() {}
0041 };
0042 
0043 }
0044 
0045 #endif // ABSTRACTPLOTITEM_H