X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkImageActor.java;h=99696ccd4b45f9a0ca724c631452d547cb4a9e4c;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=d91b622948c92b3d0fc92cbd331f767fa35fb5b1;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkImageActor.java b/vtk/src/vtk/vtkImageActor.java index d91b6229..99696ccd 100644 --- a/vtk/src/vtk/vtkImageActor.java +++ b/vtk/src/vtk/vtkImageActor.java @@ -1,127 +1,143 @@ -// java wrapper for vtkImageActor object -// - -package vtk; -import vtk.*; - -public class vtkImageActor extends vtkImageSlice -{ - - 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 SetInput_2(vtkImageData id0); - public void SetInput(vtkImageData id0) - { SetInput_2(id0); } - - private native long GetInput_3(); - public vtkImageData GetInput() { - long temp = GetInput_3(); - - if (temp == 0) return null; - return (vtkImageData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetInterpolate_4(int id0); - public void SetInterpolate(int id0) - { SetInterpolate_4(id0); } - - private native int GetInterpolate_5(); - public int GetInterpolate() - { return GetInterpolate_5(); } - - private native void InterpolateOn_6(); - public void InterpolateOn() - { InterpolateOn_6(); } - - private native void InterpolateOff_7(); - public void InterpolateOff() - { InterpolateOff_7(); } - - private native void SetOpacity_8(double id0); - public void SetOpacity(double id0) - { SetOpacity_8(id0); } - - private native double GetOpacity_9(); - public double GetOpacity() - { return GetOpacity_9(); } - - private native double GetOpacityMinValue_10(); - public double GetOpacityMinValue() - { return GetOpacityMinValue_10(); } - - private native double GetOpacityMaxValue_11(); - public double GetOpacityMaxValue() - { return GetOpacityMaxValue_11(); } - - private native void SetDisplayExtent_12(int id0[]); - public void SetDisplayExtent(int id0[]) - { SetDisplayExtent_12(id0); } - - private native void SetDisplayExtent_13(int id0,int id1,int id2,int id3,int id4,int id5); - public void SetDisplayExtent(int id0,int id1,int id2,int id3,int id4,int id5) - { SetDisplayExtent_13(id0,id1,id2,id3,id4,id5); } - - private native void GetDisplayExtent_14(int id0[]); - public void GetDisplayExtent(int id0[]) - { GetDisplayExtent_14(id0); } - - private native int[] GetDisplayExtent_15(); - public int[] GetDisplayExtent() - { return GetDisplayExtent_15(); } - - private native double[] GetBounds_16(); - public double[] GetBounds() - { return GetBounds_16(); } - - private native void GetBounds_17(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_17(id0); } - - private native void GetDisplayBounds_18(double id0[]); - public void GetDisplayBounds(double id0[]) - { GetDisplayBounds_18(id0); } - - private native int GetSliceNumber_19(); - public int GetSliceNumber() - { return GetSliceNumber_19(); } - - private native int GetSliceNumberMax_20(); - public int GetSliceNumberMax() - { return GetSliceNumberMax_20(); } - - private native int GetSliceNumberMin_21(); - public int GetSliceNumberMin() - { return GetSliceNumberMin_21(); } - - private native void SetZSlice_22(int id0); - public void SetZSlice(int id0) - { SetZSlice_22(id0); } - - private native int GetZSlice_23(); - public int GetZSlice() - { return GetZSlice_23(); } - - private native int GetWholeZMin_24(); - public int GetWholeZMin() - { return GetWholeZMin_24(); } - - private native int GetWholeZMax_25(); - public int GetWholeZMax() - { return GetWholeZMax_25(); } - - private native int HasTranslucentPolygonalGeometry_26(); - public int HasTranslucentPolygonalGeometry() - { return HasTranslucentPolygonalGeometry_26(); } - - public vtkImageActor() { super(); } - - public vtkImageActor(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkImageActor object +// + +package vtk; +import vtk.*; + +public class vtkImageActor extends vtkImageSlice +{ + + 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 SetInputData_2(vtkImageData id0); + public void SetInputData(vtkImageData id0) + { SetInputData_2(id0); } + + private native long GetInput_3(); + public vtkImageData GetInput() { + long temp = GetInput_3(); + + if (temp == 0) return null; + return (vtkImageData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetInterpolate_4(int id0); + public void SetInterpolate(int id0) + { SetInterpolate_4(id0); } + + private native int GetInterpolate_5(); + public int GetInterpolate() + { return GetInterpolate_5(); } + + private native void InterpolateOn_6(); + public void InterpolateOn() + { InterpolateOn_6(); } + + private native void InterpolateOff_7(); + public void InterpolateOff() + { InterpolateOff_7(); } + + private native void SetOpacity_8(double id0); + public void SetOpacity(double id0) + { SetOpacity_8(id0); } + + private native double GetOpacity_9(); + public double GetOpacity() + { return GetOpacity_9(); } + + private native double GetOpacityMinValue_10(); + public double GetOpacityMinValue() + { return GetOpacityMinValue_10(); } + + private native double GetOpacityMaxValue_11(); + public double GetOpacityMaxValue() + { return GetOpacityMaxValue_11(); } + + private native void SetDisplayExtent_12(int id0[]); + public void SetDisplayExtent(int id0[]) + { SetDisplayExtent_12(id0); } + + private native void SetDisplayExtent_13(int id0,int id1,int id2,int id3,int id4,int id5); + public void SetDisplayExtent(int id0,int id1,int id2,int id3,int id4,int id5) + { SetDisplayExtent_13(id0,id1,id2,id3,id4,id5); } + + private native void GetDisplayExtent_14(int id0[]); + public void GetDisplayExtent(int id0[]) + { GetDisplayExtent_14(id0); } + + private native int[] GetDisplayExtent_15(); + public int[] GetDisplayExtent() + { return GetDisplayExtent_15(); } + + private native double[] GetBounds_16(); + public double[] GetBounds() + { return GetBounds_16(); } + + private native void GetBounds_17(double id0[]); + public void GetBounds(double id0[]) + { GetBounds_17(id0); } + + private native void GetDisplayBounds_18(double id0[]); + public void GetDisplayBounds(double id0[]) + { GetDisplayBounds_18(id0); } + + private native int GetSliceNumber_19(); + public int GetSliceNumber() + { return GetSliceNumber_19(); } + + private native int GetSliceNumberMax_20(); + public int GetSliceNumberMax() + { return GetSliceNumberMax_20(); } + + private native int GetSliceNumberMin_21(); + public int GetSliceNumberMin() + { return GetSliceNumberMin_21(); } + + private native void SetZSlice_22(int id0); + public void SetZSlice(int id0) + { SetZSlice_22(id0); } + + private native int GetZSlice_23(); + public int GetZSlice() + { return GetZSlice_23(); } + + private native int GetWholeZMin_24(); + public int GetWholeZMin() + { return GetWholeZMin_24(); } + + private native int GetWholeZMax_25(); + public int GetWholeZMax() + { return GetWholeZMax_25(); } + + private native int HasTranslucentPolygonalGeometry_26(); + public int HasTranslucentPolygonalGeometry() + { return HasTranslucentPolygonalGeometry_26(); } + + private native boolean GetForceOpaque_27(); + public boolean GetForceOpaque() + { return GetForceOpaque_27(); } + + private native void SetForceOpaque_28(boolean id0); + public void SetForceOpaque(boolean id0) + { SetForceOpaque_28(id0); } + + private native void ForceOpaqueOn_29(); + public void ForceOpaqueOn() + { ForceOpaqueOn_29(); } + + private native void ForceOpaqueOff_30(); + public void ForceOpaqueOff() + { ForceOpaqueOff_30(); } + + public vtkImageActor() { super(); } + + public vtkImageActor(long id) { super(id); } + public native long VTKInit(); + +}