1 // java wrapper for vtkTextureUnitManager object
7 public class vtkTextureUnitManager extends vtkObject
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 SetContext_2(vtkOpenGLRenderWindow id0);
19 public void SetContext(vtkOpenGLRenderWindow id0)
20 { SetContext_2(id0); }
22 private native long GetContext_3();
23 public vtkOpenGLRenderWindow GetContext() {
24 long temp = GetContext_3();
26 if (temp == 0) return null;
27 return (vtkOpenGLRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
30 private native int GetNumberOfTextureUnits_4();
31 public int GetNumberOfTextureUnits()
32 { return GetNumberOfTextureUnits_4(); }
34 private native int Allocate_5();
36 { return Allocate_5(); }
38 private native int Allocate_6(int id0);
39 public int Allocate(int id0)
40 { return Allocate_6(id0); }
42 private native boolean IsAllocated_7(int id0);
43 public boolean IsAllocated(int id0)
44 { return IsAllocated_7(id0); }
46 private native void Free_8(int id0);
47 public void Free(int id0)
50 public vtkTextureUnitManager() { super(); }
52 public vtkTextureUnitManager(long id) { super(id); }
53 public native long VTKInit();