X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkImageViewer.java;h=18b9bc175f90f91f242330cbfd5491e5d8e13f25;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=96d5b8cebbb9d7cf828dc567d7b5746aebda9aa6;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkImageViewer.java b/vtk/src/vtk/vtkImageViewer.java index 96d5b8ce..18b9bc17 100644 --- a/vtk/src/vtk/vtkImageViewer.java +++ b/vtk/src/vtk/vtkImageViewer.java @@ -1,171 +1,159 @@ -// java wrapper for vtkImageViewer object -// - -package vtk; -import vtk.*; - -public class vtkImageViewer 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 String GetWindowName_2(); - public String GetWindowName() - { return GetWindowName_2(); } - - private native void Render_3(); - public void Render() - { Render_3(); } - - private native void SetInput_4(vtkImageData id0); - public void SetInput(vtkImageData id0) - { SetInput_4(id0); } - - private native long GetInput_5(); - public vtkImageData GetInput() { - long temp = GetInput_5(); - - if (temp == 0) return null; - return (vtkImageData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetInputConnection_6(vtkAlgorithmOutput id0); - public void SetInputConnection(vtkAlgorithmOutput id0) - { SetInputConnection_6(id0); } - - private native int GetWholeZMin_7(); - public int GetWholeZMin() - { return GetWholeZMin_7(); } - - private native int GetWholeZMax_8(); - public int GetWholeZMax() - { return GetWholeZMax_8(); } - - private native int GetZSlice_9(); - public int GetZSlice() - { return GetZSlice_9(); } - - private native void SetZSlice_10(int id0); - public void SetZSlice(int id0) - { SetZSlice_10(id0); } - - private native double GetColorWindow_11(); - public double GetColorWindow() - { return GetColorWindow_11(); } - - private native double GetColorLevel_12(); - public double GetColorLevel() - { return GetColorLevel_12(); } - - private native void SetColorWindow_13(double id0); - public void SetColorWindow(double id0) - { SetColorWindow_13(id0); } - - private native void SetColorLevel_14(double id0); - public void SetColorLevel(double id0) - { SetColorLevel_14(id0); } - - private native int GetGrayScaleHint_15(); - public int GetGrayScaleHint() - { return GetGrayScaleHint_15(); } - - private native void SetGrayScaleHint_16(int id0); - public void SetGrayScaleHint(int id0) - { SetGrayScaleHint_16(id0); } - - private native void GrayScaleHintOn_17(); - public void GrayScaleHintOn() - { GrayScaleHintOn_17(); } - - private native void GrayScaleHintOff_18(); - public void GrayScaleHintOff() - { GrayScaleHintOff_18(); } - - private native int[] GetPosition_19(); - public int[] GetPosition() - { return GetPosition_19(); } - - private native void SetPosition_20(int id0,int id1); - public void SetPosition(int id0,int id1) - { SetPosition_20(id0,id1); } - - private native void SetPosition_21(int id0[]); - public void SetPosition(int id0[]) - { SetPosition_21(id0); } - - private native int[] GetSize_22(); - public int[] GetSize() - { return GetSize_22(); } - - private native void SetSize_23(int id0,int id1); - public void SetSize(int id0,int id1) - { SetSize_23(id0,id1); } - - private native void SetSize_24(int id0[]); - public void SetSize(int id0[]) - { SetSize_24(id0); } - - private native long GetRenderWindow_25(); - public vtkRenderWindow GetRenderWindow() { - long temp = GetRenderWindow_25(); - - if (temp == 0) return null; - return (vtkRenderWindow)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetRenderer_26(); - public vtkRenderer GetRenderer() { - long temp = GetRenderer_26(); - - if (temp == 0) return null; - return (vtkRenderer)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetImageMapper_27(); - public vtkImageMapper GetImageMapper() { - long temp = GetImageMapper_27(); - - if (temp == 0) return null; - return (vtkImageMapper)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetActor2D_28(); - public vtkActor2D GetActor2D() { - long temp = GetActor2D_28(); - - if (temp == 0) return null; - return (vtkActor2D)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetupInteractor_29(vtkRenderWindowInteractor id0); - public void SetupInteractor(vtkRenderWindowInteractor id0) - { SetupInteractor_29(id0); } - - private native void SetOffScreenRendering_30(int id0); - public void SetOffScreenRendering(int id0) - { SetOffScreenRendering_30(id0); } - - private native int GetOffScreenRendering_31(); - public int GetOffScreenRendering() - { return GetOffScreenRendering_31(); } - - private native void OffScreenRenderingOn_32(); - public void OffScreenRenderingOn() - { OffScreenRenderingOn_32(); } - - private native void OffScreenRenderingOff_33(); - public void OffScreenRenderingOff() - { OffScreenRenderingOff_33(); } - - public vtkImageViewer() { super(); } - - public vtkImageViewer(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkImageViewer object +// + +package vtk; +import vtk.*; + +public class vtkImageViewer 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 String GetWindowName_2(); + public String GetWindowName() + { return GetWindowName_2(); } + + private native void Render_3(); + public void Render() + { Render_3(); } + + private native void SetInputData_4(vtkImageData id0); + public void SetInputData(vtkImageData id0) + { SetInputData_4(id0); } + + private native long GetInput_5(); + public vtkImageData GetInput() { + long temp = GetInput_5(); + + if (temp == 0) return null; + return (vtkImageData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetInputConnection_6(vtkAlgorithmOutput id0); + public void SetInputConnection(vtkAlgorithmOutput id0) + { SetInputConnection_6(id0); } + + private native int GetWholeZMin_7(); + public int GetWholeZMin() + { return GetWholeZMin_7(); } + + private native int GetWholeZMax_8(); + public int GetWholeZMax() + { return GetWholeZMax_8(); } + + private native int GetZSlice_9(); + public int GetZSlice() + { return GetZSlice_9(); } + + private native void SetZSlice_10(int id0); + public void SetZSlice(int id0) + { SetZSlice_10(id0); } + + private native double GetColorWindow_11(); + public double GetColorWindow() + { return GetColorWindow_11(); } + + private native double GetColorLevel_12(); + public double GetColorLevel() + { return GetColorLevel_12(); } + + private native void SetColorWindow_13(double id0); + public void SetColorWindow(double id0) + { SetColorWindow_13(id0); } + + private native void SetColorLevel_14(double id0); + public void SetColorLevel(double id0) + { SetColorLevel_14(id0); } + + private native int[] GetPosition_15(); + public int[] GetPosition() + { return GetPosition_15(); } + + private native void SetPosition_16(int id0,int id1); + public void SetPosition(int id0,int id1) + { SetPosition_16(id0,id1); } + + private native void SetPosition_17(int id0[]); + public void SetPosition(int id0[]) + { SetPosition_17(id0); } + + private native int[] GetSize_18(); + public int[] GetSize() + { return GetSize_18(); } + + private native void SetSize_19(int id0,int id1); + public void SetSize(int id0,int id1) + { SetSize_19(id0,id1); } + + private native void SetSize_20(int id0[]); + public void SetSize(int id0[]) + { SetSize_20(id0); } + + private native long GetRenderWindow_21(); + public vtkRenderWindow GetRenderWindow() { + long temp = GetRenderWindow_21(); + + if (temp == 0) return null; + return (vtkRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetRenderWindow_22(vtkRenderWindow id0); + public void SetRenderWindow(vtkRenderWindow id0) + { SetRenderWindow_22(id0); } + + private native long GetRenderer_23(); + public vtkRenderer GetRenderer() { + long temp = GetRenderer_23(); + + if (temp == 0) return null; + return (vtkRenderer)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetImageMapper_24(); + public vtkImageMapper GetImageMapper() { + long temp = GetImageMapper_24(); + + if (temp == 0) return null; + return (vtkImageMapper)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetActor2D_25(); + public vtkActor2D GetActor2D() { + long temp = GetActor2D_25(); + + if (temp == 0) return null; + return (vtkActor2D)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetupInteractor_26(vtkRenderWindowInteractor id0); + public void SetupInteractor(vtkRenderWindowInteractor id0) + { SetupInteractor_26(id0); } + + private native void SetOffScreenRendering_27(int id0); + public void SetOffScreenRendering(int id0) + { SetOffScreenRendering_27(id0); } + + private native int GetOffScreenRendering_28(); + public int GetOffScreenRendering() + { return GetOffScreenRendering_28(); } + + private native void OffScreenRenderingOn_29(); + public void OffScreenRenderingOn() + { OffScreenRenderingOn_29(); } + + private native void OffScreenRenderingOff_30(); + public void OffScreenRenderingOff() + { OffScreenRenderingOff_30(); } + + public vtkImageViewer() { super(); } + + public vtkImageViewer(long id) { super(id); } + public native long VTKInit(); + +}