20 #ifndef MAPLISTMODEL_H 21 #define MAPLISTMODEL_H 23 #include <QAbstractListModel> 39 int rowCount(
const QModelIndex &parent)
const;
40 bool removeRow(
int row,
const QModelIndex &parent);
41 bool AddMap(QSharedPointer<MapData> map);
42 QSharedPointer<MapData>
MapAt(
int row);
43 QVariant
data(
const QModelIndex &index,
int role)
const;
54 QList<QSharedPointer<MapData> > maps_;
58 #endif // MAPLISTMODEL_H bool AddMap(QSharedPointer< MapData > map)
The MapData class Class for processed map data. Images are created from this data.
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.
The VespucciWorkspace class A class which contains all "global variables" (that aren't held in MainWi...
void ClearMaps()
MapListModel::ClearMaps Clears the map container. Used when closing the program.
bool removeRow(int row, const QModelIndex &parent)
QVariant data(const QModelIndex &index, int role) const
MapListModel::data.
int rowCount(const QModelIndex &parent) const
QSharedPointer< MapData > MapAt(int row)
The MapListModel class Exposes the UI to the contents of the master map list.