1 // java wrapper for vtkMutableGraphHelper object
\r
7 public class vtkMutableGraphHelper extends vtkObject
\r
10 private native String GetClassName_0();
\r
11 public String GetClassName()
\r
12 { return GetClassName_0(); }
\r
14 private native int IsA_1(String id0);
\r
15 public int IsA(String id0)
\r
16 { return IsA_1(id0); }
\r
18 private native void SetGraph_2(vtkGraph id0);
\r
19 public void SetGraph(vtkGraph id0)
\r
20 { SetGraph_2(id0); }
\r
22 private native long GetGraph_3();
\r
23 public vtkGraph GetGraph() {
\r
24 long temp = GetGraph_3();
\r
26 if (temp == 0) return null;
\r
27 return (vtkGraph)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);
\r
30 private native long AddGraphEdge_4(int id0,int id1);
\r
31 public vtkGraphEdge AddGraphEdge(int id0,int id1) {
\r
32 long temp = AddGraphEdge_4(id0,id1);
\r
34 if (temp == 0) return null;
\r
35 return (vtkGraphEdge)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp);
\r
38 private native int AddVertex_5();
\r
39 public int AddVertex()
\r
40 { return AddVertex_5(); }
\r
42 private native void RemoveVertex_6(int id0);
\r
43 public void RemoveVertex(int id0)
\r
44 { RemoveVertex_6(id0); }
\r
46 private native void RemoveVertices_7(vtkIdTypeArray id0);
\r
47 public void RemoveVertices(vtkIdTypeArray id0)
\r
48 { RemoveVertices_7(id0); }
\r
50 private native void RemoveEdge_8(int id0);
\r
51 public void RemoveEdge(int id0)
\r
52 { RemoveEdge_8(id0); }
\r
54 private native void RemoveEdges_9(vtkIdTypeArray id0);
\r
55 public void RemoveEdges(vtkIdTypeArray id0)
\r
56 { RemoveEdges_9(id0); }
\r
58 public vtkMutableGraphHelper() { super(); }
\r
60 public vtkMutableGraphHelper(long id) { super(id); }
\r
61 public native long VTKInit();
\r