mainWindow Class Reference

#include <mainwindow.h>

Inheritance diagram for mainWindow:

Inheritance graph
[legend]
Collaboration diagram for mainWindow:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void undefined ()
virtual void fileLoad ()
virtual void fileNew ()
virtual void fileReload ()
virtual void fileSnapshot ()
virtual void fileClose ()
virtual void fileExit ()
virtual void proj3Dsphere ()
virtual void projMollweide ()
virtual void mapTemperature ()
virtual void mapQPolarization ()
virtual void mapUPolarization ()
virtual void mapPPolarization ()
virtual void mapNumObs ()
virtual void mapPolVectM ()
virtual void mapPolVectTB ()
virtual void reTexture ()
virtual void newRigging (void)
virtual void newField ()
virtual void newPolVect ()
virtual void unselectPixels (std::vector< int >)
virtual void recenterOnPixel (int pixnum)

Public Member Functions

 mainWindow (QWidget *parent=0)
virtual ~mainWindow (void)
void readFile (const char *file)
void readFile (const QString file)
void readFile (void)
bool currentMollweide (void) const
int selectPixel (int pix)
int selectPixel (double phi, double lambda)
void highlightPixels (double hlite)

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)

Private Member Functions

void setFieldEnables ()
void fileFileInfo (bool b)

Private Attributes

HealpixMapmap
SkyTexturetexture
Riggingrigging
Riggingwhiterig
Riggingblackrig
PolarArgLineSetpolarsphere
bool viewmoll
SkyViewerviewer
ControlDialogctl
RangeControlrngctl
QSize delta
QLabel * filelabel
QString filename
QLabel * projlabel
QLabel * maplabel

Detailed Description

Definition at line 35 of file mainwindow.h.


Constructor & Destructor Documentation

mainWindow::mainWindow ( QWidget *  parent = 0  ) 

Definition at line 45 of file mainwindow.cpp.

References Ui_MainWindow::action3D_Sphere_m, Ui_MainWindow::action3D_Sphere_tb, Ui_MainWindow::actionClose, Ui_MainWindow::actionExit, Ui_MainWindow::actionHelp, Ui_MainWindow::actionMollweide_m, Ui_MainWindow::actionMollweide_tb, Ui_MainWindow::actionNew, Ui_MainWindow::actionNum_Obs, Ui_MainWindow::actionOpen, Ui_MainWindow::actionP_Polarization, Ui_MainWindow::actionPolarAnglesM, Ui_MainWindow::actionPolarAnglesTB, Ui_MainWindow::actionQ_Polarization, Ui_MainWindow::actionReload, Ui_MainWindow::actionSnapshot, Ui_MainWindow::actionTemperature, Ui_MainWindow::actionU_Polarization, Ui_MainWindow::centralwidget, ControlDialog::clearStatus(), ctl, delta, fileClose(), fileExit(), filelabel, fileLoad(), fileNew(), fileReload(), fileSnapshot(), Rigging::generate(), ControlDialog::getRangeControl(), RangeControl::getRigging(), map, maplabel, mapNumObs(), mapPolVectM(), mapPolVectTB(), mapPPolarization(), mapQPolarization(), mapTemperature(), mapUPolarization(), newField(), newPolVect(), newRigging(), polarsphere, proj3Dsphere(), projlabel, projMollweide(), recenterOnPixel(), reTexture(), rigging, rngctl, SkyViewer::setPolarAngles(), SkyViewer::setRigging(), SkyViewer::setTexture(), Ui_MainWindow::setupUi(), SkyViewer::setWhiteRigging(), showpolar, texture, unselectPixels(), viewer, Ui_MainWindow::viewerStatus, viewmoll, whiterig, and WhiteRiggingRadius.

mainWindow::~mainWindow ( void   )  [virtual]

Definition at line 163 of file mainwindow.cpp.

References map, polarsphere, rigging, texture, and whiterig.


Member Function Documentation

bool mainWindow::currentMollweide ( void   )  const [inline]

Definition at line 101 of file mainwindow.h.

References viewmoll.

void mainWindow::fileClose (  )  [virtual, slot]

Definition at line 408 of file mainwindow.cpp.

Referenced by mainWindow().

void mainWindow::fileExit (  )  [virtual, slot]

Definition at line 424 of file mainwindow.cpp.

Referenced by mainWindow().

void mainWindow::fileFileInfo ( bool  b  )  [private]

void mainWindow::fileLoad (  )  [virtual, slot]

Definition at line 349 of file mainwindow.cpp.

References filename, and readFile().

Referenced by mainWindow().

void mainWindow::fileNew (  )  [virtual, slot]

Definition at line 333 of file mainwindow.cpp.

References undefined().

Referenced by mainWindow().

void mainWindow::fileReload (  )  [virtual, slot]

Definition at line 374 of file mainwindow.cpp.

References readFile().

