]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/common/VtkView.java
Perform node map updates in a procedure instead of a request
[simantics/3d.git] / org.simantics.g3d.vtk / src / org / simantics / g3d / vtk / common / VtkView.java
1 package org.simantics.g3d.vtk.common;
2
3 import org.simantics.g3d.scenegraph.RenderListener;
4 import org.simantics.g3d.vtk.action.vtkAction;
5 import org.simantics.utils.threads.IThreadWorkQueue;
6
7 import vtk.vtkObjectBase;
8 import vtk.vtkRenderWindowInteractor;
9 import vtk.vtkRenderer;
10
11 public interface VtkView {
12         
13         public void addListener(RenderListener l);
14         public void removeListener(RenderListener l);
15         public void refresh();
16         public vtkRenderer getRenderer();
17         public vtkRenderWindowInteractor getRenderWindowInteractor();
18         
19         public void setActiveAction(vtkAction action);
20         public void setDefaultAction(vtkAction defaultAction);
21         public void useDefaultAction();
22         public vtkAction getDefaultAction();
23         
24         public IThreadWorkQueue getThreadQueue();
25         
26         public void lock();
27         public void unlock();
28         
29         public void addDeletable(vtkObjectBase o);
30         public void removeDeletable (vtkObjectBase o);
31
32 }