RangeControl Class Reference

#include <rangecontrol.h>

Inheritance diagram for RangeControl:

Inheritance graph
[legend]
Collaboration diagram for RangeControl:

Collaboration graph
[legend]
List of all members.

Signals

void reTextureNeeded ()
void changeProjRigging ()
void changeFieldInfo ()
void changePolVect ()

Public Member Functions

 RangeControl (QWidget *parent=0)
void init (Skymap *map_)
Projection getProjection () const
Field getField () const
PolVectors getPolVect () const
int getMapIndex (void) const
float getMinimum ()
float getMaximum ()
int getRigging () const
ColorTablegetColorTable () const
void setProjection (Projection)
void setField (Field)
void setPolarVect (PolVectors)

Private Slots

void on_projectionSelect_activated (int)
void on_fieldSelect_activated (int)
void on_riggingSelect_activated (int)
void on_colorSelect_activated (int)
void on_polarVectorBox_clicked (bool)
void updateTexture (float l, float u)

Private Attributes

Projection proj
Field fld
int rigging
PolVectors pv
float minv
float maxv
ColorTableList ctl
Skymapmap
std::vector< Fieldfields

Detailed Description

Definition at line 17 of file rangecontrol.h.


Constructor & Destructor Documentation

RangeControl::RangeControl ( QWidget *  parent = 0  ) 

Definition at line 22 of file rangecontrol.cpp.

References fld, Ui_RangeControl::histogramWidget, I, map, Off, proj, pv, rigging, Ui_RangeControl::riggingSelect, Ui_RangeControl::setupUi(), Spherical, and updateTexture().


Member Function Documentation

void RangeControl::changeFieldInfo (  )  [signal]

Definition at line 112 of file moc_rangecontrol.cpp.

Referenced by on_fieldSelect_activated(), and setField().

void RangeControl::changePolVect (  )  [signal]

Definition at line 118 of file moc_rangecontrol.cpp.

Referenced by on_polarVectorBox_clicked(), and setPolarVect().

void RangeControl::changeProjRigging (  )  [signal]

Definition at line 106 of file moc_rangecontrol.cpp.

Referenced by on_projectionSelect_activated(), on_riggingSelect_activated(), and setProjection().

ColorTable * RangeControl::getColorTable (  )  const

Definition at line 221 of file rangecontrol.cpp.

References Ui_RangeControl::colorSelect, and ctl.

Referenced by SkyTexture::set().

Field RangeControl::getField (  )  const [inline]

Definition at line 28 of file rangecontrol.h.

References fld.

Referenced by mainWindow::newField(), and SkyTexture::set().

int RangeControl::getMapIndex ( void   )  const

float RangeControl::getMaximum (  )  [inline]

Definition at line 32 of file rangecontrol.h.

References maxv.

Referenced by SkyTexture::set().

float RangeControl::getMinimum (  )  [inline]

Definition at line 31 of file rangecontrol.h.

References minv.

Referenced by SkyTexture::set().

PolVectors RangeControl::getPolVect (  )  const [inline]

Definition at line 29 of file rangecontrol.h.

References pv.

Referenced by mainWindow::newPolVect().

Projection RangeControl::getProjection (  )  const [inline]

Definition at line 27 of file rangecontrol.h.

References proj.

Referenced by mainWindow::newRigging(), mainWindow::proj3Dsphere(), and mainWindow::projMollweide().

int RangeControl::getRigging (  )  const [inline]

Definition at line 33 of file rangecontrol.h.

References rigging.

Referenced by mainWindow::mainWindow(), and mainWindow::newRigging().

void RangeControl::init ( Skymap map_  ) 

Definition at line 48 of file rangecontrol.cpp.

References fields, Ui_RangeControl::fieldSelect, fld, Skymap::has_Nobs(), Skymap::has_Polarization(), Skymap::has_Temperature(), Ui_RangeControl::histogramWidget, I, map, Nobs, Off, P, Ui_RangeControl::polarVectorBox, pv, Q, HistogramWidget::set(), and U.

Referenced by ControlDialog::init().

void RangeControl::on_colorSelect_activated ( int   )  [private, slot]

