25 #ifndef WTRANSFERFUNCTIONSCENE_H
26 #define WTRANSFERFUNCTIONSCENE_H
28 #include "QGraphicsScene"
67 virtual void dragMoveEvent( QGraphicsSceneDragDropEvent* event );
75 virtual void dropEvent( QGraphicsSceneDragDropEvent* event );
The scene for our visualization of the transfer function.
virtual ~WTransferFunctionScene()
Default destructor.
virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event)
Checks whether the drag is inside the main rectangle of the scene and whether the dragged object is o...
virtual void dropEvent(QGraphicsSceneDragDropEvent *event)
Allows drop of QColor-alike objects and creates new color control points in the scene.
WTransferFunctionScene(QObject *parent=0)
Default constructor.
WTransferFunctionWidget * myparent
storage of the widget as this currently manages the data
QGraphicsScene BaseClass
type of base class for cleaner programming