casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
casa::ColorHistogram Class Reference

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

#include <ColorHistogram.qo.h>

List of all members.

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)

Private Member Functions

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

Private Attributes

QtDisplayDatadisplayData
Ui::ColorHistogramClass ui
BinPlotWidget * histogram
WCPowerScaleHandlerpowerScaler
ColorHistogramScalecolorScale
ColorTransferWidgetcolorTransferWidget
double minIntensity
double maxIntensity
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)

Member Function Documentation

void casa::ColorHistogram::acceptRange ( ) [private, slot]
void casa::ColorHistogram::cancelRange ( ) [private, slot]
void casa::ColorHistogram::colorsChanged ( ) [private, slot]
Vector<uInt> casa::ColorHistogram::computeScaledIntensities ( const std::vector< float > &  intensities) [private]
void casa::ColorHistogram::histogramColorModeChanged ( bool  useColors) [private, slot]
void casa::ColorHistogram::invertColorMap ( int  invert) [private, slot]
ColorHistogram casa::ColorHistogram::operator= ( const ColorHistogram other) [private]
void casa::ColorHistogram::powerCyclesChangedLineEdit ( const QString &  str) [private, slot]
void casa::ColorHistogram::powerCyclesChangedSlider ( int  value) [private, slot]
void casa::ColorHistogram::resetPowerCycles ( float  powerCycles) [private]
void casa::ColorHistogram::updateColorMap ( bool  invertChanged = false) [private]

Member Data Documentation

const int casa::ColorHistogram::COLOR_MAX [private]

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

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

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

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

BinPlotWidget* casa::ColorHistogram::histogram [private]

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

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

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

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

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

const int casa::ColorHistogram::SLIDER_MAX [private]

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

const int casa::ColorHistogram::SLIDER_MIN [private]

Definition at line 83 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: