]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkGraph.java
Show busy cursor and block UI input while committing changes
[simantics/3d.git] / vtk / src / vtk / vtkGraph.java
1 // java wrapper for vtkGraph object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkGraph extends vtkDataObject
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 long GetVertexData_2();
19   public vtkDataSetAttributes GetVertexData() {
20     long temp = GetVertexData_2();
21
22     if (temp == 0) return null;
23     return (vtkDataSetAttributes)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
24 }
25
26   private native long GetEdgeData_3();
27   public vtkDataSetAttributes GetEdgeData() {
28     long temp = GetEdgeData_3();
29
30     if (temp == 0) return null;
31     return (vtkDataSetAttributes)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
32 }
33
34   private native int GetDataObjectType_4();
35   public int GetDataObjectType()
36     { return GetDataObjectType_4(); }
37
38   private native void Initialize_5();
39   public void Initialize()
40     { Initialize_5(); }
41
42   private native void GetPoint_6(int id0,double id1[]);
43   public void GetPoint(int id0,double id1[])
44     { GetPoint_6(id0,id1); }
45
46   private native long GetPoints_7();
47   public vtkPoints GetPoints() {
48     long temp = GetPoints_7();
49
50     if (temp == 0) return null;
51     return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
52 }
53
54   private native void SetPoints_8(vtkPoints id0);
55   public void SetPoints(vtkPoints id0)
56     { SetPoints_8(id0); }
57
58   private native void ComputeBounds_9();
59   public void ComputeBounds()
60     { ComputeBounds_9(); }
61
62   private native void GetBounds_10(double id0[]);
63   public void GetBounds(double id0[])
64     { GetBounds_10(id0); }
65
66   private native int GetMTime_11();
67   public int GetMTime()
68     { return GetMTime_11(); }
69
70   private native void GetOutEdges_12(int id0,vtkOutEdgeIterator id1);
71   public void GetOutEdges(int id0,vtkOutEdgeIterator id1)
72     { GetOutEdges_12(id0,id1); }
73
74   private native int GetDegree_13(int id0);
75   public int GetDegree(int id0)
76     { return GetDegree_13(id0); }
77
78   private native int GetOutDegree_14(int id0);
79   public int GetOutDegree(int id0)
80     { return GetOutDegree_14(id0); }
81
82   private native void GetOutEdge_15(int id0,int id1,vtkGraphEdge id2);
83   public void GetOutEdge(int id0,int id1,vtkGraphEdge id2)
84     { GetOutEdge_15(id0,id1,id2); }
85
86   private native void GetInEdges_16(int id0,vtkInEdgeIterator id1);
87   public void GetInEdges(int id0,vtkInEdgeIterator id1)
88     { GetInEdges_16(id0,id1); }
89
90   private native int GetInDegree_17(int id0);
91   public int GetInDegree(int id0)
92     { return GetInDegree_17(id0); }
93
94   private native void GetInEdge_18(int id0,int id1,vtkGraphEdge id2);
95   public void GetInEdge(int id0,int id1,vtkGraphEdge id2)
96     { GetInEdge_18(id0,id1,id2); }
97
98   private native void GetAdjacentVertices_19(int id0,vtkAdjacentVertexIterator id1);
99   public void GetAdjacentVertices(int id0,vtkAdjacentVertexIterator id1)
100     { GetAdjacentVertices_19(id0,id1); }
101
102   private native void GetEdges_20(vtkEdgeListIterator id0);
103   public void GetEdges(vtkEdgeListIterator id0)
104     { GetEdges_20(id0); }
105
106   private native int GetNumberOfEdges_21();
107   public int GetNumberOfEdges()
108     { return GetNumberOfEdges_21(); }
109
110   private native void GetVertices_22(vtkVertexListIterator id0);
111   public void GetVertices(vtkVertexListIterator id0)
112     { GetVertices_22(id0); }
113
114   private native int GetNumberOfVertices_23();
115   public int GetNumberOfVertices()
116     { return GetNumberOfVertices_23(); }
117
118   private native void SetDistributedGraphHelper_24(vtkDistributedGraphHelper id0);
119   public void SetDistributedGraphHelper(vtkDistributedGraphHelper id0)
120     { SetDistributedGraphHelper_24(id0); }
121
122   private native long GetDistributedGraphHelper_25();
123   public vtkDistributedGraphHelper GetDistributedGraphHelper() {
124     long temp = GetDistributedGraphHelper_25();
125
126     if (temp == 0) return null;
127     return (vtkDistributedGraphHelper)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
128 }
129
130   private native void ShallowCopy_26(vtkDataObject id0);
131   public void ShallowCopy(vtkDataObject id0)
132     { ShallowCopy_26(id0); }
133
134   private native void DeepCopy_27(vtkDataObject id0);
135   public void DeepCopy(vtkDataObject id0)
136     { DeepCopy_27(id0); }
137
138   private native void CopyStructure_28(vtkGraph id0);
139   public void CopyStructure(vtkGraph id0)
140     { CopyStructure_28(id0); }
141
142   private native boolean CheckedShallowCopy_29(vtkGraph id0);
143   public boolean CheckedShallowCopy(vtkGraph id0)
144     { return CheckedShallowCopy_29(id0); }
145
146   private native boolean CheckedDeepCopy_30(vtkGraph id0);
147   public boolean CheckedDeepCopy(vtkGraph id0)
148     { return CheckedDeepCopy_30(id0); }
149
150   private native void Squeeze_31();
151   public void Squeeze()
152     { Squeeze_31(); }
153
154   private native long GetData_32(vtkInformation id0);
155   public vtkGraph GetData(vtkInformation id0) {
156     long temp = GetData_32(id0);
157
158     if (temp == 0) return null;
159     return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
160 }
161
162   private native long GetData_33(vtkInformationVector id0,int id1);
163   public vtkGraph GetData(vtkInformationVector id0,int id1) {
164     long temp = GetData_33(id0,id1);
165
166     if (temp == 0) return null;
167     return (vtkGraph)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
168 }
169
170   private native void ReorderOutVertices_34(int id0,vtkIdTypeArray id1);
171   public void ReorderOutVertices(int id0,vtkIdTypeArray id1)
172     { ReorderOutVertices_34(id0,id1); }
173
174   private native boolean IsSameStructure_35(vtkGraph id0);
175   public boolean IsSameStructure(vtkGraph id0)
176     { return IsSameStructure_35(id0); }
177
178   private native int GetSourceVertex_36(int id0);
179   public int GetSourceVertex(int id0)
180     { return GetSourceVertex_36(id0); }
181
182   private native int GetTargetVertex_37(int id0);
183   public int GetTargetVertex(int id0)
184     { return GetTargetVertex_37(id0); }
185
186   private native int GetNumberOfEdgePoints_38(int id0);
187   public int GetNumberOfEdgePoints(int id0)
188     { return GetNumberOfEdgePoints_38(id0); }
189
190   private native double[] GetEdgePoint_39(int id0,int id1);
191   public double[] GetEdgePoint(int id0,int id1)
192     { return GetEdgePoint_39(id0,id1); }
193
194   private native void ClearEdgePoints_40(int id0);
195   public void ClearEdgePoints(int id0)
196     { ClearEdgePoints_40(id0); }
197
198   private native void SetEdgePoint_41(int id0,int id1,double id2[]);
199   public void SetEdgePoint(int id0,int id1,double id2[])
200     { SetEdgePoint_41(id0,id1,id2); }
201
202   private native void SetEdgePoint_42(int id0,int id1,double id2,double id3,double id4);
203   public void SetEdgePoint(int id0,int id1,double id2,double id3,double id4)
204     { SetEdgePoint_42(id0,id1,id2,id3,id4); }
205
206   private native void AddEdgePoint_43(int id0,double id1[]);
207   public void AddEdgePoint(int id0,double id1[])
208     { AddEdgePoint_43(id0,id1); }
209
210   private native void AddEdgePoint_44(int id0,double id1,double id2,double id3);
211   public void AddEdgePoint(int id0,double id1,double id2,double id3)
212     { AddEdgePoint_44(id0,id1,id2,id3); }
213
214   private native void ShallowCopyEdgePoints_45(vtkGraph id0);
215   public void ShallowCopyEdgePoints(vtkGraph id0)
216     { ShallowCopyEdgePoints_45(id0); }
217
218   private native void DeepCopyEdgePoints_46(vtkGraph id0);
219   public void DeepCopyEdgePoints(vtkGraph id0)
220     { DeepCopyEdgePoints_46(id0); }
221
222   private native long GetGraphInternals_47(boolean id0);
223   public vtkGraphInternals GetGraphInternals(boolean id0) {
224     long temp = GetGraphInternals_47(id0);
225
226     if (temp == 0) return null;
227     return (vtkGraphInternals)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
228 }
229
230   private native void GetInducedEdges_48(vtkIdTypeArray id0,vtkIdTypeArray id1);
231   public void GetInducedEdges(vtkIdTypeArray id0,vtkIdTypeArray id1)
232     { GetInducedEdges_48(id0,id1); }
233
234   private native long GetAttributesAsFieldData_49(int id0);
235   public vtkFieldData GetAttributesAsFieldData(int id0) {
236     long temp = GetAttributesAsFieldData_49(id0);
237
238     if (temp == 0) return null;
239     return (vtkFieldData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
240 }
241
242   private native int GetNumberOfElements_50(int id0);
243   public int GetNumberOfElements(int id0)
244     { return GetNumberOfElements_50(id0); }
245
246   private native void Dump_51();
247   public void Dump()
248     { Dump_51(); }
249
250   private native int GetEdgeId_52(int id0,int id1);
251   public int GetEdgeId(int id0,int id1)
252     { return GetEdgeId_52(id0,id1); }
253
254   private native boolean ToDirectedGraph_53(vtkDirectedGraph id0);
255   public boolean ToDirectedGraph(vtkDirectedGraph id0)
256     { return ToDirectedGraph_53(id0); }
257
258   private native boolean ToUndirectedGraph_54(vtkUndirectedGraph id0);
259   public boolean ToUndirectedGraph(vtkUndirectedGraph id0)
260     { return ToUndirectedGraph_54(id0); }
261
262   public vtkGraph() { super(); }
263
264   public vtkGraph(long id) { super(id); }
265
266 }