]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkOpenGLContextBufferId.java
Loading VTK dlls with plug-in activator.
[simantics/3d.git] / vtk / src / vtk / vtkOpenGLContextBufferId.java
1 // java wrapper for vtkOpenGLContextBufferId object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkOpenGLContextBufferId extends vtkAbstractContextBufferId
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native void ReleaseGraphicsResources_2();
19   public void ReleaseGraphicsResources()
20     { ReleaseGraphicsResources_2(); }
21
22   private native void SetContext_3(vtkRenderWindow id0);
23   public void SetContext(vtkRenderWindow id0)
24     { SetContext_3(id0); }
25
26   private native long GetContext_4();
27   public vtkRenderWindow GetContext() {
28     long temp = GetContext_4();
29
30     if (temp == 0) return null;
31     return (vtkRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
32 }
33
34   private native boolean IsSupported_5();
35   public boolean IsSupported()
36     { return IsSupported_5(); }
37
38   private native void Allocate_6();
39   public void Allocate()
40     { Allocate_6(); }
41
42   private native boolean IsAllocated_7();
43   public boolean IsAllocated()
44     { return IsAllocated_7(); }
45
46   private native void SetValues_8(int id0,int id1);
47   public void SetValues(int id0,int id1)
48     { SetValues_8(id0,id1); }
49
50   private native int GetPickedItem_9(int id0,int id1);
51   public int GetPickedItem(int id0,int id1)
52     { return GetPickedItem_9(id0,id1); }
53
54   public vtkOpenGLContextBufferId() { super(); }
55
56   public vtkOpenGLContextBufferId(long id) { super(id); }
57   public native long   VTKInit();
58
59 }