X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkTree.java;h=bdbe1e77176390597af7fe4d715a1e52b9d881cb;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=f0a68c8ee6d64bab641bdae99271762929a1674b;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkTree.java b/vtk/src/vtk/vtkTree.java index f0a68c8e..bdbe1e77 100644 --- a/vtk/src/vtk/vtkTree.java +++ b/vtk/src/vtk/vtkTree.java @@ -1,75 +1,75 @@ -// java wrapper for vtkTree object -// - -package vtk; -import vtk.*; - -public class vtkTree extends vtkDirectedAcyclicGraph -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native int GetDataObjectType_2(); - public int GetDataObjectType() - { return GetDataObjectType_2(); } - - private native int GetRoot_3(); - public int GetRoot() - { return GetRoot_3(); } - - private native int GetNumberOfChildren_4(int id0); - public int GetNumberOfChildren(int id0) - { return GetNumberOfChildren_4(id0); } - - private native int GetChild_5(int id0,int id1); - public int GetChild(int id0,int id1) - { return GetChild_5(id0,id1); } - - private native void GetChildren_6(int id0,vtkAdjacentVertexIterator id1); - public void GetChildren(int id0,vtkAdjacentVertexIterator id1) - { GetChildren_6(id0,id1); } - - private native int GetParent_7(int id0); - public int GetParent(int id0) - { return GetParent_7(id0); } - - private native int GetLevel_8(int id0); - public int GetLevel(int id0) - { return GetLevel_8(id0); } - - private native boolean IsLeaf_9(int id0); - public boolean IsLeaf(int id0) - { return IsLeaf_9(id0); } - - private native long GetData_10(vtkInformation id0); - public vtkTree GetData(vtkInformation id0) { - long temp = GetData_10(id0); - - if (temp == 0) return null; - return (vtkTree)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetData_11(vtkInformationVector id0,int id1); - public vtkTree GetData(vtkInformationVector id0,int id1) { - long temp = GetData_11(id0,id1); - - if (temp == 0) return null; - return (vtkTree)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void ReorderChildren_12(int id0,vtkIdTypeArray id1); - public void ReorderChildren(int id0,vtkIdTypeArray id1) - { ReorderChildren_12(id0,id1); } - - public vtkTree() { super(); } - - public vtkTree(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkTree object +// + +package vtk; +import vtk.*; + +public class vtkTree extends vtkDirectedAcyclicGraph +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native int GetDataObjectType_2(); + public int GetDataObjectType() + { return GetDataObjectType_2(); } + + private native int GetRoot_3(); + public int GetRoot() + { return GetRoot_3(); } + + private native int GetNumberOfChildren_4(int id0); + public int GetNumberOfChildren(int id0) + { return GetNumberOfChildren_4(id0); } + + private native int GetChild_5(int id0,int id1); + public int GetChild(int id0,int id1) + { return GetChild_5(id0,id1); } + + private native void GetChildren_6(int id0,vtkAdjacentVertexIterator id1); + public void GetChildren(int id0,vtkAdjacentVertexIterator id1) + { GetChildren_6(id0,id1); } + + private native int GetParent_7(int id0); + public int GetParent(int id0) + { return GetParent_7(id0); } + + private native int GetLevel_8(int id0); + public int GetLevel(int id0) + { return GetLevel_8(id0); } + + private native boolean IsLeaf_9(int id0); + public boolean IsLeaf(int id0) + { return IsLeaf_9(id0); } + + private native long GetData_10(vtkInformation id0); + public vtkTree GetData(vtkInformation id0) { + long temp = GetData_10(id0); + + if (temp == 0) return null; + return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetData_11(vtkInformationVector id0,int id1); + public vtkTree GetData(vtkInformationVector id0,int id1) { + long temp = GetData_11(id0,id1); + + if (temp == 0) return null; + return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void ReorderChildren_12(int id0,vtkIdTypeArray id1); + public void ReorderChildren(int id0,vtkIdTypeArray id1) + { ReorderChildren_12(id0,id1); } + + public vtkTree() { super(); } + + public vtkTree(long id) { super(id); } + public native long VTKInit(); + +}