]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkTree.java
Remove dependencies on log4j
[simantics/3d.git] / vtk / src / vtk / vtkTree.java
1 // java wrapper for vtkTree object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkTree extends vtkDirectedAcyclicGraph
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native int GetDataObjectType_2();
19   public int GetDataObjectType()
20     { return GetDataObjectType_2(); }
21
22   private native int GetRoot_3();
23   public int GetRoot()
24     { return GetRoot_3(); }
25
26   private native int GetNumberOfChildren_4(int id0);
27   public int GetNumberOfChildren(int id0)
28     { return GetNumberOfChildren_4(id0); }
29
30   private native int GetChild_5(int id0,int id1);
31   public int GetChild(int id0,int id1)
32     { return GetChild_5(id0,id1); }
33
34   private native void GetChildren_6(int id0,vtkAdjacentVertexIterator id1);
35   public void GetChildren(int id0,vtkAdjacentVertexIterator id1)
36     { GetChildren_6(id0,id1); }
37
38   private native int GetParent_7(int id0);
39   public int GetParent(int id0)
40     { return GetParent_7(id0); }
41
42   private native int GetLevel_8(int id0);
43   public int GetLevel(int id0)
44     { return GetLevel_8(id0); }
45
46   private native boolean IsLeaf_9(int id0);
47   public boolean IsLeaf(int id0)
48     { return IsLeaf_9(id0); }
49
50   private native long GetData_10(vtkInformation id0);
51   public vtkTree GetData(vtkInformation id0) {
52     long temp = GetData_10(id0);
53
54     if (temp == 0) return null;
55     return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
56 }
57
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);
61
62     if (temp == 0) return null;
63     return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
64 }
65
66   private native void ReorderChildren_12(int id0,vtkIdTypeArray id1);
67   public void ReorderChildren(int id0,vtkIdTypeArray id1)
68     { ReorderChildren_12(id0,id1); }
69
70   public vtkTree() { super(); }
71
72   public vtkTree(long id) { super(id); }
73   public native long   VTKInit();
74
75 }