casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::ColorHistogram Class Reference

Displays a histogram that allows the user to set the color scale for an image. More...

#include <ColorHistogram.qo.h>

Inheritance diagram for casa::ColorHistogram:

Public Member Functions

 ColorHistogram (QWidget *parent=0)
 
void setDisplayData (QtDisplayData *img)
 
 ~ColorHistogram ()
 

Private Slots

void resetIntensityRange ()
 
void acceptRange ()
 
void cancelRange ()
 
void colorsChanged ()
 
void invertColorMap (int invert)
 
void powerCyclesChangedSlider (int value)
 
void powerCyclesChangedLineEdit (const QString &str)
 
void histogramColorModeChanged (bool useColors)
 
void logScaleChanged (int logScaleAmount)
 

Private Member Functions

void updateColorMap (bool invertChanged=false)
 
void resetColorLookups ()
 
void resetPowerCycles (float powerCycles)
 
casacore::Vector< casacore::uIntcomputeScaledIntensities (const std::vector< float > &intensities)
 
 ColorHistogram (const ColorHistogram &other)
 
ColorHistogram operator= (const ColorHistogram &other)
 

Private Attributes

QtDisplayDatadisplayData
 
Ui::ColorHistogramClass ui
 
BinPlotWidgethistogram
 
WCPowerScaleHandlerpowerScaler
 
ColorHistogramScalecolorScale
 
ColorTransferWidgetcolorTransferWidget
 
double minIntensity
 
double maxIntensity
 
int logScale
 
const int COLOR_MAX
 
const int SLIDER_MIN
 
const int SLIDER_MAX
 
int SCALE_LIMIT
 

Detailed Description

Displays a histogram that allows the user to set the color scale for an image.

Definition at line 47 of file ColorHistogram.qo.h.

Constructor & Destructor Documentation

casa::ColorHistogram::ColorHistogram ( QWidget *  parent = 0)
casa::ColorHistogram::~ColorHistogram ( )
casa::ColorHistogram::ColorHistogram ( const ColorHistogram other)
private

Member Function Documentation

void casa::ColorHistogram::acceptRange ( )
privateslot
void casa::ColorHistogram::cancelRange ( )
privateslot
void casa::ColorHistogram::colorsChanged ( )
privateslot
casacore::Vector<casacore::uInt> casa::ColorHistogram::computeScaledIntensities ( const std::vector< float > &  intensities)
private
void casa::ColorHistogram::histogramColorModeChanged ( bool  useColors)
privateslot
void casa::ColorHistogram::invertColorMap ( int  invert)
privateslot
void casa::ColorHistogram::logScaleChanged ( int  logScaleAmount)
privateslot
ColorHistogram casa::ColorHistogram::operator= ( const ColorHistogram other)
private
void casa::ColorHistogram::powerCyclesChangedLineEdit ( const QString &  str)
privateslot
void casa::ColorHistogram::powerCyclesChangedSlider ( int  value)
privateslot
void casa::ColorHistogram::resetColorLookups ( )
private
void casa::ColorHistogram::resetIntensityRange ( )
privateslot
void casa::ColorHistogram::resetPowerCycles ( float  powerCycles)
private
void casa::ColorHistogram::setDisplayData ( QtDisplayData img)
void casa::ColorHistogram::updateColorMap ( bool  invertChanged = false)
private

Member Data Documentation

const int casa::ColorHistogram::COLOR_MAX
private

Definition at line 83 of file ColorHistogram.qo.h.

ColorHistogramScale* casa::ColorHistogram::colorScale
private

Definition at line 78 of file ColorHistogram.qo.h.

ColorTransferWidget* casa::ColorHistogram::colorTransferWidget
private

Definition at line 79 of file ColorHistogram.qo.h.

QtDisplayData* casa::ColorHistogram::displayData
private

Definition at line 74 of file ColorHistogram.qo.h.

BinPlotWidget* casa::ColorHistogram::histogram
private

Definition at line 76 of file ColorHistogram.qo.h.

int casa::ColorHistogram::logScale
private

Definition at line 82 of file ColorHistogram.qo.h.

double casa::ColorHistogram::maxIntensity
private

Definition at line 81 of file ColorHistogram.qo.h.

double casa::ColorHistogram::minIntensity
private

Definition at line 80 of file ColorHistogram.qo.h.

WCPowerScaleHandler* casa::ColorHistogram::powerScaler
private

Definition at line 77 of file ColorHistogram.qo.h.

int casa::ColorHistogram::SCALE_LIMIT
private

Definition at line 86 of file ColorHistogram.qo.h.

const int casa::ColorHistogram::SLIDER_MAX
private

Definition at line 85 of file ColorHistogram.qo.h.

const int casa::ColorHistogram::SLIDER_MIN
private

Definition at line 84 of file ColorHistogram.qo.h.

Ui::ColorHistogramClass casa::ColorHistogram::ui
private

Definition at line 75 of file ColorHistogram.qo.h.


The documentation for this class was generated from the following file: