1 // java wrapper for vtkGraphItem object
7 public class vtkGraphItem extends vtkContextItem
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 GetLayout_4();
31 public vtkIncrementalForceLayout GetLayout() {
32 long temp = GetLayout_4();
34 if (temp == 0) return null;
35 return (vtkIncrementalForceLayout)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
38 private native void StartLayoutAnimation_5(vtkRenderWindowInteractor id0);
39 public void StartLayoutAnimation(vtkRenderWindowInteractor id0)
40 { StartLayoutAnimation_5(id0); }
42 private native void StopLayoutAnimation_6();
43 public void StopLayoutAnimation()
44 { StopLayoutAnimation_6(); }
46 private native void UpdateLayout_7();
47 public void UpdateLayout()
50 public vtkGraphItem() { super(); }
52 public vtkGraphItem(long id) { super(id); }
53 public native long VTKInit();