Synaesthesia Class Reference
#include <synaesthesia.h>
List of all members.
Detailed Description
Definition at line 23 of file synaesthesia.h.
|
Public Member Functions |
| | Synaesthesia (long int winid) |
| virtual | ~Synaesthesia () |
| void | resize (const QSize &size) |
| bool | process (VisualNode *node) |
| bool | draw (QPainter *p, const QColor &back) |
| void | handleKeyPress (const QString &action) |
Private Member Functions |
| void | setupPalette (void) |
| void | coreInit (void) |
| int | bitReverser (int i) |
| void | fft (double *x, double *y) |
| void | setStarSize (double lsize) |
| void | addPixel (int x, int y, int br1, int br2) |
| void | addPixelFast (unsigned char *p, int br1, int br2) |
| unsigned char | getPixel (int x, int y, int where) |
| void | fadePixelWave (int x, int y, int where, int step) |
| void | fadeWave (void) |
| void | fadePixelHeat (int x, int y, int where, int step) |
| void | fadeHeat (void) |
| void | fadeFade (void) |
| void | fade (void) |
Private Attributes |
| QSize | size |
| double | cosTable [NumSamples] |
| double | negSinTable [NumSamples] |
| int | bitReverse [NumSamples] |
| int | scaleDown [256] |
| int | maxStarRadius |
| int | fadeMode |
| bool | pointsAreDiamonds |
| double | brightnessTwiddler |
| double | starSize |
| int | outWidth |
| int | outHeight |
| Bitmap< unsigned short > | outputBmp |
| Bitmap< unsigned short > | lastOutputBmp |
| Bitmap< unsigned short > | lastLastOutputBmp |
| QImage * | outputImage |
| unsigned char | palette [768] |
| double | fgRedSlider |
| double | fgGreenSlider |
| double | bgRedSlider |
| double | bgGreenSlider |
| double | energy_avg |
| SDL_Surface * | surface |
Constructor & Destructor Documentation
| Synaesthesia::Synaesthesia |
( |
long int |
winid |
) |
|
| Synaesthesia::~Synaesthesia |
( |
|
) |
[virtual] |
Member Function Documentation
| void Synaesthesia::resize |
( |
const QSize & |
size |
) |
[virtual] |
| bool Synaesthesia::draw |
( |
QPainter * |
p, |
|
|
const QColor & |
back | |
|
) |
| | [virtual] |
| void Synaesthesia::handleKeyPress |
( |
const QString & |
action |
) |
[inline, virtual] |
| void Synaesthesia::setupPalette |
( |
void |
|
) |
[private] |
| void Synaesthesia::coreInit |
( |
void |
|
) |
[private] |
| int Synaesthesia::bitReverser |
( |
int |
i |
) |
[private] |
| void Synaesthesia::fft |
( |
double * |
x, |
|
|
double * |
y | |
|
) |
| | [private] |
| void Synaesthesia::setStarSize |
( |
double |
lsize |
) |
[private] |
| void Synaesthesia::addPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
br1, |
|
|
int |
br2 | |
|
) |
| | [inline, private] |
| void Synaesthesia::addPixelFast |
( |
unsigned char * |
p, |
|
|
int |
br1, |
|
|
int |
br2 | |
|
) |
| | [inline, private] |
| unsigned char Synaesthesia::getPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where | |
|
) |
| | [inline, private] |
| void Synaesthesia::fadePixelWave |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where, |
|
|
int |
step | |
|
) |
| | [inline, private] |
| void Synaesthesia::fadeWave |
( |
void |
|
) |
[private] |
| void Synaesthesia::fadePixelHeat |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where, |
|
|
int |
step | |
|
) |
| | [inline, private] |
| void Synaesthesia::fadeHeat |
( |
void |
|
) |
[private] |
| void Synaesthesia::fadeFade |
( |
void |
|
) |
[private] |
| void Synaesthesia::fade |
( |
void |
|
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following files: