X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkImageResize.java;h=8d99dc3f24550c7a637d6e7881730a4aa466377f;hb=e75c2f6a2f0bdef0e8077879664715d99cede843;hp=08e0dd7f93ad917e2c5cbed8b1fde473f46cb228;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkImageResize.java b/vtk/src/vtk/vtkImageResize.java index 08e0dd7f..8d99dc3f 100644 --- a/vtk/src/vtk/vtkImageResize.java +++ b/vtk/src/vtk/vtkImageResize.java @@ -1,167 +1,167 @@ -// java wrapper for vtkImageResize object -// - -package vtk; -import vtk.*; - -public class vtkImageResize extends vtkThreadedImageAlgorithm -{ - - 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 SetResizeMethod_2(int id0); - public void SetResizeMethod(int id0) - { SetResizeMethod_2(id0); } - - private native int GetResizeMethodMinValue_3(); - public int GetResizeMethodMinValue() - { return GetResizeMethodMinValue_3(); } - - private native int GetResizeMethodMaxValue_4(); - public int GetResizeMethodMaxValue() - { return GetResizeMethodMaxValue_4(); } - - private native int GetResizeMethod_5(); - public int GetResizeMethod() - { return GetResizeMethod_5(); } - - private native void SetResizeMethodToOutputDimensions_6(); - public void SetResizeMethodToOutputDimensions() - { SetResizeMethodToOutputDimensions_6(); } - - private native void SetResizeMethodToOutputSpacing_7(); - public void SetResizeMethodToOutputSpacing() - { SetResizeMethodToOutputSpacing_7(); } - - private native void SetResizeMethodToMagnificationFactors_8(); - public void SetResizeMethodToMagnificationFactors() - { SetResizeMethodToMagnificationFactors_8(); } - - private native String GetResizeMethodAsString_9(); - public String GetResizeMethodAsString() - { return GetResizeMethodAsString_9(); } - - private native void SetOutputDimensions_10(int id0,int id1,int id2); - public void SetOutputDimensions(int id0,int id1,int id2) - { SetOutputDimensions_10(id0,id1,id2); } - - private native void SetOutputDimensions_11(int id0[]); - public void SetOutputDimensions(int id0[]) - { SetOutputDimensions_11(id0); } - - private native int[] GetOutputDimensions_12(); - public int[] GetOutputDimensions() - { return GetOutputDimensions_12(); } - - private native void SetOutputSpacing_13(double id0,double id1,double id2); - public void SetOutputSpacing(double id0,double id1,double id2) - { SetOutputSpacing_13(id0,id1,id2); } - - private native void SetOutputSpacing_14(double id0[]); - public void SetOutputSpacing(double id0[]) - { SetOutputSpacing_14(id0); } - - private native double[] GetOutputSpacing_15(); - public double[] GetOutputSpacing() - { return GetOutputSpacing_15(); } - - private native void SetMagnificationFactors_16(double id0,double id1,double id2); - public void SetMagnificationFactors(double id0,double id1,double id2) - { SetMagnificationFactors_16(id0,id1,id2); } - - private native void SetMagnificationFactors_17(double id0[]); - public void SetMagnificationFactors(double id0[]) - { SetMagnificationFactors_17(id0); } - - private native double[] GetMagnificationFactors_18(); - public double[] GetMagnificationFactors() - { return GetMagnificationFactors_18(); } - - private native void SetBorder_19(int id0); - public void SetBorder(int id0) - { SetBorder_19(id0); } - - private native void BorderOn_20(); - public void BorderOn() - { BorderOn_20(); } - - private native void BorderOff_21(); - public void BorderOff() - { BorderOff_21(); } - - private native int GetBorder_22(); - public int GetBorder() - { return GetBorder_22(); } - - private native void SetCropping_23(int id0); - public void SetCropping(int id0) - { SetCropping_23(id0); } - - private native void CroppingOn_24(); - public void CroppingOn() - { CroppingOn_24(); } - - private native void CroppingOff_25(); - public void CroppingOff() - { CroppingOff_25(); } - - private native int GetCropping_26(); - public int GetCropping() - { return GetCropping_26(); } - - private native void SetCroppingRegion_27(double id0,double id1,double id2,double id3,double id4,double id5); - public void SetCroppingRegion(double id0,double id1,double id2,double id3,double id4,double id5) - { SetCroppingRegion_27(id0,id1,id2,id3,id4,id5); } - - private native void SetCroppingRegion_28(double id0[]); - public void SetCroppingRegion(double id0[]) - { SetCroppingRegion_28(id0); } - - private native double[] GetCroppingRegion_29(); - public double[] GetCroppingRegion() - { return GetCroppingRegion_29(); } - - private native void SetInterpolate_30(int id0); - public void SetInterpolate(int id0) - { SetInterpolate_30(id0); } - - private native void InterpolateOn_31(); - public void InterpolateOn() - { InterpolateOn_31(); } - - private native void InterpolateOff_32(); - public void InterpolateOff() - { InterpolateOff_32(); } - - private native int GetInterpolate_33(); - public int GetInterpolate() - { return GetInterpolate_33(); } - - private native void SetInterpolator_34(vtkAbstractImageInterpolator id0); - public void SetInterpolator(vtkAbstractImageInterpolator id0) - { SetInterpolator_34(id0); } - - private native long GetInterpolator_35(); - public vtkAbstractImageInterpolator GetInterpolator() { - long temp = GetInterpolator_35(); - - if (temp == 0) return null; - return (vtkAbstractImageInterpolator)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetMTime_36(); - public int GetMTime() - { return GetMTime_36(); } - - public vtkImageResize() { super(); } - - public vtkImageResize(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkImageResize object +// + +package vtk; +import vtk.*; + +public class vtkImageResize extends vtkThreadedImageAlgorithm +{ + + 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 SetResizeMethod_2(int id0); + public void SetResizeMethod(int id0) + { SetResizeMethod_2(id0); } + + private native int GetResizeMethodMinValue_3(); + public int GetResizeMethodMinValue() + { return GetResizeMethodMinValue_3(); } + + private native int GetResizeMethodMaxValue_4(); + public int GetResizeMethodMaxValue() + { return GetResizeMethodMaxValue_4(); } + + private native int GetResizeMethod_5(); + public int GetResizeMethod() + { return GetResizeMethod_5(); } + + private native void SetResizeMethodToOutputDimensions_6(); + public void SetResizeMethodToOutputDimensions() + { SetResizeMethodToOutputDimensions_6(); } + + private native void SetResizeMethodToOutputSpacing_7(); + public void SetResizeMethodToOutputSpacing() + { SetResizeMethodToOutputSpacing_7(); } + + private native void SetResizeMethodToMagnificationFactors_8(); + public void SetResizeMethodToMagnificationFactors() + { SetResizeMethodToMagnificationFactors_8(); } + + private native String GetResizeMethodAsString_9(); + public String GetResizeMethodAsString() + { return GetResizeMethodAsString_9(); } + + private native void SetOutputDimensions_10(int id0,int id1,int id2); + public void SetOutputDimensions(int id0,int id1,int id2) + { SetOutputDimensions_10(id0,id1,id2); } + + private native void SetOutputDimensions_11(int id0[]); + public void SetOutputDimensions(int id0[]) + { SetOutputDimensions_11(id0); } + + private native int[] GetOutputDimensions_12(); + public int[] GetOutputDimensions() + { return GetOutputDimensions_12(); } + + private native void SetOutputSpacing_13(double id0,double id1,double id2); + public void SetOutputSpacing(double id0,double id1,double id2) + { SetOutputSpacing_13(id0,id1,id2); } + + private native void SetOutputSpacing_14(double id0[]); + public void SetOutputSpacing(double id0[]) + { SetOutputSpacing_14(id0); } + + private native double[] GetOutputSpacing_15(); + public double[] GetOutputSpacing() + { return GetOutputSpacing_15(); } + + private native void SetMagnificationFactors_16(double id0,double id1,double id2); + public void SetMagnificationFactors(double id0,double id1,double id2) + { SetMagnificationFactors_16(id0,id1,id2); } + + private native void SetMagnificationFactors_17(double id0[]); + public void SetMagnificationFactors(double id0[]) + { SetMagnificationFactors_17(id0); } + + private native double[] GetMagnificationFactors_18(); + public double[] GetMagnificationFactors() + { return GetMagnificationFactors_18(); } + + private native void SetBorder_19(int id0); + public void SetBorder(int id0) + { SetBorder_19(id0); } + + private native void BorderOn_20(); + public void BorderOn() + { BorderOn_20(); } + + private native void BorderOff_21(); + public void BorderOff() + { BorderOff_21(); } + + private native int GetBorder_22(); + public int GetBorder() + { return GetBorder_22(); } + + private native void SetCropping_23(int id0); + public void SetCropping(int id0) + { SetCropping_23(id0); } + + private native void CroppingOn_24(); + public void CroppingOn() + { CroppingOn_24(); } + + private native void CroppingOff_25(); + public void CroppingOff() + { CroppingOff_25(); } + + private native int GetCropping_26(); + public int GetCropping() + { return GetCropping_26(); } + + private native void SetCroppingRegion_27(double id0,double id1,double id2,double id3,double id4,double id5); + public void SetCroppingRegion(double id0,double id1,double id2,double id3,double id4,double id5) + { SetCroppingRegion_27(id0,id1,id2,id3,id4,id5); } + + private native void SetCroppingRegion_28(double id0[]); + public void SetCroppingRegion(double id0[]) + { SetCroppingRegion_28(id0); } + + private native double[] GetCroppingRegion_29(); + public double[] GetCroppingRegion() + { return GetCroppingRegion_29(); } + + private native void SetInterpolate_30(int id0); + public void SetInterpolate(int id0) + { SetInterpolate_30(id0); } + + private native void InterpolateOn_31(); + public void InterpolateOn() + { InterpolateOn_31(); } + + private native void InterpolateOff_32(); + public void InterpolateOff() + { InterpolateOff_32(); } + + private native int GetInterpolate_33(); + public int GetInterpolate() + { return GetInterpolate_33(); } + + private native void SetInterpolator_34(vtkAbstractImageInterpolator id0); + public void SetInterpolator(vtkAbstractImageInterpolator id0) + { SetInterpolator_34(id0); } + + private native long GetInterpolator_35(); + public vtkAbstractImageInterpolator GetInterpolator() { + long temp = GetInterpolator_35(); + + if (temp == 0) return null; + return (vtkAbstractImageInterpolator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetMTime_36(); + public int GetMTime() + { return GetMTime_36(); } + + public vtkImageResize() { super(); } + + public vtkImageResize(long id) { super(id); } + public native long VTKInit(); + +}