]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkTextureUnitManager.java
Perform view direction switching via vtkCameraAndSelectorAction
[simantics/3d.git] / vtk / src / vtk / vtkTextureUnitManager.java
1 // java wrapper for vtkTextureUnitManager object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkTextureUnitManager extends vtkObject
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 SetContext_2(vtkOpenGLRenderWindow id0);
19   public void SetContext(vtkOpenGLRenderWindow id0)
20     { SetContext_2(id0); }
21
22   private native long GetContext_3();
23   public vtkOpenGLRenderWindow GetContext() {
24     long temp = GetContext_3();
25
26     if (temp == 0) return null;
27     return (vtkOpenGLRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
28 }
29
30   private native int GetNumberOfTextureUnits_4();
31   public int GetNumberOfTextureUnits()
32     { return GetNumberOfTextureUnits_4(); }
33
34   private native int Allocate_5();
35   public int Allocate()
36     { return Allocate_5(); }
37
38   private native int Allocate_6(int id0);
39   public int Allocate(int id0)
40     { return Allocate_6(id0); }
41
42   private native boolean IsAllocated_7(int id0);
43   public boolean IsAllocated(int id0)
44     { return IsAllocated_7(id0); }
45
46   private native void Free_8(int id0);
47   public void Free(int id0)
48     { Free_8(id0); }
49
50   public vtkTextureUnitManager() { super(); }
51
52   public vtkTextureUnitManager(long id) { super(id); }
53   public native long   VTKInit();
54
55 }