28 typedef QVector<double>
qvec;
39 void SetMapData(
const vec &x,
const vec &y,
const vec &z);
43 void CenterCrosshairs();
44 uword GetCrosshairPosition(
double &x,
double &y,
double &z);
45 uword GetCrosshairPosition();
48 void rescaleDataRange(
bool onlyVisibleMaps =
false);
49 void setDataRange(
const QCPRange &dataRange);
50 void ColorScaleVisible(
bool visible);
51 void CrossHairsVisible(
bool visible);
52 void SetFonts(
const QFont &font);
53 void SetColorScaleLabel(
const QString &label_text);
54 QString ColorScaleLabel()
const;
55 void SetColorScaleTickCount(
int ticks);
56 void SetColorScaleTicks(
double min,
double max,
size_t count);
57 void SetClusterTicks(
size_t count);
58 void setInterpolate(
bool interpolate);
59 bool interpolate()
const;
64 void ShowCrosshairs(
bool show);
65 void MoveVerticalCrosshair(
int units);
66 void MoveHorizontalCrosshair(
int units);
67 void SaveImage(QString filename);
70 void SpectrumRequested(
size_t index);
71 void SpectrumHoldRequested(
size_t index);
72 void CoordinatesChanged(
double x,
double y,
double z);
83 QPair<int, int> rect_position_;
84 QPair<int, int> color_scale_position_;
VESPUCCI_EXPORT arma::uword max(arma::uword a, arma::uword b)
Vespucci::Math::max.
The central class of the library. This is the QWidget which displays the plot and interacts with the ...
A straight line that spans infinitely in both directions.
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.
A color scale for use with color coding data such as QCPColorMap.
VESPUCCI_EXPORT arma::uword min(arma::uword a, arma::uword b)
Vespucci::Math::min.
std::vector< double > stdvec
A plottable representing a two-dimensional color map in a plot.
Defines a color gradient for use with e.g. QCPColorMap.
Represents the range an axis is encompassing.