Public Slots | Signals | Public Member Functions

TransferWidget Class Reference

Transfer widget. More...

#include <transferwidget.h>

List of all members.

Public Slots

void ChangeSelectedColor (const QColor &color)
void PointsChanged ()
 Points changed.
void SaveConfig (QString filename)
 Saves a configuration.
void LoadConfig (QString filename)
 Loads a configuration.

Signals

void InvokeChangeSelectedColor (const QColor &color)
 Invoke change selected color.
void InvokeUpdateColorSelector (const QColor &color)
 Invoke update color selector.
void TransferImageUpdated (const QImage &image)
 Transfer image updated.

Public Member Functions

 TransferWidget (QWidget *parent=NULL)
void paintEvent (QPaintEvent *e)

Detailed Description

Transfer widget.

This widget handles the transfer function.

Author:
Horm
Date:
05.12.2010

Member Function Documentation

void TransferWidget::InvokeChangeSelectedColor ( const QColor &  color ) [signal]

Invoke change selected color.

Signals that the selected color has changed.

Author:
Horm
Date:
05.12.2010
Parameters:
colorThe color.
void TransferWidget::InvokeUpdateColorSelector ( const QColor &  color ) [signal]

Invoke update color selector.

Signals that the color selector has changed.

Author:
Horm
Date:
05.12.2010
Parameters:
colorThe color.
void TransferWidget::LoadConfig ( QString  filename ) [slot]

Loads a configuration.

Loads a transfer function from a config file

Author:
Horm
Date:
05.12.2010
Parameters:
filenameFilename of the file.
void TransferWidget::PointsChanged (  ) [slot]

Points changed.

Is called when the points have changed

Author:
Horm
Date:
05.12.2010
void TransferWidget::SaveConfig ( QString  filename ) [slot]

Saves a configuration.

Saves a transfer function to a config file.

Author:
Horm
Date:
05.12.2010
Parameters:
filenameFilename of the file.
void TransferWidget::TransferImageUpdated ( const QImage &  image ) [signal]

Transfer image updated.

Signals that the transfer fucntion 1d image has changed.

Author:
Horm
Date:
05.12.2010
Parameters:
imageThe image.

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