1 // java wrapper for vtkCollection object
7 public class vtkCollection extends vtkObject
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 AddItem_2(vtkObject id0);
19 public void AddItem(vtkObject id0)
22 private native void InsertItem_3(int id0,vtkObject id1);
23 public void InsertItem(int id0,vtkObject id1)
24 { InsertItem_3(id0,id1); }
26 private native void ReplaceItem_4(int id0,vtkObject id1);
27 public void ReplaceItem(int id0,vtkObject id1)
28 { ReplaceItem_4(id0,id1); }
30 private native void RemoveItem_5(int id0);
31 public void RemoveItem(int id0)
32 { RemoveItem_5(id0); }
34 private native void RemoveItem_6(vtkObject id0);
35 public void RemoveItem(vtkObject id0)
36 { RemoveItem_6(id0); }
38 private native void RemoveAllItems_7();
39 public void RemoveAllItems()
40 { RemoveAllItems_7(); }
42 private native int IsItemPresent_8(vtkObject id0);
43 public int IsItemPresent(vtkObject id0)
44 { return IsItemPresent_8(id0); }
46 private native int GetNumberOfItems_9();
47 public int GetNumberOfItems()
48 { return GetNumberOfItems_9(); }
50 private native void InitTraversal_10();
51 public void InitTraversal()
52 { InitTraversal_10(); }
54 private native long GetNextItemAsObject_11();
55 public vtkObject GetNextItemAsObject() {
56 long temp = GetNextItemAsObject_11();
58 if (temp == 0) return null;
59 return (vtkObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
62 private native long GetItemAsObject_12(int id0);
63 public vtkObject GetItemAsObject(int id0) {
64 long temp = GetItemAsObject_12(id0);
66 if (temp == 0) return null;
67 return (vtkObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
70 private native long NewIterator_13();
71 public vtkCollectionIterator NewIterator() {
72 long temp = NewIterator_13();
74 if (temp == 0) return null;
75 return (vtkCollectionIterator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
78 private native void Register_14(vtkObjectBase id0);
79 public void Register(vtkObjectBase id0)
82 private native void UnRegister_15(vtkObjectBase id0);
83 public void UnRegister(vtkObjectBase id0)
84 { UnRegister_15(id0); }
86 public vtkCollection() { super(); }
88 public vtkCollection(long id) { super(id); }
89 public native long VTKInit();