25 #ifndef WTRANSFERFUNCTIONLINE_H
26 #define WTRANSFERFUNCTIONLINE_H
28 #include "QGraphicsLineItem"
89 virtual void paint( QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget* widget );
Line object for the connection of alpha control points.
void setRight(WTransferFunctionPoint *right)
Sets point to the right.
void setLeft(WTransferFunctionPoint *left)
Sets point to the left.
WTransferFunctionPoint * right
the point to the right
virtual ~WTransferFunctionLine()
Default destructor.
WTransferFunctionPoint * getLeft() const
Get the point to the left.
WTransferFunctionPoint * getRight() const
Get the point to the right.
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint the line.
double lineWidth
the width of the line used for painting
QGraphicsLineItem BaseClass
type of the base class
WTransferFunctionPoint * left
the point to the left
WTransferFunctionLine(WTransferFunctionWidget *parent=0x0)
Default constructor.
A control point for the alpha function.