49 QStringList data_keys,
51 QSharedPointer<VespucciWorkspace> workspace);
59 void SetColorScaleTickCount(
int ticks);
62 void ShowMapWindow(
bool show);
64 bool MapWindowVisible();
66 void CreateImage(
QCPColorGradient color_scheme,
bool interpolation,
int tick_count);
69 void SetXDescription(QString description);
70 void SetYDescription(QString description);
72 void setSize(
int key_size,
int value_size);
74 void setInterpolate(
bool enabled);
75 void ShowColorScale(
bool enabled);
76 void ShowAxes(
bool enabled);
78 void SetDataRange(
QCPRange new_range);
80 bool savePdf(
const QString &fileName,
84 bool savePng(
const QString & fileName,
90 bool saveJpg(
const QString & fileName,
96 bool saveBmp(
const QString & fileName,
101 bool saveTiff(
const QString & fileName,
107 void DrawScaleBar(
double width,
double height, QString units, QColor color, QString
position, QFont font);
109 void RescaleMapWidget();
110 void LockMapDisplaySize(
bool lock);
111 void ResetMapWidgetSize();
113 void SetFonts(
const QFont &font);
115 QString global_gradient_key();
120 void SetName(QString name, QString type);
121 void SetGlobalGradient(QString name);
122 void UpdateGlobalGradient();
133 QString x_axis_description_;
138 QString y_axis_description_;
143 QSharedPointer<VespucciDataset> dataset_;
175 QSize initial_map_size_;
177 QString global_gradient_key_;
179 QSharedPointer<VespucciWorkspace> workspace_;
182 QStringList data_keys_;
186 Q_DECLARE_METATYPE(QSharedPointer<MapData>)
The MapData class Class for processed map data. Images are created from this data.
VESPUCCI_EXPORT arma::uword max(arma::uword a, arma::uword b)
Vespucci::Math::max.
The VespucciDataset class This is the main class for dealing with hyperspectral data. This handles the import and export of spectra, and the creation of maps. Images are handled by the MapData class. This class is intended to be allocated on the heap inside of a smart pointer, there is no copy constructor.
VESPUCCI_EXPORT void position(arma::uword index, arma::uword n_rows, arma::uword n_cols, arma::uword &i, arma::uword &j)
Vespucci::Math::position Find row and column numbers for index.
The VespucciWorkspace class A class which contains all "global variables" (that aren't held in MainWi...
The MapPlot class A subclass of QCustomPlot for handling a specfic kind of color map. Provides a wrapper for a QCPColorScale and a QCPColorMap which are child widgets.
The MapViewer class Displays the image created by MapData.
VESPUCCI_EXPORT arma::uword min(arma::uword a, arma::uword b)
Vespucci::Math::min.
Holds the two-dimensional data of a QCPColorMap plottable.
Defines a color gradient for use with e.g. QCPColorMap.
Represents the range an axis is encompassing.
The MainWindow class The main window of the program, this is where the user performs most operations...