1 // java wrapper for vtkImageStencil object
7 public class vtkImageStencil extends vtkThreadedImageAlgorithm
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native void SetStencilData_2(vtkImageStencilData id0);
19 public void SetStencilData(vtkImageStencilData id0)
20 { SetStencilData_2(id0); }
22 private native long GetStencil_3();
23 public vtkImageStencilData GetStencil() {
24 long temp = GetStencil_3();
26 if (temp == 0) return null;
27 return (vtkImageStencilData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
30 private native void SetStencilConnection_4(vtkAlgorithmOutput id0);
31 public void SetStencilConnection(vtkAlgorithmOutput id0)
32 { SetStencilConnection_4(id0); }
34 private native void SetReverseStencil_5(int id0);
35 public void SetReverseStencil(int id0)
36 { SetReverseStencil_5(id0); }
38 private native void ReverseStencilOn_6();
39 public void ReverseStencilOn()
40 { ReverseStencilOn_6(); }
42 private native void ReverseStencilOff_7();
43 public void ReverseStencilOff()
44 { ReverseStencilOff_7(); }
46 private native int GetReverseStencil_8();
47 public int GetReverseStencil()
48 { return GetReverseStencil_8(); }
50 private native void SetBackgroundInputData_9(vtkImageData id0);
51 public void SetBackgroundInputData(vtkImageData id0)
52 { SetBackgroundInputData_9(id0); }
54 private native long GetBackgroundInput_10();
55 public vtkImageData GetBackgroundInput() {
56 long temp = GetBackgroundInput_10();
58 if (temp == 0) return null;
59 return (vtkImageData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
62 private native void SetBackgroundValue_11(double id0);
63 public void SetBackgroundValue(double id0)
64 { SetBackgroundValue_11(id0); }
66 private native double GetBackgroundValue_12();
67 public double GetBackgroundValue()
68 { return GetBackgroundValue_12(); }
70 private native void SetBackgroundColor_13(double id0,double id1,double id2,double id3);
71 public void SetBackgroundColor(double id0,double id1,double id2,double id3)
72 { SetBackgroundColor_13(id0,id1,id2,id3); }
74 private native void SetBackgroundColor_14(double id0[]);
75 public void SetBackgroundColor(double id0[])
76 { SetBackgroundColor_14(id0); }
78 private native double[] GetBackgroundColor_15();
79 public double[] GetBackgroundColor()
80 { return GetBackgroundColor_15(); }
82 public vtkImageStencil() { super(); }
84 public vtkImageStencil(long id) { super(id); }
85 public native long VTKInit();