Referenced by mainWindow().

void mainWindow::fileSnapshot (  )  [virtual, slot]

Definition at line 390 of file mainwindow.cpp.

References viewer.

Referenced by mainWindow().

void mainWindow::highlightPixels ( double  hlite  ) 

Definition at line 708 of file mainwindow.cpp.

References ctl, SkyTexture::highlite(), ControlDialog::numselected(), ControlDialog::pixnum(), and texture.

Referenced by SkyViewer::animate().

void mainWindow::mapNumObs (  )  [virtual, slot]

Definition at line 542 of file mainwindow.cpp.

References Nobs, rngctl, and RangeControl::setField().

Referenced by mainWindow().

void mainWindow::mapPolVectM (  )  [virtual, slot]

Definition at line 594 of file mainwindow.cpp.

References Ui_MainWindow::actionPolarAnglesM, Off, On, rngctl, and RangeControl::setPolarVect().

Referenced by mainWindow().

void mainWindow::mapPolVectTB (  )  [virtual, slot]

Definition at line 598 of file mainwindow.cpp.

References Ui_MainWindow::actionPolarAnglesTB, Off, On, rngctl, and RangeControl::setPolarVect().

Referenced by mainWindow().

void mainWindow::mapPPolarization (  )  [virtual, slot]

Definition at line 541 of file mainwindow.cpp.

References P, rngctl, and RangeControl::setField().

Referenced by mainWindow().

void mainWindow::mapQPolarization (  )  [virtual, slot]

Definition at line 539 of file mainwindow.cpp.

References Q, rngctl, and RangeControl::setField().

Referenced by mainWindow().

void mainWindow::mapTemperature (  )  [virtual, slot]

Definition at line 538 of file mainwindow.cpp.

References I, rngctl, and RangeControl::setField().

Referenced by mainWindow().

void mainWindow::mapUPolarization (  )  [virtual, slot]

Definition at line 540 of file mainwindow.cpp.

References rngctl, RangeControl::setField(), and U.

Referenced by mainWindow().

void mainWindow::newField (  )  [virtual, slot]

Definition at line 550 of file mainwindow.cpp.

References Ui_MainWindow::actionNum_Obs, Ui_MainWindow::actionP_Polarization, Ui_MainWindow::actionQ_Polarization, Ui_MainWindow::actionTemperature, Ui_MainWindow::actionU_Polarization, RangeControl::getField(), I, maplabel, Nobs, P, Q, rngctl, and U.

Referenced by mainWindow().

void mainWindow::newPolVect (  )  [virtual, slot]

Definition at line 608 of file mainwindow.cpp.

References Ui_MainWindow::actionPolarAnglesM, Ui_MainWindow::actionPolarAnglesTB, RangeControl::getPolVect(), On, polarsphere, rngctl, and PolarArgLineSet::setOn().

Referenced by mainWindow().

void mainWindow::newRigging ( void   )  [virtual, slot]

Definition at line 473 of file mainwindow.cpp.

References Ui_MainWindow::action3D_Sphere_m, Ui_MainWindow::action3D_Sphere_tb, Ui_MainWindow::actionMollweide_m, Ui_MainWindow::actionMollweide_tb, MapException::Comment(), SkyViewer::constrainMollweide(), Rigging::generate(), RangeControl::getProjection(), RangeControl::getRigging(), Mollweide, polarsphere, projlabel, rigging, rngctl, PolarArgLineSet::setMollweide(), viewer, viewmoll, whiterig, and WhiteRiggingRadius.

Referenced by mainWindow().

void mainWindow::proj3Dsphere (  )  [virtual, slot]

Definition at line 443 of file mainwindow.cpp.

References Ui_MainWindow::action3D_Sphere_m, Ui_MainWindow::action3D_Sphere_tb, RangeControl::getProjection(), rngctl, RangeControl::setProjection(), and Spherical.

Referenced by mainWindow().

void mainWindow::projMollweide (  )  [virtual, slot]

Definition at line 452 of file mainwindow.cpp.

References Ui_MainWindow::actionMollweide_m, Ui_MainWindow::actionMollweide_tb, RangeControl::getProjection(), Mollweide, rngctl, and RangeControl::setProjection().

Referenced by mainWindow().

void mainWindow::readFile ( void   ) 

Definition at line 244 of file mainwindow.cpp.

References MapException::Comment(), ctl, filename, Skymap::has_Polarization(), ControlDialog::init(), map, MapException::Message(), polarsphere, HealpixMap::readFITS(), rngctl, PolarArgLineSet::set(), SkyTexture::set(), setFieldEnables(), showpolar, showtex, texture, and viewer.

Referenced by fileLoad(), fileReload(), and readFile().

void mainWindow::readFile ( const QString  file  ) 

Definition at line 218 of file mainwindow.cpp.

References ctl, filelabel, filename, readFile(), and ControlDialog::startFile().

