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

Used when the histogram needs to come up as a main window. More...

#include <HistogramMain.qo.h>

Inheritance diagram for casa::HistogramMain:

Signals

void rangeChanged ()
 
void closing ()
 

Public Member Functions

 HistogramMain (bool showFileLoader, bool fitControls, bool rangeControls, bool plotModeControls, QWidget *parent)
 showFileLoader: true, for allowing the user to load image files (as opposed to just setting them programmatically). More...
 
bool setImage (std::shared_ptr< const casacore::ImageInterface< float > > img)
 
bool setImageRegion (casacore::ImageRegion *imageRegion, int id)
 
std::pair< double, double > getRange () const
 
void deleteImageRegion (int id)
 
void imageRegionSelected (int id)
 
void setChannelCount (int count)
 
void setChannelValue (int value)
 
void setDisplayPlotTitle (bool display)
 
void setDisplayAxisTitles (bool display)
 
void setPlotMode (int mode)
 
 ~HistogramMain ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 Clean up images and regions because we are going down. More...
 

Private Slots

void openFileLoader ()
 
void openHistogramSaver ()
 
void imageFileChanged ()
 
void openColorPreferences ()
 
void colorsChanged ()
 
void postStatusMessage (const QString &statusMsg)
 

Private Member Functions

 HistogramMain (const HistogramMain &histMain)
 
HistogramMainoperator= (const HistogramMain &histMain)
 
bool generateImage (const QString &imagePath, std::shared_ptr< const casacore::ImageInterface< float > > image)
 

Private Attributes

ImageLoader fileLoader
 
SaveHistogramWidget histogramSaver
 
ColorPreferencespreferencesColor
 
BinPlotWidgetplotWidget
 
casacore::LogIO logger
 
Ui::HistogramMainClass ui
 

Detailed Description

Used when the histogram needs to come up as a main window.

Definition at line 53 of file HistogramMain.qo.h.

Constructor & Destructor Documentation

casa::HistogramMain::HistogramMain ( bool  showFileLoader,
bool  fitControls,
bool  rangeControls,
bool  plotModeControls,
QWidget *  parent 
)

showFileLoader: true, for allowing the user to load image files (as opposed to just setting them programmatically).

fitControls: true, to allow the user to fit various curves to the histogram (Gaussian, casacore::Poisson, etc) rangeControls: true, allows the user to specify a min/max value plotModeControls: true, allows the user to specify whether to histogram images, a selected region, or multiple regions.

casa::HistogramMain::~HistogramMain ( )
casa::HistogramMain::HistogramMain ( const HistogramMain histMain)
private

Member Function Documentation

virtual void casa::HistogramMain::closeEvent ( QCloseEvent *  event)
protectedvirtual

Clean up images and regions because we are going down.

void casa::HistogramMain::closing ( )
signal
void casa::HistogramMain::colorsChanged ( )
privateslot
void casa::HistogramMain::deleteImageRegion ( int  id)
bool casa::HistogramMain::generateImage ( const QString &  imagePath,
std::shared_ptr< const casacore::ImageInterface< float > >  image 
)
private
std::pair<double,double> casa::HistogramMain::getRange ( ) const
void casa::HistogramMain::imageFileChanged ( )
privateslot
void casa::HistogramMain::imageRegionSelected ( int  id)
void casa::HistogramMain::openColorPreferences ( )
privateslot
void casa::HistogramMain::openFileLoader ( )
privateslot
void casa::HistogramMain::openHistogramSaver ( )
privateslot
HistogramMain& casa::HistogramMain::operator= ( const HistogramMain histMain)
private
void casa::HistogramMain::postStatusMessage ( const QString &  statusMsg)
privateslot
void casa::HistogramMain::rangeChanged ( )
signal
void casa::HistogramMain::setChannelCount ( int  count)
void casa::HistogramMain::setChannelValue ( int  value)
void casa::HistogramMain::setDisplayAxisTitles ( bool  display)
void casa::HistogramMain::setDisplayPlotTitle ( bool  display)
bool casa::HistogramMain::setImage ( std::shared_ptr< const casacore::ImageInterface< float > >  img)
bool casa::HistogramMain::setImageRegion ( casacore::ImageRegion imageRegion,
int  id 
)
void casa::HistogramMain::setPlotMode ( int  mode)

Member Data Documentation

ImageLoader casa::HistogramMain::fileLoader
private

Definition at line 101 of file HistogramMain.qo.h.

SaveHistogramWidget casa::HistogramMain::histogramSaver
private

Definition at line 102 of file HistogramMain.qo.h.

casacore::LogIO casa::HistogramMain::logger
private

Definition at line 105 of file HistogramMain.qo.h.

BinPlotWidget* casa::HistogramMain::plotWidget
private

Definition at line 104 of file HistogramMain.qo.h.

ColorPreferences* casa::HistogramMain::preferencesColor
private

Definition at line 103 of file HistogramMain.qo.h.

Ui::HistogramMainClass casa::HistogramMain::ui
private

Definition at line 107 of file HistogramMain.qo.h.


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