8 #include "QVTKWidget.h"
9 #include "imageplanewidget.h"
11 class QtVTKViewer : public QVTKWidget, public ImagePlaneWidget
16 QtVTKViewer(QWidget* parent);
18 typedef ImagePlaneWidget SuperImagePlaneWidget;
20 void SetOutputFormatToRGBA();
26 * @brief double _imageindex contains the current point on the image selected by the user, can be used to perform segmentation algorithms on the image i.e the seed for regiongrowing
29 double _imageindex[3];
31 * @brief double _rayorigin contains the origin position of the clicked performed by the user, can be used to perform ray intersection algorithms i.e
32 * finding an object in the scene
38 // overloaded mouse press handler
39 virtual void mousePressEvent(QMouseEvent* event);
40 // overloaded mouse move handler
41 virtual void mouseMoveEvent(QMouseEvent* event);
42 // overloaded mouse release handler
43 //virtual void mouseReleaseEvent(QMouseEvent* event);
47 #endif // QTVTKVIEWER_H