1 // java wrapper for vtkPolyData object
7 public class vtkPolyData extends vtkPointSet
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 int GetDataObjectType_2();
19 public int GetDataObjectType()
20 { return GetDataObjectType_2(); }
22 private native void CopyStructure_3(vtkDataSet id0);
23 public void CopyStructure(vtkDataSet id0)
24 { CopyStructure_3(id0); }
26 private native int GetNumberOfCells_4();
27 public int GetNumberOfCells()
28 { return GetNumberOfCells_4(); }
30 private native long GetCell_5(int id0);
31 public vtkCell GetCell(int id0) {
32 long temp = GetCell_5(id0);
34 if (temp == 0) return null;
35 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
38 private native void GetCell_6(int id0,vtkGenericCell id1);
39 public void GetCell(int id0,vtkGenericCell id1)
40 { GetCell_6(id0,id1); }
42 private native int GetCellType_7(int id0);
43 public int GetCellType(int id0)
44 { return GetCellType_7(id0); }
46 private native void GetCellBounds_8(int id0,double id1[]);
47 public void GetCellBounds(int id0,double id1[])
48 { GetCellBounds_8(id0,id1); }
50 private native void GetCellNeighbors_9(int id0,vtkIdList id1,vtkIdList id2);
51 public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)
52 { GetCellNeighbors_9(id0,id1,id2); }
54 private native void CopyCells_10(vtkPolyData id0,vtkIdList id1,vtkPointLocator id2);
55 public void CopyCells(vtkPolyData id0,vtkIdList id1,vtkPointLocator id2)
56 { CopyCells_10(id0,id1,id2); }
58 private native void GetCellPoints_11(int id0,vtkIdList id1);
59 public void GetCellPoints(int id0,vtkIdList id1)
60 { GetCellPoints_11(id0,id1); }
62 private native void GetPointCells_12(int id0,vtkIdList id1);
63 public void GetPointCells(int id0,vtkIdList id1)
64 { GetPointCells_12(id0,id1); }
66 private native void ComputeBounds_13();
67 public void ComputeBounds()
68 { ComputeBounds_13(); }
70 private native void Squeeze_14();
74 private native int GetMaxCellSize_15();
75 public int GetMaxCellSize()
76 { return GetMaxCellSize_15(); }
78 private native void SetVerts_16(vtkCellArray id0);
79 public void SetVerts(vtkCellArray id0)
82 private native long GetVerts_17();
83 public vtkCellArray GetVerts() {
84 long temp = GetVerts_17();
86 if (temp == 0) return null;
87 return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
90 private native void SetLines_18(vtkCellArray id0);
91 public void SetLines(vtkCellArray id0)
94 private native long GetLines_19();
95 public vtkCellArray GetLines() {
96 long temp = GetLines_19();
98 if (temp == 0) return null;
99 return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
102 private native void SetPolys_20(vtkCellArray id0);
103 public void SetPolys(vtkCellArray id0)
104 { SetPolys_20(id0); }
106 private native long GetPolys_21();
107 public vtkCellArray GetPolys() {
108 long temp = GetPolys_21();
110 if (temp == 0) return null;
111 return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
114 private native void SetStrips_22(vtkCellArray id0);
115 public void SetStrips(vtkCellArray id0)
116 { SetStrips_22(id0); }
118 private native long GetStrips_23();
119 public vtkCellArray GetStrips() {
120 long temp = GetStrips_23();
122 if (temp == 0) return null;
123 return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
126 private native int GetNumberOfVerts_24();
127 public int GetNumberOfVerts()
128 { return GetNumberOfVerts_24(); }
130 private native int GetNumberOfLines_25();
131 public int GetNumberOfLines()
132 { return GetNumberOfLines_25(); }
134 private native int GetNumberOfPolys_26();
135 public int GetNumberOfPolys()
136 { return GetNumberOfPolys_26(); }
138 private native int GetNumberOfStrips_27();
139 public int GetNumberOfStrips()
140 { return GetNumberOfStrips_27(); }
142 private native void Allocate_28(int id0,int id1);
143 public void Allocate(int id0,int id1)
144 { Allocate_28(id0,id1); }
146 private native void Allocate_29(vtkPolyData id0,int id1,int id2);
147 public void Allocate(vtkPolyData id0,int id1,int id2)
148 { Allocate_29(id0,id1,id2); }
150 private native int InsertNextCell_30(int id0,vtkIdList id1);
151 public int InsertNextCell(int id0,vtkIdList id1)
152 { return InsertNextCell_30(id0,id1); }
154 private native void Reset_31();
158 private native void BuildCells_32();
159 public void BuildCells()
162 private native boolean NeedToBuildCells_33();
163 public boolean NeedToBuildCells()
164 { return NeedToBuildCells_33(); }
166 private native void BuildLinks_34(int id0);
167 public void BuildLinks(int id0)
168 { BuildLinks_34(id0); }
170 private native void DeleteCells_35();
171 public void DeleteCells()
172 { DeleteCells_35(); }
174 private native void DeleteLinks_36();
175 public void DeleteLinks()
176 { DeleteLinks_36(); }
178 private native void GetCellEdgeNeighbors_37(int id0,int id1,int id2,vtkIdList id3);
179 public void GetCellEdgeNeighbors(int id0,int id1,int id2,vtkIdList id3)
180 { GetCellEdgeNeighbors_37(id0,id1,id2,id3); }
182 private native int IsTriangle_38(int id0,int id1,int id2);
183 public int IsTriangle(int id0,int id1,int id2)
184 { return IsTriangle_38(id0,id1,id2); }
186 private native int IsEdge_39(int id0,int id1);
187 public int IsEdge(int id0,int id1)
188 { return IsEdge_39(id0,id1); }
190 private native int IsPointUsedByCell_40(int id0,int id1);
191 public int IsPointUsedByCell(int id0,int id1)
192 { return IsPointUsedByCell_40(id0,id1); }
194 private native void ReplaceCellPoint_41(int id0,int id1,int id2);
195 public void ReplaceCellPoint(int id0,int id1,int id2)
196 { ReplaceCellPoint_41(id0,id1,id2); }
198 private native void ReverseCell_42(int id0);
199 public void ReverseCell(int id0)
200 { ReverseCell_42(id0); }
202 private native void DeletePoint_43(int id0);
203 public void DeletePoint(int id0)
204 { DeletePoint_43(id0); }
206 private native void DeleteCell_44(int id0);
207 public void DeleteCell(int id0)
208 { DeleteCell_44(id0); }
210 private native void RemoveDeletedCells_45();
211 public void RemoveDeletedCells()
212 { RemoveDeletedCells_45(); }
214 private native int InsertNextLinkedPoint_46(int id0);
215 public int InsertNextLinkedPoint(int id0)
216 { return InsertNextLinkedPoint_46(id0); }
218 private native int InsertNextLinkedPoint_47(double id0[],int id1);
219 public int InsertNextLinkedPoint(double id0[],int id1)
220 { return InsertNextLinkedPoint_47(id0,id1); }
222 private native void RemoveCellReference_48(int id0);
223 public void RemoveCellReference(int id0)
224 { RemoveCellReference_48(id0); }
226 private native void AddCellReference_49(int id0);
227 public void AddCellReference(int id0)
228 { AddCellReference_49(id0); }
230 private native void RemoveReferenceToCell_50(int id0,int id1);
231 public void RemoveReferenceToCell(int id0,int id1)
232 { RemoveReferenceToCell_50(id0,id1); }
234 private native void AddReferenceToCell_51(int id0,int id1);
235 public void AddReferenceToCell(int id0,int id1)
236 { AddReferenceToCell_51(id0,id1); }
238 private native void ResizeCellList_52(int id0,int id1);
239 public void ResizeCellList(int id0,int id1)
240 { ResizeCellList_52(id0,id1); }
242 private native void Initialize_53();
243 public void Initialize()
246 private native int GetPiece_54();
247 public int GetPiece()
248 { return GetPiece_54(); }
250 private native int GetNumberOfPieces_55();
251 public int GetNumberOfPieces()
252 { return GetNumberOfPieces_55(); }
254 private native int GetGhostLevel_56();
255 public int GetGhostLevel()
256 { return GetGhostLevel_56(); }
258 private native int GetActualMemorySize_57();
259 public int GetActualMemorySize()
260 { return GetActualMemorySize_57(); }
262 private native void ShallowCopy_58(vtkDataObject id0);
263 public void ShallowCopy(vtkDataObject id0)
264 { ShallowCopy_58(id0); }
266 private native void DeepCopy_59(vtkDataObject id0);
267 public void DeepCopy(vtkDataObject id0)
268 { DeepCopy_59(id0); }
270 private native void RemoveGhostCells_60();
271 public void RemoveGhostCells()
272 { RemoveGhostCells_60(); }
274 private native long GetData_61(vtkInformation id0);
275 public vtkPolyData GetData(vtkInformation id0) {
276 long temp = GetData_61(id0);
278 if (temp == 0) return null;
279 return (vtkPolyData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
282 private native long GetData_62(vtkInformationVector id0,int id1);
283 public vtkPolyData GetData(vtkInformationVector id0,int id1) {
284 long temp = GetData_62(id0,id1);
286 if (temp == 0) return null;
287 return (vtkPolyData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
290 private native int GetScalarFieldCriticalIndex_63(int id0,vtkDataArray id1);
291 public int GetScalarFieldCriticalIndex(int id0,vtkDataArray id1)
292 { return GetScalarFieldCriticalIndex_63(id0,id1); }
294 private native int GetScalarFieldCriticalIndex_64(int id0,int id1);
295 public int GetScalarFieldCriticalIndex(int id0,int id1)
296 { return GetScalarFieldCriticalIndex_64(id0,id1); }
298 private native int GetScalarFieldCriticalIndex_65(int id0,String id1);
299 public int GetScalarFieldCriticalIndex(int id0,String id1)
300 { return GetScalarFieldCriticalIndex_65(id0,id1); }
302 private native int GetMeshMTime_66();
303 public int GetMeshMTime()
304 { return GetMeshMTime_66(); }
306 private native int GetMTime_67();
307 public int GetMTime()
308 { return GetMTime_67(); }
310 private native long GetCell_68(int id0,int id1,int id2);
311 public vtkCell GetCell(int id0,int id1,int id2) {
312 long temp = GetCell_68(id0,id1,id2);
314 if (temp == 0) return null;
315 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
318 public vtkPolyData() { super(); }
320 public vtkPolyData(long id) { super(id); }
321 public native long VTKInit();