#include <skytexture.h>
Collaboration diagram for SkyTexture:
Signals | |
void | retextured () |
Public Member Functions | |
SkyTexture () | |
virtual | ~SkyTexture () |
void | set (HealpixMap *skymap, RangeControl *rangecontrol) |
void | glTexture () |
void | highlite (const int pix, float alpha=1.) |
Protected Slots | |
void | reTexture (void) |
Protected Member Functions | |
void | run () |
Private Member Functions | |
bool | buildLUT (const int ns, HealpixMap::PixOrder ordering) |
PixLUTCache::iterator | getLUT (const int ns, HealpixMap::PixOrder ordering) |
Private Attributes | |
unsigned char | hilite_level |
unsigned char | select_level |
unsigned char * | texture |
int | texture_res |
int | nside |
HealpixMap::PixOrder | order |
PixLUT * | lut |
PixLUTCache | lut_cache_ring |
PixLUTCache | lut_cache_nest |
HealpixMap * | skymap |
ColorTable * | ct |
int | dpyfieldold |
Field | dpyfield |
double | minv |
double | maxv |
bool | restart |
QTimer * | timer |
bool | update |
Definition at line 34 of file skytexture.h.
SkyTexture::SkyTexture | ( | ) |
Definition at line 29 of file skytexture.cpp.
References hilite_level, order, reTexture(), select_level, timer, and HealpixMap::Undefined.
SkyTexture::~SkyTexture | ( | ) | [virtual] |
bool SkyTexture::buildLUT | ( | const int | ns, | |
HealpixMap::PixOrder | ordering | |||
) | [private] |
Definition at line 66 of file skytexture.cpp.
References lut, lut_cache_nest, lut_cache_ring, HealpixMap::Ring, HealpixMap::Undefined, and xy2pix().
Referenced by getLUT().
PixLUTCache::iterator SkyTexture::getLUT | ( | const int | ns, | |
HealpixMap::PixOrder | ordering | |||
) | [private] |
Definition at line 107 of file skytexture.cpp.
References buildLUT(), lut_cache_nest, lut_cache_ring, MapException::Other, HealpixMap::Ring, and HealpixMap::Undefined.
Referenced by set().
void SkyTexture::glTexture | ( | ) |
Definition at line 278 of file skytexture.cpp.
References texture, and texture_res.
Referenced by highlite(), and reTexture().
void SkyTexture::highlite | ( | const int | pix, | |
float | alpha = 1. | |||
) |
Definition at line 301 of file skytexture.cpp.
References glTexture(), and texture.
Referenced by mainWindow::highlightPixels(), mainWindow::selectPixel(), and mainWindow::unselectPixels().
void SkyTexture::reTexture | ( | void | ) | [protected, slot] |
Definition at line 268 of file skytexture.cpp.
References glTexture(), and retextured().
Referenced by SkyTexture().
void SkyTexture::retextured | ( | ) | [signal] |
void SkyTexture::run | ( | ) | [protected] |
void SkyTexture::set | ( | HealpixMap * | skymap, | |
RangeControl * | rangecontrol | |||
) |
Definition at line 134 of file skytexture.cpp.
References ct, dpyfield, RangeControl::getColorTable(), RangeControl::getField(), getLUT(), RangeControl::getMaximum(), RangeControl::getMinimum(), lut, maxv, minv, nside, HealpixMap::nside(), order, HealpixMap::pixordenum(), restart, skymap, texture, texture_res, timer, and update.
Referenced by mainWindow::readFile(), and mainWindow::reTexture().
ColorTable* SkyTexture::ct [private] |
Field SkyTexture::dpyfield [private] |
int SkyTexture::dpyfieldold [private] |
Definition at line 49 of file skytexture.h.
unsigned char SkyTexture::hilite_level [private] |
PixLUT* SkyTexture::lut [private] |
PixLUTCache SkyTexture::lut_cache_nest [private] |
PixLUTCache SkyTexture::lut_cache_ring [private] |
double SkyTexture::maxv [private] |
double SkyTexture::minv [private] |
int SkyTexture::nside [private] |
HealpixMap::PixOrder SkyTexture::order [private] |
bool SkyTexture::restart [private] |
unsigned char SkyTexture::select_level [private] |
HealpixMap* SkyTexture::skymap [private] |
unsigned char* SkyTexture::texture [private] |
Definition at line 40 of file skytexture.h.
Referenced by glTexture(), highlite(), run(), set(), and ~SkyTexture().
int SkyTexture::texture_res [private] |
QTimer* SkyTexture::timer [private] |
bool SkyTexture::update [private] |