1 // java wrapper for vtkMutableGraphHelper object
7 public class vtkMutableGraphHelper extends vtkObject
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 void SetGraph_2(vtkGraph id0);
19 public void SetGraph(vtkGraph id0)
22 private native long GetGraph_3();
23 public vtkGraph GetGraph() {
24 long temp = GetGraph_3();
26 if (temp == 0) return null;
27 return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
30 private native long AddGraphEdge_4(int id0,int id1);
31 public vtkGraphEdge AddGraphEdge(int id0,int id1) {
32 long temp = AddGraphEdge_4(id0,id1);
34 if (temp == 0) return null;
35 return (vtkGraphEdge)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
38 private native int AddVertex_5();
39 public int AddVertex()
40 { return AddVertex_5(); }
42 private native void RemoveVertex_6(int id0);
43 public void RemoveVertex(int id0)
44 { RemoveVertex_6(id0); }
46 private native void RemoveVertices_7(vtkIdTypeArray id0);
47 public void RemoveVertices(vtkIdTypeArray id0)
48 { RemoveVertices_7(id0); }
50 private native void RemoveEdge_8(int id0);
51 public void RemoveEdge(int id0)
52 { RemoveEdge_8(id0); }
54 private native void RemoveEdges_9(vtkIdTypeArray id0);
55 public void RemoveEdges(vtkIdTypeArray id0)
56 { RemoveEdges_9(id0); }
58 public vtkMutableGraphHelper() { super(); }
60 public vtkMutableGraphHelper(long id) { super(id); }
61 public native long VTKInit();