Accessor on interactors.

parent 226004b3
......@@ -421,6 +421,11 @@ vtkRenderer *dtkVisualizationView3D::renderer(void)
return d->renderer;
}
vtkRenderWindowInteractor *dtkVisualizationView3D::interactor(void)
{
return d->GetInteractor();
}
void dtkVisualizationView3D::dragEnterEvent(QDragEnterEvent *event)
{
if (event->mimeData()->hasText())
......
......@@ -22,6 +22,7 @@
#include <dtkVisualizationExport>
class vtkRenderer;
class vtkRenderWindowInteractor;
class DTKVISUALIZATION_EXPORT dtkVisualizationView3D : public dtkWidgetsWidget
{
......@@ -63,6 +64,7 @@ public:
public:
vtkRenderer *renderer(void);
vtkRenderWindowInteractor *interactor(void);
protected:
void dragEnterEvent(QDragEnterEvent *event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment