Vespucci  1.0.0
global.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright (C) 2014-2016 Wright State University - All Rights Reserved
3  Daniel P. Foose - Maintainer/Lead Developer
4 
5  This file is part of Vespucci.
6 
7  Vespucci is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Vespucci is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Vespucci. If not, see <http://www.gnu.org/licenses/>.
19 *******************************************************************************/
20 #ifndef GLOBAL
21 #define GLOBAL
22 #include "qcustomplot.h"
23 #include <mlpack/core.hpp>
24 namespace Vespucci{
25  bool SavePlot(QCustomPlot *plot, QString filename);
26  void SetQCPFonts(QCustomPlot *plot, const QFont &font);
27  QProgressDialog *DisplayProgressDialog(QWidget *parent, QString title, QString text);
28  bool KeysAreEqual(QStringList &keys1, QStringList &keys2);
32  };
33  QVector<double> FromArmaVec(const arma::vec &data);
34 }
35 #endif // GLOBAL
36 
QCPColorGradient gradient
Definition: global.h:30
QProgressDialog * DisplayProgressDialog(QWidget *parent, QString title, QString text)
Definition: global.cpp:156
QVector< double > FromArmaVec(const arma::vec &data)
Definition: global.cpp:180
The central class of the library. This is the QWidget which displays the plot and interacts with the ...
Definition: qcustomplot.h:1685
void SetQCPFonts(QCustomPlot *plot, const QFont &font)
Vespucci::SetQCPFonts.
Definition: global.cpp:136
bool KeysAreEqual(QStringList &keys1, QStringList &keys2)
Definition: global.cpp:168
Defines a color gradient for use with e.g. QCPColorMap.
Definition: qcustomplot.h:1905
Represents the range an axis is encompassing.
Definition: qcustomplot.h:481
A namespace for "global" functions, including math functions.
bool SavePlot(QCustomPlot *plot, QString filename)
Vespucci::SavePlot.
Definition: global.cpp:30