26 #ifndef COLORHISTOGRAM_QO_H
27 #define COLORHISTOGRAM_QO_H
29 #include <QMainWindow>
32 #include <display/QtViewer/ColorHistogram.ui.h>
38 class ColorHistogramScale;
39 class WCPowerScaleHandler;
40 class ColorTransferWidget;
75 Ui::ColorHistogramClass
ui;
90 #endif // COLORHISTOGRAM_QO_H
ColorHistogramScale * colorScale
ColorHistogram operator=(const ColorHistogram &other)
void powerCyclesChangedLineEdit(const QString &str)
void logScaleChanged(int logScaleAmount)
Overrides QwtLinearColorMap in order to provide QwtPlot color lookups based on a casa ColormapDefinit...
Displays a histogram that allows the user to set the color scale for an image.
ColorTransferWidget * colorTransferWidget
Ui::ColorHistogramClass ui
BinPlotWidget * histogram
void resetIntensityRange()
void histogramColorModeChanged(bool useColors)
void powerCyclesChangedSlider(int value)
void resetPowerCycles(float powerCycles)
void updateColorMap(bool invertChanged=false)
ColorHistogram(QWidget *parent=0)
casacore::Vector< casacore::uInt > computeScaledIntensities(const std::vector< float > &intensities)
void setDisplayData(QtDisplayData *img)
Linear, logarithmic and exponential scaling of data for the WorldCanvas.
QtDisplayData * displayData
void invertColorMap(int invert)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
WCPowerScaleHandler * powerScaler