1 // java wrapper for vtkOpenGLContextBufferId object
7 public class vtkOpenGLContextBufferId extends vtkAbstractContextBufferId
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native void ReleaseGraphicsResources_2();
19 public void ReleaseGraphicsResources()
20 { ReleaseGraphicsResources_2(); }
22 private native void SetContext_3(vtkRenderWindow id0);
23 public void SetContext(vtkRenderWindow id0)
24 { SetContext_3(id0); }
26 private native long GetContext_4();
27 public vtkRenderWindow GetContext() {
28 long temp = GetContext_4();
30 if (temp == 0) return null;
31 return (vtkRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
34 private native boolean IsSupported_5();
35 public boolean IsSupported()
36 { return IsSupported_5(); }
38 private native void Allocate_6();
39 public void Allocate()
42 private native boolean IsAllocated_7();
43 public boolean IsAllocated()
44 { return IsAllocated_7(); }
46 private native void SetValues_8(int id0,int id1);
47 public void SetValues(int id0,int id1)
48 { SetValues_8(id0,id1); }
50 private native int GetPickedItem_9(int id0,int id1);
51 public int GetPickedItem(int id0,int id1)
52 { return GetPickedItem_9(id0,id1); }
54 public vtkOpenGLContextBufferId() { super(); }
56 public vtkOpenGLContextBufferId(long id) { super(id); }
57 public native long VTKInit();