GradientEditor Class Reference

#include <GradientEditor.h>

Collaboration diagram for GradientEditor:

Collaboration graph
[legend]

List of all members.

Public Slots

void pointsUpdated ()
void showTransferFunction ()
void showHistogram (const int *)
void clearHistogram ()

Signals

void gradientStopsChanged (const QGradientStops &stops)

Public Member Functions

 GradientEditor (QWidget *parent, Qt::WindowFlags flags)
void setGradientStops (const QGradientStops &stops)
void loadTransferFunction (std::string filename)
void saveTransferFunction (std::string filename)


Detailed Description

Definition at line 50 of file GradientEditor.h.


Constructor & Destructor Documentation

GradientEditor::GradientEditor ( QWidget *  parent,
Qt::WindowFlags  flags 
)

Definition at line 46 of file GradientEditor.cpp.

References ShadeWidget::ARGBShade, ShadeWidget::BlueShade, ShadeWidget::GreenShade, pointsUpdated(), and ShadeWidget::RedShade.


Member Function Documentation

void GradientEditor::setGradientStops ( const QGradientStops &  stops  ) 

Definition at line 157 of file GradientEditor.cpp.

void GradientEditor::pointsUpdated (  )  [slot]

Definition at line 89 of file GradientEditor.cpp.

References ShadeWidget::colorAt(), gradientStopsChanged(), ShadeWidget::points(), and ShadeWidget::setGradientStops().

Referenced by GradientEditor(), and loadTransferFunction().

void GradientEditor::showTransferFunction (  )  [inline, slot]

Definition at line 63 of file GradientEditor.h.

void GradientEditor::showHistogram ( const int *  density  )  [slot]

Definition at line 135 of file GradientEditor.cpp.

References ShadeWidget::setHistogram().

void GradientEditor::clearHistogram (  )  [slot]

Definition at line 141 of file GradientEditor.cpp.

References ShadeWidget::clearHistogram().

void GradientEditor::gradientStopsChanged ( const QGradientStops &  stops  )  [signal]

Referenced by pointsUpdated().

void GradientEditor::loadTransferFunction ( std::string  filename  ) 

Definition at line 181 of file GradientEditor.cpp.

References ALPHA, ShadeWidget::getName(), pointsUpdated(), ShadeWidget::setPoints(), and SHADES_COUNT.

Here is the call graph for this function:

void GradientEditor::saveTransferFunction ( std::string  filename  ) 

Definition at line 229 of file GradientEditor.cpp.

References ShadeWidget::getGradientStops(), ShadeWidget::points(), and SHADES_COUNT.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Dec 10 18:18:21 2007 for VisLU by  doxygen 1.5.4