X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkMutableGraphHelper.java;h=c127ecca1c9bb515649704ff20a02f0e32546af8;hb=f13bbe4a5dd9b50077ab6110bfb20257e4ebf6f0;hp=f0d138f2b2bc3df140f7f809ff076804578b72d4;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkMutableGraphHelper.java b/vtk/src/vtk/vtkMutableGraphHelper.java index f0d138f2..c127ecca 100644 --- a/vtk/src/vtk/vtkMutableGraphHelper.java +++ b/vtk/src/vtk/vtkMutableGraphHelper.java @@ -1,63 +1,63 @@ -// java wrapper for vtkMutableGraphHelper object -// - -package vtk; -import vtk.*; - -public class vtkMutableGraphHelper 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 SetGraph_2(vtkGraph id0); - public void SetGraph(vtkGraph id0) - { SetGraph_2(id0); } - - private native long GetGraph_3(); - public vtkGraph GetGraph() { - long temp = GetGraph_3(); - - if (temp == 0) return null; - return (vtkGraph)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long AddGraphEdge_4(int id0,int id1); - public vtkGraphEdge AddGraphEdge(int id0,int id1) { - long temp = AddGraphEdge_4(id0,id1); - - if (temp == 0) return null; - return (vtkGraphEdge)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int AddVertex_5(); - public int AddVertex() - { return AddVertex_5(); } - - private native void RemoveVertex_6(int id0); - public void RemoveVertex(int id0) - { RemoveVertex_6(id0); } - - private native void RemoveVertices_7(vtkIdTypeArray id0); - public void RemoveVertices(vtkIdTypeArray id0) - { RemoveVertices_7(id0); } - - private native void RemoveEdge_8(int id0); - public void RemoveEdge(int id0) - { RemoveEdge_8(id0); } - - private native void RemoveEdges_9(vtkIdTypeArray id0); - public void RemoveEdges(vtkIdTypeArray id0) - { RemoveEdges_9(id0); } - - public vtkMutableGraphHelper() { super(); } - - public vtkMutableGraphHelper(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkMutableGraphHelper object +// + +package vtk; +import vtk.*; + +public class vtkMutableGraphHelper 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 SetGraph_2(vtkGraph id0); + public void SetGraph(vtkGraph id0) + { SetGraph_2(id0); } + + private native long GetGraph_3(); + public vtkGraph GetGraph() { + long temp = GetGraph_3(); + + if (temp == 0) return null; + return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long AddGraphEdge_4(int id0,int id1); + public vtkGraphEdge AddGraphEdge(int id0,int id1) { + long temp = AddGraphEdge_4(id0,id1); + + if (temp == 0) return null; + return (vtkGraphEdge)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int AddVertex_5(); + public int AddVertex() + { return AddVertex_5(); } + + private native void RemoveVertex_6(int id0); + public void RemoveVertex(int id0) + { RemoveVertex_6(id0); } + + private native void RemoveVertices_7(vtkIdTypeArray id0); + public void RemoveVertices(vtkIdTypeArray id0) + { RemoveVertices_7(id0); } + + private native void RemoveEdge_8(int id0); + public void RemoveEdge(int id0) + { RemoveEdge_8(id0); } + + private native void RemoveEdges_9(vtkIdTypeArray id0); + public void RemoveEdges(vtkIdTypeArray id0) + { RemoveEdges_9(id0); } + + public vtkMutableGraphHelper() { super(); } + + public vtkMutableGraphHelper(long id) { super(id); } + public native long VTKInit(); + +}