FlowVis 1.0

TransferSettingsWidget Class Reference

Transfer settings widget. More...

#include <transfersettingswidget.h>

List of all members.

Public Slots

void Load ()
 Loads a saved transfer function.
void Save ()
 Saves the transfer function.

Signals

void TransferImageUpdated (const QImage &image)
 Transfer image updated.
void SaveConfig ()
 Saves the configuration.

Public Member Functions

 TransferSettingsWidget (QWidget *parent=NULL)

Private Attributes

TransferWidgettransfer
QtColorTriangletriangle

Friends

QDataStream & operator<< (QDataStream &out, const TransferSettingsWidget *item)
 Serialization.
QDataStream & operator>> (QDataStream &in, TransferSettingsWidget *item)
 Deserialization.

Detailed Description

Transfer settings widget.

This widget handles the transfer function widget.

Author:
Horm
Date:
05.12.2010

Definition at line 21 of file transfersettingswidget.h.


Member Function Documentation

void TransferSettingsWidget::Load ( ) [slot]

Loads a saved transfer function.

Opens a load file dialog and loads the transfer function.

Author:
Horm
Date:
05.12.2010

Definition at line 29 of file transfersettingswidget.cpp.

void TransferSettingsWidget::Save ( ) [slot]

Saves the transfer function.

Opens a save file dialog and saves the current transfer function.

Author:
Horm
Date:
05.12.2010

Definition at line 35 of file transfersettingswidget.cpp.

void TransferSettingsWidget::SaveConfig ( ) [signal]

Saves the configuration.

The configuration of the transfer function is saved to the standard config file ("transfer.cfg").

Author:
Horm
Date:
05.12.2010
void TransferSettingsWidget::TransferImageUpdated ( const QImage &  image) [signal]

Transfer image updated.

Signals that the transfer function has changed and a new 1d image can be uploaded to the shader.

Author:
Horm
Date:
05.12.2010
Parameters:
imageThe image.

Friends And Related Function Documentation

QDataStream & TransferSettingsWidget::operator<< ( QDataStream &  out,
const TransferSettingsWidget item 
) [friend]

Serialization.

This operator is used to serialize the TransferSettingsWidget class.

Date:
15.01.2011
Parameters:
outdatastream for writing
itemobject which should be serialized

Definition at line 42 of file transfersettingswidget.cpp.

QDataStream & TransferSettingsWidget::operator>> ( QDataStream &  in,
TransferSettingsWidget item 
) [friend]

Deserialization.

This operator is used to deserialize the TransferSettingsWidget class.

Date:
15.01.2011
Parameters:
outdatastream for writing
itemobject which should be serialized

Definition at line 47 of file transfersettingswidget.cpp.


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