Definition at line 164 of file rangecontrol.cpp.

References Ui_RangeControl::colorSelect, ctl, Ui_RangeControl::histogramWidget, reTextureNeeded(), and HistogramWidget::set().

void RangeControl::on_fieldSelect_activated ( int   )  [private, slot]

Definition at line 127 of file rangecontrol.cpp.

References changeFieldInfo(), fields, fld, Ui_RangeControl::histogramWidget, map, and HistogramWidget::set().

void RangeControl::on_polarVectorBox_clicked ( bool   )  [private, slot]

Definition at line 177 of file rangecontrol.cpp.

References changePolVect(), Off, On, and pv.

void RangeControl::on_projectionSelect_activated ( int   )  [private, slot]

Definition at line 90 of file rangecontrol.cpp.

References changeProjRigging(), Mollweide, proj, Ui_RangeControl::projectionSelect, and Spherical.

void RangeControl::on_riggingSelect_activated ( int   )  [private, slot]

Definition at line 112 of file rangecontrol.cpp.

References changeProjRigging(), rigging, and Ui_RangeControl::riggingSelect.

void RangeControl::reTextureNeeded (  )  [signal]

Definition at line 100 of file moc_rangecontrol.cpp.

Referenced by on_colorSelect_activated(), and updateTexture().

void RangeControl::setField ( Field   ) 

Definition at line 144 of file rangecontrol.cpp.

References changeFieldInfo(), fields, Ui_RangeControl::fieldSelect, fld, Ui_RangeControl::histogramWidget, map, and HistogramWidget::set().

Referenced by mainWindow::mapNumObs(), mainWindow::mapPPolarization(), mainWindow::mapQPolarization(), mainWindow::mapTemperature(), and mainWindow::mapUPolarization().

void RangeControl::setPolarVect ( PolVectors   ) 

Definition at line 190 of file rangecontrol.cpp.

References changePolVect(), On, Ui_RangeControl::polarVectorBox, and pv.

Referenced by mainWindow::mapPolVectM(), and mainWindow::mapPolVectTB().

void RangeControl::setProjection ( Projection   ) 

Definition at line 97 of file rangecontrol.cpp.

References changeProjRigging(), proj, Ui_RangeControl::projectionSelect, and Spherical.

Referenced by mainWindow::proj3Dsphere(), and mainWindow::projMollweide().

void RangeControl::updateTexture ( float  l,
float  u 
) [private, slot]

Definition at line 204 of file rangecontrol.cpp.

References maxv, minv, and reTextureNeeded().

Referenced by RangeControl().


Member Data Documentation

ColorTableList RangeControl::ctl [private]

Definition at line 60 of file rangecontrol.h.

Referenced by getColorTable(), and on_colorSelect_activated().

std::vector<Field> RangeControl::fields [private]

Definition at line 63 of file rangecontrol.h.

Referenced by init(), on_fieldSelect_activated(), and setField().

Field RangeControl::fld [private]

Definition at line 53 of file rangecontrol.h.

Referenced by getField(), init(), on_fieldSelect_activated(), RangeControl(), and setField().

Skymap* RangeControl::map [private]

Definition at line 62 of file rangecontrol.h.

Referenced by init(), on_fieldSelect_activated(), RangeControl(), and setField().

float RangeControl::maxv [private]

Definition at line 58 of file rangecontrol.h.

Referenced by getMaximum(), and updateTexture().

float RangeControl::minv [private]

Definition at line 57 of file rangecontrol.h.

Referenced by getMinimum(), and updateTexture().

Projection RangeControl::proj [private]

Definition at line 52 of file rangecontrol.h.

Referenced by getProjection(), on_projectionSelect_activated(), RangeControl(), and setProjection().

PolVectors RangeControl::pv [private]

Definition at line 55 of file rangecontrol.h.

Referenced by getPolVect(), init(), on_polarVectorBox_clicked(), RangeControl(), and setPolarVect().

int RangeControl::rigging [private]

Definition at line 54 of file rangecontrol.h.

Referenced by getRigging(), on_riggingSelect_activated(), and RangeControl().


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 15:33:01 2009 for Skyviewer by  doxygen 1.4.7