Go to the documentation of this file.
14 void resize(
const QSize &size)
override;
16 bool draw(QPainter *
p,
const QColor &
back)
override;
20 static void blur_8(
unsigned char *ptr,
int w,
int h, ptrdiff_t bpl);
25 void translate(
int x,
int y,
int *xo,
int *yo,
int *xd,
int *yd,
28 inline void draw_vert_line(
unsigned char *buffer,
int x,
int y1,
int y2)
const;
31 static void rgb_to_hsv(
unsigned int color,
double *h,
double *s,
double *v);
32 static void hsv_to_rgb(
double h,
double s,
double v,
unsigned int *color);
void generate_phongdat(void)
std::vector< std::vector< unsigned char > > m_phongDat
void handleKeyPress([[maybe_unused]] const QString &action) override
static void blur_8(unsigned char *ptr, int w, int h, ptrdiff_t bpl)
bool process(VisualNode *node) override
static void rgb_to_hsv(unsigned int color, double *h, double *s, double *v)
void translate(int x, int y, int *xo, int *yo, int *xd, int *yd, int *angle) const
bool draw(QPainter *p, const QColor &back) override
static void hsv_to_rgb(double h, double s, double v, unsigned int *color)
void draw_vert_line(unsigned char *buffer, int x, int y1, int y2) const
std::array< double, 256 > m_intense2
std::array< double, 256 > m_intense1
void render_light(int lx, int ly)
void generate_cmap(unsigned int color)
void resize(const QSize &size) override