1 // java wrapper for vtkImageItem object
7 public class vtkImageItem extends vtkContextItem
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 boolean Paint_2(vtkContext2D id0);
19 public boolean Paint(vtkContext2D id0)
20 { return Paint_2(id0); }
22 private native void SetImage_3(vtkImageData id0);
23 public void SetImage(vtkImageData id0)
26 private native long GetImage_4();
27 public vtkImageData GetImage() {
28 long temp = GetImage_4();
30 if (temp == 0) return null;
31 return (vtkImageData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
34 private native void SetPosition_5(double id0,double id1);
35 public void SetPosition(double id0,double id1)
36 { SetPosition_5(id0,id1); }
38 private native void SetPosition_6(double id0[]);
39 public void SetPosition(double id0[])
40 { SetPosition_6(id0); }
42 private native double[] GetPosition_7();
43 public double[] GetPosition()
44 { return GetPosition_7(); }
46 public vtkImageItem() { super(); }
48 public vtkImageItem(long id) { super(id); }
49 public native long VTKInit();