1 // java wrapper for vtkTree object
7 public class vtkTree extends vtkDirectedAcyclicGraph
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 int GetDataObjectType_2();
19 public int GetDataObjectType()
20 { return GetDataObjectType_2(); }
22 private native int GetRoot_3();
24 { return GetRoot_3(); }
26 private native int GetNumberOfChildren_4(int id0);
27 public int GetNumberOfChildren(int id0)
28 { return GetNumberOfChildren_4(id0); }
30 private native int GetChild_5(int id0,int id1);
31 public int GetChild(int id0,int id1)
32 { return GetChild_5(id0,id1); }
34 private native void GetChildren_6(int id0,vtkAdjacentVertexIterator id1);
35 public void GetChildren(int id0,vtkAdjacentVertexIterator id1)
36 { GetChildren_6(id0,id1); }
38 private native int GetParent_7(int id0);
39 public int GetParent(int id0)
40 { return GetParent_7(id0); }
42 private native int GetLevel_8(int id0);
43 public int GetLevel(int id0)
44 { return GetLevel_8(id0); }
46 private native boolean IsLeaf_9(int id0);
47 public boolean IsLeaf(int id0)
48 { return IsLeaf_9(id0); }
50 private native long GetData_10(vtkInformation id0);
51 public vtkTree GetData(vtkInformation id0) {
52 long temp = GetData_10(id0);
54 if (temp == 0) return null;
55 return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
58 private native long GetData_11(vtkInformationVector id0,int id1);
59 public vtkTree GetData(vtkInformationVector id0,int id1) {
60 long temp = GetData_11(id0,id1);
62 if (temp == 0) return null;
63 return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
66 private native void ReorderChildren_12(int id0,vtkIdTypeArray id1);
67 public void ReorderChildren(int id0,vtkIdTypeArray id1)
68 { ReorderChildren_12(id0,id1); }
70 public vtkTree() { super(); }
72 public vtkTree(long id) { super(id); }
73 public native long VTKInit();