X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkImageStencil.java;h=ee5983bba6c5ac943ba9690f4a72b9ac1ca3fa08;hb=a8fd21b46927e6ab9b6887dd87ddc6eca8161a76;hp=b6a81d9e4b17610096c4109f1a6370c95cdbf91c;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkImageStencil.java b/vtk/src/vtk/vtkImageStencil.java index b6a81d9e..ee5983bb 100644 --- a/vtk/src/vtk/vtkImageStencil.java +++ b/vtk/src/vtk/vtkImageStencil.java @@ -1,83 +1,87 @@ -// java wrapper for vtkImageStencil object -// - -package vtk; -import vtk.*; - -public class vtkImageStencil 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 SetStencil_2(vtkImageStencilData id0); - public void SetStencil(vtkImageStencilData id0) - { SetStencil_2(id0); } - - private native long GetStencil_3(); - public vtkImageStencilData GetStencil() { - long temp = GetStencil_3(); - - if (temp == 0) return null; - return (vtkImageStencilData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetReverseStencil_4(int id0); - public void SetReverseStencil(int id0) - { SetReverseStencil_4(id0); } - - private native void ReverseStencilOn_5(); - public void ReverseStencilOn() - { ReverseStencilOn_5(); } - - private native void ReverseStencilOff_6(); - public void ReverseStencilOff() - { ReverseStencilOff_6(); } - - private native int GetReverseStencil_7(); - public int GetReverseStencil() - { return GetReverseStencil_7(); } - - private native void SetBackgroundInput_8(vtkImageData id0); - public void SetBackgroundInput(vtkImageData id0) - { SetBackgroundInput_8(id0); } - - private native long GetBackgroundInput_9(); - public vtkImageData GetBackgroundInput() { - long temp = GetBackgroundInput_9(); - - if (temp == 0) return null; - return (vtkImageData)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetBackgroundValue_10(double id0); - public void SetBackgroundValue(double id0) - { SetBackgroundValue_10(id0); } - - private native double GetBackgroundValue_11(); - public double GetBackgroundValue() - { return GetBackgroundValue_11(); } - - private native void SetBackgroundColor_12(double id0,double id1,double id2,double id3); - public void SetBackgroundColor(double id0,double id1,double id2,double id3) - { SetBackgroundColor_12(id0,id1,id2,id3); } - - private native void SetBackgroundColor_13(double id0[]); - public void SetBackgroundColor(double id0[]) - { SetBackgroundColor_13(id0); } - - private native double[] GetBackgroundColor_14(); - public double[] GetBackgroundColor() - { return GetBackgroundColor_14(); } - - public vtkImageStencil() { super(); } - - public vtkImageStencil(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkImageStencil object +// + +package vtk; +import vtk.*; + +public class vtkImageStencil 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 SetStencilData_2(vtkImageStencilData id0); + public void SetStencilData(vtkImageStencilData id0) + { SetStencilData_2(id0); } + + private native long GetStencil_3(); + public vtkImageStencilData GetStencil() { + long temp = GetStencil_3(); + + if (temp == 0) return null; + return (vtkImageStencilData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetStencilConnection_4(vtkAlgorithmOutput id0); + public void SetStencilConnection(vtkAlgorithmOutput id0) + { SetStencilConnection_4(id0); } + + private native void SetReverseStencil_5(int id0); + public void SetReverseStencil(int id0) + { SetReverseStencil_5(id0); } + + private native void ReverseStencilOn_6(); + public void ReverseStencilOn() + { ReverseStencilOn_6(); } + + private native void ReverseStencilOff_7(); + public void ReverseStencilOff() + { ReverseStencilOff_7(); } + + private native int GetReverseStencil_8(); + public int GetReverseStencil() + { return GetReverseStencil_8(); } + + private native void SetBackgroundInputData_9(vtkImageData id0); + public void SetBackgroundInputData(vtkImageData id0) + { SetBackgroundInputData_9(id0); } + + private native long GetBackgroundInput_10(); + public vtkImageData GetBackgroundInput() { + long temp = GetBackgroundInput_10(); + + if (temp == 0) return null; + return (vtkImageData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetBackgroundValue_11(double id0); + public void SetBackgroundValue(double id0) + { SetBackgroundValue_11(id0); } + + private native double GetBackgroundValue_12(); + public double GetBackgroundValue() + { return GetBackgroundValue_12(); } + + private native void SetBackgroundColor_13(double id0,double id1,double id2,double id3); + public void SetBackgroundColor(double id0,double id1,double id2,double id3) + { SetBackgroundColor_13(id0,id1,id2,id3); } + + private native void SetBackgroundColor_14(double id0[]); + public void SetBackgroundColor(double id0[]) + { SetBackgroundColor_14(id0); } + + private native double[] GetBackgroundColor_15(); + public double[] GetBackgroundColor() + { return GetBackgroundColor_15(); } + + public vtkImageStencil() { super(); } + + public vtkImageStencil(long id) { super(id); } + public native long VTKInit(); + +}