##// END OF EJS Templates
Creates iterator for QCPColorMap...
Creates iterator for QCPColorMap Iterators will be used to call the method of computing the thresholds on the data of a QCPColorMap

File last commit:

r1008:76aa4956fdf0
r1017:d684e1205d9a
Show More
SqpColorScale.h
24 lines | 868 B | text/x-c | CLexer
#ifndef SCIQLOP_SQPCOLORSCALE_H
#define SCIQLOP_SQPCOLORSCALE_H
#include <Visualization/qcustomplot.h>
/**
* @brief The SqpColorScale struct represents the color scale for some graphs (such as
* spectrograms).
*
* Its implementation is based on the QCustomPlot color scale (@sa QCPColorScale) to which are added
* other useful properties for viewing in SciQlop
*/
struct SqpColorScale {
explicit SqpColorScale(QCustomPlot &plot);
/// QCustomPlot object representing the color scale.
/// @remarks The SqpColorScale instance has not the property on this pointer. The pointer must
/// remain valid throughout the existence of the SqpColorScale instance
QCPColorScale *m_Scale{nullptr};
bool m_AutomaticThreshold{false};
QCPColorGradient::GradientPreset m_GradientPreset{QCPColorGradient::gpJet};
};
#endif // SCIQLOP_SQPCOLORSCALE_H