X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkTreeIterator.java;h=cf822fbcf5d3523c9b0864b52f7de6a48b2cb41a;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=ddf9cc7688273cb55b3dc0659c3f365276b17090;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkTreeIterator.java b/vtk/src/vtk/vtkTreeIterator.java index ddf9cc76..cf822fbc 100644 --- a/vtk/src/vtk/vtkTreeIterator.java +++ b/vtk/src/vtk/vtkTreeIterator.java @@ -1,54 +1,54 @@ -// java wrapper for vtkTreeIterator object -// - -package vtk; -import vtk.*; - -public class vtkTreeIterator extends vtkObject -{ - - 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 void SetTree_2(vtkTree id0); - public void SetTree(vtkTree id0) - { SetTree_2(id0); } - - private native long GetTree_3(); - public vtkTree GetTree() { - long temp = GetTree_3(); - - if (temp == 0) return null; - return (vtkTree)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetStartVertex_4(int id0); - public void SetStartVertex(int id0) - { SetStartVertex_4(id0); } - - private native int GetStartVertex_5(); - public int GetStartVertex() - { return GetStartVertex_5(); } - - private native int Next_6(); - public int Next() - { return Next_6(); } - - private native boolean HasNext_7(); - public boolean HasNext() - { return HasNext_7(); } - - private native void Restart_8(); - public void Restart() - { Restart_8(); } - - public vtkTreeIterator() { super(); } - - public vtkTreeIterator(long id) { super(id); } - -} +// java wrapper for vtkTreeIterator object +// + +package vtk; +import vtk.*; + +public class vtkTreeIterator extends vtkObject +{ + + 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 void SetTree_2(vtkTree id0); + public void SetTree(vtkTree id0) + { SetTree_2(id0); } + + private native long GetTree_3(); + public vtkTree GetTree() { + long temp = GetTree_3(); + + if (temp == 0) return null; + return (vtkTree)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetStartVertex_4(int id0); + public void SetStartVertex(int id0) + { SetStartVertex_4(id0); } + + private native int GetStartVertex_5(); + public int GetStartVertex() + { return GetStartVertex_5(); } + + private native int Next_6(); + public int Next() + { return Next_6(); } + + private native boolean HasNext_7(); + public boolean HasNext() + { return HasNext_7(); } + + private native void Restart_8(); + public void Restart() + { Restart_8(); } + + public vtkTreeIterator() { super(); } + + public vtkTreeIterator(long id) { super(id); } + +}