1 // java wrapper for vtkMutableUndirectedGraph object
7 public class vtkMutableUndirectedGraph extends vtkUndirectedGraph
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native int SetNumberOfVertices_2(int id0);
19 public int SetNumberOfVertices(int id0)
20 { return SetNumberOfVertices_2(id0); }
22 private native int AddVertex_3();
23 public int AddVertex()
24 { return AddVertex_3(); }
26 private native int AddVertex_4(vtkVariantArray id0);
27 public int AddVertex(vtkVariantArray id0)
28 { return AddVertex_4(id0); }
30 private native void LazyAddVertex_5();
31 public void LazyAddVertex()
32 { LazyAddVertex_5(); }
34 private native void LazyAddVertex_6(vtkVariantArray id0);
35 public void LazyAddVertex(vtkVariantArray id0)
36 { LazyAddVertex_6(id0); }
38 private native void LazyAddEdge_7(int id0,int id1);
39 public void LazyAddEdge(int id0,int id1)
40 { LazyAddEdge_7(id0,id1); }
42 private native void LazyAddEdge_8(int id0,int id1,vtkVariantArray id2);
43 public void LazyAddEdge(int id0,int id1,vtkVariantArray id2)
44 { LazyAddEdge_8(id0,id1,id2); }
46 private native long AddGraphEdge_9(int id0,int id1);
47 public vtkGraphEdge AddGraphEdge(int id0,int id1) {
48 long temp = AddGraphEdge_9(id0,id1);
50 if (temp == 0) return null;
51 return (vtkGraphEdge)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
54 private native void RemoveVertex_10(int id0);
55 public void RemoveVertex(int id0)
56 { RemoveVertex_10(id0); }
58 private native void RemoveEdge_11(int id0);
59 public void RemoveEdge(int id0)
60 { RemoveEdge_11(id0); }
62 private native void RemoveVertices_12(vtkIdTypeArray id0);
63 public void RemoveVertices(vtkIdTypeArray id0)
64 { RemoveVertices_12(id0); }
66 private native void RemoveEdges_13(vtkIdTypeArray id0);
67 public void RemoveEdges(vtkIdTypeArray id0)
68 { RemoveEdges_13(id0); }
70 public vtkMutableUndirectedGraph() { super(); }
72 public vtkMutableUndirectedGraph(long id) { super(id); }
73 public native long VTKInit();