#include <Shadewidget.h>
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< TFPnt > | points () const |
| HoverPoints * | hoverPoints () const |
| uint | colorAt (int x) |
Private Member Functions | |
| void | generateShade () |
Private Attributes | |
| QWidget * | m_widget |
| Renderer::TransferFunction * | m_transferFunction |
| QImage | m_shade |
| HoverPoints * | m_hoverPoints |
| QLinearGradient | m_alpha_gradient |
| ShadeWidget::ShadeWidget | ( | QWidget * | parent | ) |
| 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] |
QWidget* ShadeWidget::m_widget [private] |
QImage ShadeWidget::m_shade [private] |
HoverPoints* ShadeWidget::m_hoverPoints [private] |
QLinearGradient ShadeWidget::m_alpha_gradient [private] |
1.5.5