X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkIdListCollection.java;h=54ab5c329c7f7af07ca6f35763bf89809a7354bd;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=9ef7199ef826ca64927e3d663c18302ad0f7b2a6;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkIdListCollection.java b/vtk/src/vtk/vtkIdListCollection.java index 9ef7199e..54ab5c32 100644 --- a/vtk/src/vtk/vtkIdListCollection.java +++ b/vtk/src/vtk/vtkIdListCollection.java @@ -1,43 +1,43 @@ -// java wrapper for vtkIdListCollection object -// - -package vtk; -import vtk.*; - -public class vtkIdListCollection extends vtkCollection -{ - - 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 AddItem_2(vtkIdList id0); - public void AddItem(vtkIdList id0) - { AddItem_2(id0); } - - private native long GetNextItem_3(); - public vtkIdList GetNextItem() { - long temp = GetNextItem_3(); - - if (temp == 0) return null; - return (vtkIdList)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetItem_4(int id0); - public vtkIdList GetItem(int id0) { - long temp = GetItem_4(id0); - - if (temp == 0) return null; - return (vtkIdList)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - public vtkIdListCollection() { super(); } - - public vtkIdListCollection(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkIdListCollection object +// + +package vtk; +import vtk.*; + +public class vtkIdListCollection extends vtkCollection +{ + + 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 AddItem_2(vtkIdList id0); + public void AddItem(vtkIdList id0) + { AddItem_2(id0); } + + private native long GetNextItem_3(); + public vtkIdList GetNextItem() { + long temp = GetNextItem_3(); + + if (temp == 0) return null; + return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetItem_4(int id0); + public vtkIdList GetItem(int id0) { + long temp = GetItem_4(id0); + + if (temp == 0) return null; + return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + public vtkIdListCollection() { super(); } + + public vtkIdListCollection(long id) { super(id); } + public native long VTKInit(); + +}