Static Public Member Functions | Static Protected Attributes

ColorPickerWindow Class Reference

#include <ColorPickerWindow.hpp>

List of all members.

Static Public Member Functions

static void glutDisplay (void)
 Displays color picker window.
static void glutIdle (void)
 Updates the logical components of the color picker (setting the current color for transfer function)
static void glutInit (int parent_id)
 Initializes color picker.
static void glutKeyboard (unsigned char key, int x, int y)
 Processes keyboard input for color picker window.
static void glutMotion (int x, int y)
 Processes movement of mouse.
static void glutMouse (int button, int state, int x, int y)
 Processes clicks with the mouse.
static void glutReshape (int w, int h)
 Processes resizing for the color picker window.

Static Protected Attributes

static int window_id = 0

Member Function Documentation

void ColorPickerWindow::glutDisplay ( void   ) [static]

Displays color picker window.

void ColorPickerWindow::glutIdle ( void   ) [static]

Updates the logical components of the color picker (setting the current color for transfer function)

void ColorPickerWindow::glutInit ( int  parent_id ) [static]

Initializes color picker.

Parameters:
parent_idWindow ID of parent window.
void ColorPickerWindow::glutKeyboard ( unsigned char  key,
int  x,
int  y 
) [static]

Processes keyboard input for color picker window.

Parameters:
keyThe key.
xThe x coordinate.
yThe y coordinate.
void ColorPickerWindow::glutMotion ( int  x,
int  y 
) [static]

Processes movement of mouse.

Parameters:
xThe x coordinate.
yThe y coordinate.
void ColorPickerWindow::glutMouse ( int  button,
int  state,
int  x,
int  y 
) [static]

Processes clicks with the mouse.

Parameters:
buttonThe pressed button.
stateThe state of the button (GLUT_DOWN, GLUT_UP).
xThe x coordinate.
yThe y coordinate.
void ColorPickerWindow::glutReshape ( int  w,
int  h 
) [static]

Processes resizing for the color picker window.

Parameters:
wThe width.
hThe height.

Member Data Documentation

int ColorPickerWindow::window_id = 0 [static, protected]

The documentation for this class was generated from the following files: