X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkContextActor.java;h=f2a1ee3d6b7102acbe5f38db8c05523eaa05a463;hb=a8fd21b46927e6ab9b6887dd87ddc6eca8161a76;hp=4973a7c41b7592f83530a2b4215e02c4d890c105;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkContextActor.java b/vtk/src/vtk/vtkContextActor.java index 4973a7c4..f2a1ee3d 100644 --- a/vtk/src/vtk/vtkContextActor.java +++ b/vtk/src/vtk/vtkContextActor.java @@ -1,55 +1,63 @@ -// java wrapper for vtkContextActor object -// - -package vtk; -import vtk.*; - -public class vtkContextActor extends vtkProp -{ - - 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 int RenderOverlay_2(vtkViewport id0); - public int RenderOverlay(vtkViewport id0) - { return RenderOverlay_2(id0); } - - private native void SetContext_3(vtkContext2D id0); - public void SetContext(vtkContext2D id0) - { SetContext_3(id0); } - - private native long GetContext_4(); - public vtkContext2D GetContext() { - long temp = GetContext_4(); - - if (temp == 0) return null; - return (vtkContext2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetScene_5(); - public vtkContextScene GetScene() { - long temp = GetScene_5(); - - if (temp == 0) return null; - return (vtkContextScene)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetScene_6(vtkContextScene id0); - public void SetScene(vtkContextScene id0) - { SetScene_6(id0); } - - private native void ReleaseGraphicsResources_7(vtkWindow id0); - public void ReleaseGraphicsResources(vtkWindow id0) - { ReleaseGraphicsResources_7(id0); } - - public vtkContextActor() { super(); } - - public vtkContextActor(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkContextActor object +// + +package vtk; +import vtk.*; + +public class vtkContextActor extends vtkProp +{ + + 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 int RenderOverlay_2(vtkViewport id0); + public int RenderOverlay(vtkViewport id0) + { return RenderOverlay_2(id0); } + + private native long GetContext_3(); + public vtkContext2D GetContext() { + long temp = GetContext_3(); + + if (temp == 0) return null; + return (vtkContext2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetScene_4(); + public vtkContextScene GetScene() { + long temp = GetScene_4(); + + if (temp == 0) return null; + return (vtkContextScene)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetScene_5(vtkContextScene id0); + public void SetScene(vtkContextScene id0) + { SetScene_5(id0); } + + private native void SetForceDevice_6(vtkContextDevice2D id0); + public void SetForceDevice(vtkContextDevice2D id0) + { SetForceDevice_6(id0); } + + private native long GetForceDevice_7(); + public vtkContextDevice2D GetForceDevice() { + long temp = GetForceDevice_7(); + + if (temp == 0) return null; + return (vtkContextDevice2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ReleaseGraphicsResources_8(vtkWindow id0); + public void ReleaseGraphicsResources(vtkWindow id0) + { ReleaseGraphicsResources_8(id0); } + + public vtkContextActor() { super(); } + + public vtkContextActor(long id) { super(id); } + public native long VTKInit(); + +}