SkyTexture Class Reference

#include <skytexture.h>

Collaboration diagram for SkyTexture:

Collaboration graph
[legend]
List of all members.

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
PixLUTlut
PixLUTCache lut_cache_ring
PixLUTCache lut_cache_nest
HealpixMapskymap
ColorTablect
int dpyfieldold
Field dpyfield
double minv
double maxv
bool restart
QTimer * timer
bool update

Detailed Description

Definition at line 34 of file skytexture.h.


Constructor & Destructor Documentation

SkyTexture::SkyTexture (  ) 

Definition at line 29 of file skytexture.cpp.

References hilite_level, order, reTexture(), select_level, timer, and HealpixMap::Undefined.

SkyTexture::~SkyTexture (  )  [virtual]

Definition at line 48 of file skytexture.cpp.

References texture.


Member Function Documentation

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]

Definition at line 77 of file moc_skytexture.cpp.

Referenced by reTexture().

void SkyTexture::run (  )  [protected]

Definition at line 192 of file skytexture.cpp.

References dpyfield, I, maxv, minv, Nobs, P, Q, restart, Skymap::size(), skymap, texture, U, and update.

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().


Member Data Documentation

ColorTable* SkyTexture::ct [private]

Definition at line 48 of file skytexture.h.

Referenced by set().

Field SkyTexture::dpyfield [private]

Definition at line 50 of file skytexture.h.

Referenced by run(), and set().

int SkyTexture::dpyfieldold [private]

Definition at line 49 of file skytexture.h.

unsigned char SkyTexture::hilite_level [private]

Definition at line 38 of file skytexture.h.

Referenced by SkyTexture().

PixLUT* SkyTexture::lut [private]

Definition at line 44 of file skytexture.h.

Referenced by buildLUT(), and set().

PixLUTCache SkyTexture::lut_cache_nest [private]

Definition at line 46 of file skytexture.h.

Referenced by buildLUT(), and getLUT().

PixLUTCache SkyTexture::lut_cache_ring [private]

Definition at line 45 of file skytexture.h.

Referenced by buildLUT(), and getLUT().

double SkyTexture::maxv [private]

Definition at line 52 of file skytexture.h.

Referenced by run(), and set().

double SkyTexture::minv [private]

Definition at line 51 of file skytexture.h.

Referenced by run(), and set().

int SkyTexture::nside [private]

Definition at line 42 of file skytexture.h.

Referenced by set().

HealpixMap::PixOrder SkyTexture::order [private]

Definition at line 43 of file skytexture.h.

Referenced by set(), and SkyTexture().

bool SkyTexture::restart [private]

Definition at line 53 of file skytexture.h.

Referenced by run(), and set().

unsigned char SkyTexture::select_level [private]

Definition at line 39 of file skytexture.h.

Referenced by SkyTexture().

HealpixMap* SkyTexture::skymap [private]

Definition at line 47 of file skytexture.h.

Referenced by run(), and set().

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]

Definition at line 41 of file skytexture.h.

Referenced by glTexture(), and set().

QTimer* SkyTexture::timer [private]

Definition at line 55 of file skytexture.h.

Referenced by set(), and SkyTexture().

bool SkyTexture::update [private]

Definition at line 56 of file skytexture.h.

Referenced by run(), and set().


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