X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkPixelBufferObject.java;h=bb8d5fc96976bc8a1b6610458a5f4d1773a1a110;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=a6a9e0c4099ad380e81e4b891268d6078c4993b3;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkPixelBufferObject.java b/vtk/src/vtk/vtkPixelBufferObject.java index a6a9e0c4..bb8d5fc9 100644 --- a/vtk/src/vtk/vtkPixelBufferObject.java +++ b/vtk/src/vtk/vtkPixelBufferObject.java @@ -1,79 +1,119 @@ -// java wrapper for vtkPixelBufferObject object -// - -package vtk; -import vtk.*; - -public class vtkPixelBufferObject extends vtkObject -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native void SetContext_2(vtkRenderWindow id0); - public void SetContext(vtkRenderWindow id0) - { SetContext_2(id0); } - - private native long GetContext_3(); - public vtkRenderWindow GetContext() { - long temp = GetContext_3(); - - if (temp == 0) return null; - return (vtkRenderWindow)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetUsage_4(); - public int GetUsage() - { return GetUsage_4(); } - - private native void SetUsage_5(int id0); - public void SetUsage(int id0) - { SetUsage_5(id0); } - - private native int GetType_6(); - public int GetType() - { return GetType_6(); } - - private native int GetSize_7(); - public int GetSize() - { return GetSize_7(); } - - private native int GetHandle_8(); - public int GetHandle() - { return GetHandle_8(); } - - private native void BindToPackedBuffer_9(); - public void BindToPackedBuffer() - { BindToPackedBuffer_9(); } - - private native void BindToUnPackedBuffer_10(); - public void BindToUnPackedBuffer() - { BindToUnPackedBuffer_10(); } - - private native void UnBind_11(); - public void UnBind() - { UnBind_11(); } - - private native void Allocate_12(int id0,int id1); - public void Allocate(int id0,int id1) - { Allocate_12(id0,id1); } - - private native void ReleaseMemory_13(); - public void ReleaseMemory() - { ReleaseMemory_13(); } - - private native boolean IsSupported_14(vtkRenderWindow id0); - public boolean IsSupported(vtkRenderWindow id0) - { return IsSupported_14(id0); } - - public vtkPixelBufferObject() { super(); } - - public vtkPixelBufferObject(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkPixelBufferObject object +// + +package vtk; +import vtk.*; + +public class vtkPixelBufferObject extends vtkObject +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native void SetContext_2(vtkRenderWindow id0); + public void SetContext(vtkRenderWindow id0) + { SetContext_2(id0); } + + private native long GetContext_3(); + public vtkRenderWindow GetContext() { + long temp = GetContext_3(); + + if (temp == 0) return null; + return (vtkRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetUsage_4(); + public int GetUsage() + { return GetUsage_4(); } + + private native void SetUsage_5(int id0); + public void SetUsage(int id0) + { SetUsage_5(id0); } + + private native int GetType_6(); + public int GetType() + { return GetType_6(); } + + private native void SetType_7(int id0); + public void SetType(int id0) + { SetType_7(id0); } + + private native int GetComponents_8(); + public int GetComponents() + { return GetComponents_8(); } + + private native void SetComponents_9(int id0); + public void SetComponents(int id0) + { SetComponents_9(id0); } + + private native int GetSize_10(); + public int GetSize() + { return GetSize_10(); } + + private native void SetSize_11(int id0); + public void SetSize(int id0) + { SetSize_11(id0); } + + private native void SetSize_12(int id0,int id1); + public void SetSize(int id0,int id1) + { SetSize_12(id0,id1); } + + private native int GetHandle_13(); + public int GetHandle() + { return GetHandle_13(); } + + private native void BindToPackedBuffer_14(); + public void BindToPackedBuffer() + { BindToPackedBuffer_14(); } + + private native void BindToUnPackedBuffer_15(); + public void BindToUnPackedBuffer() + { BindToUnPackedBuffer_15(); } + + private native void UnBind_16(); + public void UnBind() + { UnBind_16(); } + + private native void UnmapUnpackedBuffer_17(); + public void UnmapUnpackedBuffer() + { UnmapUnpackedBuffer_17(); } + + private native void UnmapPackedBuffer_18(); + public void UnmapPackedBuffer() + { UnmapPackedBuffer_18(); } + + private native void Bind_19(int id0); + public void Bind(int id0) + { Bind_19(id0); } + + private native void UnmapBuffer_20(int id0); + public void UnmapBuffer(int id0) + { UnmapBuffer_20(id0); } + + private native void Allocate_21(int id0,int id1,int id2,int id3); + public void Allocate(int id0,int id1,int id2,int id3) + { Allocate_21(id0,id1,id2,id3); } + + private native void Allocate_22(int id0,int id1); + public void Allocate(int id0,int id1) + { Allocate_22(id0,id1); } + + private native void ReleaseMemory_23(); + public void ReleaseMemory() + { ReleaseMemory_23(); } + + private native boolean IsSupported_24(vtkRenderWindow id0); + public boolean IsSupported(vtkRenderWindow id0) + { return IsSupported_24(id0); } + + public vtkPixelBufferObject() { super(); } + + public vtkPixelBufferObject(long id) { super(id); } + public native long VTKInit(); + +}