Static Public Member Functions | Static Public Attributes

TransferFunctionWindow Class Reference

#include <TransferFunctionWindow.hpp>

List of all members.

Static Public Member Functions

static void transferDisplay (void)
 Displays transfer function.
static void transferIdle (void)
 Updates the transfer function window.
static void transferInit (void)
 Initializes the transfer function window.
static void transferKeyboard (unsigned char key, int x, int y)
 Processes keyboard input for the transfer function window.
static void transferMotion (int x, int y)
 Processes mouse motion.
static void transferMouse (int button, int state, int x, int y)
 Processes Mouse for transfer window.
static void transferReshape (int x, int y)
 Processes resizing of the transfer function window.
static void drawHistogram (void)
 Draws histogram.
static void drawGradient (void)
 Draws gradient.
static void drawControlPoints (void)
 Draw control points.
static void loadTransferFunction (const char *filename)
 Loads a transfer function.
static void saveTransferFunction (const char *filename)
 Saves a transfer function.

Static Public Attributes

static ControlPointselected_point = NULL
static int window_id = -1

Member Function Documentation

void TransferFunctionWindow::drawControlPoints ( void   ) [static]

Draw control points.

void TransferFunctionWindow::drawGradient ( void   ) [static]

Draws gradient.

void TransferFunctionWindow::drawHistogram ( void   ) [static]

Draws histogram.

void TransferFunctionWindow::loadTransferFunction ( const char *  filename ) [static]

Loads a transfer function.

Parameters:
filenameFilename of the file.
void TransferFunctionWindow::saveTransferFunction ( const char *  filename ) [static]

Saves a transfer function.

Parameters:
filenameFilename of the file.
void TransferFunctionWindow::transferDisplay ( void   ) [static]

Displays transfer function.

void TransferFunctionWindow::transferIdle ( void   ) [static]

Updates the transfer function window.

void TransferFunctionWindow::transferInit ( void   ) [static]

Initializes the transfer function window.

void TransferFunctionWindow::transferKeyboard ( unsigned char  key,
int  x,
int  y 
) [static]

Processes keyboard input for the transfer function window.

Parameters:
keyThe pressed key.
xThe x coordinate.
yThe y coordinate.
void TransferFunctionWindow::transferMotion ( int  x,
int  y 
) [static]

Processes mouse motion.

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

Processes Mouse for transfer window.

Parameters:
buttonPressed button.
statestate of button.
xThe x coordinate.
yThe y coordinate.
void TransferFunctionWindow::transferReshape ( int  x,
int  y 
) [static]

Processes resizing of the transfer function window.

Parameters:
xThe x coordinate.
yThe y coordinate.

Member Data Documentation


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