]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkOpenGLVertexBufferObjectCache.java
Loading VTK dlls with plug-in activator.
[simantics/3d.git] / vtk / src / vtk / vtkOpenGLVertexBufferObjectCache.java
1 // java wrapper for vtkOpenGLVertexBufferObjectCache object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkOpenGLVertexBufferObjectCache 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 long GetVBO_2(vtkDataArray id0,int id1);
19   public vtkOpenGLVertexBufferObject GetVBO(vtkDataArray id0,int id1) {
20     long temp = GetVBO_2(id0,id1);
21
22     if (temp == 0) return null;
23     return (vtkOpenGLVertexBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
24 }
25
26   private native void RemoveVBO_3(vtkOpenGLVertexBufferObject id0);
27   public void RemoveVBO(vtkOpenGLVertexBufferObject id0)
28     { RemoveVBO_3(id0); }
29
30   public vtkOpenGLVertexBufferObjectCache() { super(); }
31
32   public vtkOpenGLVertexBufferObjectCache(long id) { super(id); }
33   public native long   VTKInit();
34
35 }