ShadeWidget Class Reference

#include <Shadewidget.h>

List of all members.

Public Slots

void setGradientStops (QVector< TFPnt > points)
 updates the gradient in the background

Public Member Functions

 ShadeWidget (QWidget *parent)
void setGradientStops (const QGradientStops &stops)
void set_shade_points (const QVector< TFPnt > &points)
 sets the points of the transferfunction
void set_transferfunction (Renderer::TransferFunction &tf)
 sets the related transferfunction (updated if the points in the widget have changed)
void set_transferfunction (const QVector< TFPnt > &points)
 sets the points changed in the transferfunction
void paintEvent (QPaintEvent *e)
QSize sizeHint () const
QVector< TFPntpoints () const
HoverPointshoverPoints () const
uint colorAt (int x)

Private Member Functions

void generateShade ()

Private Attributes

QWidget * m_widget
Renderer::TransferFunctionm_transferFunction
QImage m_shade
HoverPointsm_hoverPoints
QLinearGradient m_alpha_gradient


Detailed Description

simple transferfunction editor

Constructor & Destructor Documentation

ShadeWidget::ShadeWidget ( QWidget *  parent  ) 


Member Function Documentation

void ShadeWidget::setGradientStops ( const QGradientStops &  stops  ) 

void ShadeWidget::set_shade_points ( const QVector< TFPnt > &  points  ) 

sets the points of the transferfunction

void ShadeWidget::set_transferfunction ( Renderer::TransferFunction tf  ) 

sets the related transferfunction (updated if the points in the widget have changed)

void ShadeWidget::set_transferfunction ( const QVector< TFPnt > &  points  ) 

sets the points changed in the transferfunction

void ShadeWidget::paintEvent ( QPaintEvent *  e  ) 

QSize ShadeWidget::sizeHint (  )  const [inline]

QVector< TFPnt > ShadeWidget::points (  )  const

HoverPoints* ShadeWidget::hoverPoints (  )  const [inline]

uint ShadeWidget::colorAt ( int  x  ) 

void ShadeWidget::setGradientStops ( QVector< TFPnt points  )  [slot]

updates the gradient in the background

void ShadeWidget::generateShade (  )  [private]


Member Data Documentation

QWidget* ShadeWidget::m_widget [private]

QImage ShadeWidget::m_shade [private]

QLinearGradient ShadeWidget::m_alpha_gradient [private]


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

Generated on Tue Dec 8 21:57:03 2009 for VolumeRendering by  doxygen 1.5.5