using namespace std;
-static bool GENERATE_SUIT_EVENTS = false;
+static bool GENERATE_SUIT_EVENTS = true;
static bool FOCUS_UNDER_MOUSE = false;
GetDevice()->InvokeEvent(theEvent,theCallData);
}
+/*!
+ Get paint engine for the scene
+*/
+QPaintEngine* QVTK_RenderWindowInteractor::paintEngine() const
+{
+ return 0;
+}
+
/*!
Need for initial contents display on Win32
*/
void
InvokeEvent(unsigned long theEvent, void* theCallData);
+ //! Get paint engine for the scene
+ virtual QPaintEngine* paintEngine() const;
+
public slots:
//! Need for initial contents display on Win32
virtual void show();
}
}
+/*! Get paint engine for the scene */
+QPaintEngine* VTKViewer_RenderWindow::paintEngine() const
+{
+ return 0;
+}
+
/*!Emit mouse move event.*/
void VTKViewer_RenderWindow::mouseMoveEvent(QMouseEvent* event)
{
/*!Get render window pointer.*/
vtkRenderWindow* getRenderWindow() { return myRW; }
+ virtual QPaintEngine* paintEngine() const;
+
protected:
virtual void mouseMoveEvent( QMouseEvent* );
virtual void mousePressEvent( QMouseEvent* );