12 #include <QtCore/QMap>
19 class QwtLinearColorMap;
20 class QwtPlotSpectrogram;
99 QwtLinearColorMap*
cmap(
const int mapId,
bool log)
const;
TrackZoomer2D * _zoomer
a zoomer for the 2d view
QwtPlotSpectrogram * _spectrogram
the spectrogram that is used to display the 2d data
virtual void dataChanged()
update the plot
contains the base class for all data viewers
std::tr1::shared_ptr< self_type > shared_pointer
a shared pointer of this class
QString _geomFile
the geom file to convert data to lab frame
virtual QString type() const
retrieve the type of the data viewer
virtual QList< Data * > data()
set the data to display
void replot()
replot the data
widget to control the min and max values
virtual void saveData(const QString &filename)
save the data to file
MinMaxControl * _zControl
the z-scale control
virtual ~TwoDViewer()
destructor
void on_load_geomfile_triggered()
load the geom file
cass::GeometryInfo::lookupTable_t _lut
the geom file to convert data to lab frame
QwtLinearColorMap * cmap(const int mapId, bool log) const
retrieve a color id
TwoDViewer(QString title, QWidget *parent=0)
constructor
cass::Result< float >::shared_pointer _origHist
the original histogram
class to parse and retrieve info from geom files.
bool _isOriginalData
flag to tell whether the data is the original data
QSpinBox * _colorId
the colorbar control
a viewer that displays 2d data
combine info needed for the lookuptable
QAction * _axisTitleControl
an action to control the legend of curves
QStringList cmaps() const
return the list of possible colormaps
class that allows to zoom in a 2d view with tracking information
bool _lutPresent
the geom file to convert data to lab frame
virtual QStringList dataFileSuffixes() const
suffixes for the data of this viewer