]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkMutableGraphHelper.java
Loading VTK dlls with plug-in activator.
[simantics/3d.git] / vtk / src / vtk / vtkMutableGraphHelper.java
1 // java wrapper for vtkMutableGraphHelper object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkMutableGraphHelper extends vtkObject
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native void SetGraph_2(vtkGraph id0);
19   public void SetGraph(vtkGraph id0)
20     { SetGraph_2(id0); }
21
22   private native long GetGraph_3();
23   public vtkGraph GetGraph() {
24     long temp = GetGraph_3();
25
26     if (temp == 0) return null;
27     return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
28 }
29
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);
33
34     if (temp == 0) return null;
35     return (vtkGraphEdge)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
36 }
37
38   private native int AddVertex_5();
39   public int AddVertex()
40     { return AddVertex_5(); }
41
42   private native void RemoveVertex_6(int id0);
43   public void RemoveVertex(int id0)
44     { RemoveVertex_6(id0); }
45
46   private native void RemoveVertices_7(vtkIdTypeArray id0);
47   public void RemoveVertices(vtkIdTypeArray id0)
48     { RemoveVertices_7(id0); }
49
50   private native void RemoveEdge_8(int id0);
51   public void RemoveEdge(int id0)
52     { RemoveEdge_8(id0); }
53
54   private native void RemoveEdges_9(vtkIdTypeArray id0);
55   public void RemoveEdges(vtkIdTypeArray id0)
56     { RemoveEdges_9(id0); }
57
58   public vtkMutableGraphHelper() { super(); }
59
60   public vtkMutableGraphHelper(long id) { super(id); }
61   public native long   VTKInit();
62
63 }