X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkOpenGLTexture.java;h=390807862259331bf049ba95e985660e0409e28c;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=11bff3d59c2d6936074a312c299cd2f186d4059a;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkOpenGLTexture.java b/vtk/src/vtk/vtkOpenGLTexture.java index 11bff3d5..39080786 100644 --- a/vtk/src/vtk/vtkOpenGLTexture.java +++ b/vtk/src/vtk/vtkOpenGLTexture.java @@ -1,39 +1,79 @@ -// java wrapper for vtkOpenGLTexture object -// - -package vtk; -import vtk.*; - -public class vtkOpenGLTexture extends vtkTexture -{ - - 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 Load_2(vtkRenderer id0); - public void Load(vtkRenderer id0) - { Load_2(id0); } - - private native void PostRender_3(vtkRenderer id0); - public void PostRender(vtkRenderer id0) - { PostRender_3(id0); } - - private native void ReleaseGraphicsResources_4(vtkWindow id0); - public void ReleaseGraphicsResources(vtkWindow id0) - { ReleaseGraphicsResources_4(id0); } - - private native int GetIndex_5(); - public int GetIndex() - { return GetIndex_5(); } - - public vtkOpenGLTexture() { super(); } - - public vtkOpenGLTexture(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkOpenGLTexture object +// + +package vtk; +import vtk.*; + +public class vtkOpenGLTexture extends vtkTexture +{ + + 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 Render_2(vtkRenderer id0); + public void Render(vtkRenderer id0) + { Render_2(id0); } + + private native void Load_3(vtkRenderer id0); + public void Load(vtkRenderer id0) + { Load_3(id0); } + + private native void PostRender_4(vtkRenderer id0); + public void PostRender(vtkRenderer id0) + { PostRender_4(id0); } + + private native void ReleaseGraphicsResources_5(vtkWindow id0); + public void ReleaseGraphicsResources(vtkWindow id0) + { ReleaseGraphicsResources_5(id0); } + + private native void CopyTexImage_6(int id0,int id1,int id2,int id3); + public void CopyTexImage(int id0,int id1,int id2,int id3) + { CopyTexImage_6(id0,id1,id2,id3); } + + private native int GetIsDepthTexture_7(); + public int GetIsDepthTexture() + { return GetIsDepthTexture_7(); } + + private native void SetIsDepthTexture_8(int id0); + public void SetIsDepthTexture(int id0) + { SetIsDepthTexture_8(id0); } + + private native int GetTextureType_9(); + public int GetTextureType() + { return GetTextureType_9(); } + + private native void SetTextureType_10(int id0); + public void SetTextureType(int id0) + { SetTextureType_10(id0); } + + private native long GetTextureObject_11(); + public vtkTextureObject GetTextureObject() { + long temp = GetTextureObject_11(); + + if (temp == 0) return null; + return (vtkTextureObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetTextureObject_12(vtkTextureObject id0); + public void SetTextureObject(vtkTextureObject id0) + { SetTextureObject_12(id0); } + + private native int GetTextureUnit_13(); + public int GetTextureUnit() + { return GetTextureUnit_13(); } + + private native int IsTranslucent_14(); + public int IsTranslucent() + { return IsTranslucent_14(); } + + public vtkOpenGLTexture() { super(); } + + public vtkOpenGLTexture(long id) { super(id); } + public native long VTKInit(); + +}