1 package org.simantics.g3d.vtk.common;
3 import org.simantics.g3d.scenegraph.RenderListener;
4 import org.simantics.g3d.vtk.action.vtkAction;
5 import org.simantics.utils.threads.IThreadWorkQueue;
7 import vtk.vtkObjectBase;
8 import vtk.vtkRenderWindowInteractor;
9 import vtk.vtkRenderer;
11 public interface VtkView {
13 public void addListener(RenderListener l);
14 public void removeListener(RenderListener l);
15 public void refresh();
16 public vtkRenderer getRenderer();
17 public vtkRenderWindowInteractor getRenderWindowInteractor();
19 public void setActiveAction(vtkAction action);
20 public void setDefaultAction(vtkAction defaultAction);
21 public void useDefaultAction();
22 public vtkAction getDefaultAction();
24 public IThreadWorkQueue getThreadQueue();
29 public void addDeletable(vtkObjectBase o);
30 public void removeDeletable (vtkObjectBase o);