void mainWindow::readFile ( const char *  file  ) 

Definition at line 212 of file mainwindow.cpp.

References readFile().

Referenced by main().

void mainWindow::recenterOnPixel ( int  pixnum  )  [virtual, slot]

Definition at line 733 of file mainwindow.cpp.

References map, HealpixMap::pixel2angles(), SkyViewer::recenterAt(), and viewer.

Referenced by mainWindow().

void mainWindow::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

Definition at line 188 of file mainwindow.cpp.

References delta, and viewer.

void mainWindow::reTexture (  )  [virtual, slot]

Definition at line 629 of file mainwindow.cpp.

References MapException::Comment(), map, rngctl, SkyTexture::set(), showtex, texture, and viewer.

Referenced by mainWindow().

int mainWindow::selectPixel ( double  phi,
double  lambda 
)

Definition at line 685 of file mainwindow.cpp.

References HealpixMap::angles2pixel(), map, and selectPixel().

int mainWindow::selectPixel ( int  pix  ) 

Definition at line 657 of file mainwindow.cpp.

References ctl, SkyTexture::highlite(), map, ControlDialog::numselected(), ControlDialog::selectPixel(), texture, and viewer.

Referenced by SkyViewer::postSelection(), and selectPixel().

void mainWindow::setFieldEnables (  )  [private]

Definition at line 512 of file mainwindow.cpp.

References Ui_MainWindow::actionNum_Obs, Ui_MainWindow::actionP_Polarization, Ui_MainWindow::actionPolarAnglesM, Ui_MainWindow::actionPolarAnglesTB, Ui_MainWindow::actionQ_Polarization, Ui_MainWindow::actionTemperature, Ui_MainWindow::actionU_Polarization, Skymap::has_Nobs(), Skymap::has_Polarization(), Skymap::has_Temperature(), and map.

Referenced by readFile().

void mainWindow::undefined (  )  [virtual, slot]

Definition at line 314 of file mainwindow.cpp.

Referenced by fileNew().

void mainWindow::unselectPixels ( std::vector< int >   )  [virtual, slot]

Definition at line 713 of file mainwindow.cpp.

References SkyTexture::highlite(), and texture.

Referenced by mainWindow().


Member Data Documentation

Rigging* mainWindow::blackrig [private]

Definition at line 72 of file mainwindow.h.

ControlDialog* mainWindow::ctl [private]

Definition at line 78 of file mainwindow.h.

Referenced by highlightPixels(), mainWindow(), readFile(), and selectPixel().

QSize mainWindow::delta [private]

Definition at line 81 of file mainwindow.h.

Referenced by mainWindow(), and resizeEvent().

QLabel* mainWindow::filelabel [private]

Definition at line 83 of file mainwindow.h.

Referenced by mainWindow(), and readFile().

QString mainWindow::filename [private]

Definition at line 84 of file mainwindow.h.

Referenced by fileLoad(), and readFile().

HealpixMap* mainWindow::map [private]

Definition at line 68 of file mainwindow.h.

Referenced by mainWindow(), readFile(), recenterOnPixel(), reTexture(), selectPixel(), setFieldEnables(), and ~mainWindow().

QLabel* mainWindow::maplabel [private]

Definition at line 86 of file mainwindow.h.

Referenced by mainWindow(), and newField().

PolarArgLineSet* mainWindow::polarsphere [private]

Definition at line 73 of file mainwindow.h.

Referenced by mainWindow(), newPolVect(), newRigging(), readFile(), and ~mainWindow().

QLabel* mainWindow::projlabel [private]

Definition at line 85 of file mainwindow.h.

Referenced by mainWindow(), and newRigging().

Rigging* mainWindow::rigging [private]

Definition at line 70 of file mainwindow.h.

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

RangeControl* mainWindow::rngctl [private]

Definition at line 79 of file mainwindow.h.

Referenced by mainWindow(), mapNumObs(), mapPolVectM(), mapPolVectTB(), mapPPolarization(), mapQPolarization(), mapTemperature(), mapUPolarization(), newField(), newPolVect(), newRigging(), proj3Dsphere(), projMollweide(), readFile(), and reTexture().

SkyTexture* mainWindow::texture [private]

Definition at line 69 of file mainwindow.h.

Referenced by highlightPixels(), mainWindow(), readFile(), reTexture(), selectPixel(), unselectPixels(), and ~mainWindow().

SkyViewer* mainWindow::viewer [private]

Definition at line 77 of file mainwindow.h.

Referenced by fileSnapshot(), mainWindow(), newRigging(), readFile(), recenterOnPixel(), resizeEvent(), reTexture(), and selectPixel().

bool mainWindow::viewmoll [private]

Definition at line 75 of file mainwindow.h.

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

Rigging* mainWindow::whiterig [private]

Definition at line 71 of file mainwindow.h.

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


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