]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkPolyData.java
Perform view direction switching via vtkCameraAndSelectorAction
[simantics/3d.git] / vtk / src / vtk / vtkPolyData.java
1 // java wrapper for vtkPolyData object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkPolyData extends vtkPointSet
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 int GetDataObjectType_2();
19   public int GetDataObjectType()
20     { return GetDataObjectType_2(); }
21
22   private native void CopyStructure_3(vtkDataSet id0);
23   public void CopyStructure(vtkDataSet id0)
24     { CopyStructure_3(id0); }
25
26   private native int GetNumberOfCells_4();
27   public int GetNumberOfCells()
28     { return GetNumberOfCells_4(); }
29
30   private native long GetCell_5(int id0);
31   public vtkCell GetCell(int id0) {
32     long temp = GetCell_5(id0);
33
34     if (temp == 0) return null;
35     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
36 }
37
38   private native void GetCell_6(int id0,vtkGenericCell id1);
39   public void GetCell(int id0,vtkGenericCell id1)
40     { GetCell_6(id0,id1); }
41
42   private native int GetCellType_7(int id0);
43   public int GetCellType(int id0)
44     { return GetCellType_7(id0); }
45
46   private native void GetCellBounds_8(int id0,double id1[]);
47   public void GetCellBounds(int id0,double id1[])
48     { GetCellBounds_8(id0,id1); }
49
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); }
53
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); }
57
58   private native void GetCellPoints_11(int id0,vtkIdList id1);
59   public void GetCellPoints(int id0,vtkIdList id1)
60     { GetCellPoints_11(id0,id1); }
61
62   private native void GetPointCells_12(int id0,vtkIdList id1);
63   public void GetPointCells(int id0,vtkIdList id1)
64     { GetPointCells_12(id0,id1); }
65
66   private native void ComputeBounds_13();
67   public void ComputeBounds()
68     { ComputeBounds_13(); }
69
70   private native void Squeeze_14();
71   public void Squeeze()
72     { Squeeze_14(); }
73
74   private native int GetMaxCellSize_15();
75   public int GetMaxCellSize()
76     { return GetMaxCellSize_15(); }
77
78   private native void SetVerts_16(vtkCellArray id0);
79   public void SetVerts(vtkCellArray id0)
80     { SetVerts_16(id0); }
81
82   private native long GetVerts_17();
83   public vtkCellArray GetVerts() {
84     long temp = GetVerts_17();
85
86     if (temp == 0) return null;
87     return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
88 }
89
90   private native void SetLines_18(vtkCellArray id0);
91   public void SetLines(vtkCellArray id0)
92     { SetLines_18(id0); }
93
94   private native long GetLines_19();
95   public vtkCellArray GetLines() {
96     long temp = GetLines_19();
97
98     if (temp == 0) return null;
99     return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
100 }
101
102   private native void SetPolys_20(vtkCellArray id0);
103   public void SetPolys(vtkCellArray id0)
104     { SetPolys_20(id0); }
105
106   private native long GetPolys_21();
107   public vtkCellArray GetPolys() {
108     long temp = GetPolys_21();
109
110     if (temp == 0) return null;
111     return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
112 }
113
114   private native void SetStrips_22(vtkCellArray id0);
115   public void SetStrips(vtkCellArray id0)
116     { SetStrips_22(id0); }
117
118   private native long GetStrips_23();
119   public vtkCellArray GetStrips() {
120     long temp = GetStrips_23();
121
122     if (temp == 0) return null;
123     return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
124 }
125
126   private native int GetNumberOfVerts_24();
127   public int GetNumberOfVerts()
128     { return GetNumberOfVerts_24(); }
129
130   private native int GetNumberOfLines_25();
131   public int GetNumberOfLines()
132     { return GetNumberOfLines_25(); }
133
134   private native int GetNumberOfPolys_26();
135   public int GetNumberOfPolys()
136     { return GetNumberOfPolys_26(); }
137
138   private native int GetNumberOfStrips_27();
139   public int GetNumberOfStrips()
140     { return GetNumberOfStrips_27(); }
141
142   private native void Allocate_28(int id0,int id1);
143   public void Allocate(int id0,int id1)
144     { Allocate_28(id0,id1); }
145
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); }
149
150   private native int InsertNextCell_30(int id0,vtkIdList id1);
151   public int InsertNextCell(int id0,vtkIdList id1)
152     { return InsertNextCell_30(id0,id1); }
153
154   private native void Reset_31();
155   public void Reset()
156     { Reset_31(); }
157
158   private native void BuildCells_32();
159   public void BuildCells()
160     { BuildCells_32(); }
161
162   private native boolean NeedToBuildCells_33();
163   public boolean NeedToBuildCells()
164     { return NeedToBuildCells_33(); }
165
166   private native void BuildLinks_34(int id0);
167   public void BuildLinks(int id0)
168     { BuildLinks_34(id0); }
169
170   private native void DeleteCells_35();
171   public void DeleteCells()
172     { DeleteCells_35(); }
173
174   private native void DeleteLinks_36();
175   public void DeleteLinks()
176     { DeleteLinks_36(); }
177
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); }
181
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); }
185
186   private native int IsEdge_39(int id0,int id1);
187   public int IsEdge(int id0,int id1)
188     { return IsEdge_39(id0,id1); }
189
190   private native int IsPointUsedByCell_40(int id0,int id1);
191   public int IsPointUsedByCell(int id0,int id1)
192     { return IsPointUsedByCell_40(id0,id1); }
193
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); }
197
198   private native void ReverseCell_42(int id0);
199   public void ReverseCell(int id0)
200     { ReverseCell_42(id0); }
201
202   private native void DeletePoint_43(int id0);
203   public void DeletePoint(int id0)
204     { DeletePoint_43(id0); }
205
206   private native void DeleteCell_44(int id0);
207   public void DeleteCell(int id0)
208     { DeleteCell_44(id0); }
209
210   private native void RemoveDeletedCells_45();
211   public void RemoveDeletedCells()
212     { RemoveDeletedCells_45(); }
213
214   private native int InsertNextLinkedPoint_46(int id0);
215   public int InsertNextLinkedPoint(int id0)
216     { return InsertNextLinkedPoint_46(id0); }
217
218   private native int InsertNextLinkedPoint_47(double id0[],int id1);
219   public int InsertNextLinkedPoint(double id0[],int id1)
220     { return InsertNextLinkedPoint_47(id0,id1); }
221
222   private native void RemoveCellReference_48(int id0);
223   public void RemoveCellReference(int id0)
224     { RemoveCellReference_48(id0); }
225
226   private native void AddCellReference_49(int id0);
227   public void AddCellReference(int id0)
228     { AddCellReference_49(id0); }
229
230   private native void RemoveReferenceToCell_50(int id0,int id1);
231   public void RemoveReferenceToCell(int id0,int id1)
232     { RemoveReferenceToCell_50(id0,id1); }
233
234   private native void AddReferenceToCell_51(int id0,int id1);
235   public void AddReferenceToCell(int id0,int id1)
236     { AddReferenceToCell_51(id0,id1); }
237
238   private native void ResizeCellList_52(int id0,int id1);
239   public void ResizeCellList(int id0,int id1)
240     { ResizeCellList_52(id0,id1); }
241
242   private native void Initialize_53();
243   public void Initialize()
244     { Initialize_53(); }
245
246   private native int GetPiece_54();
247   public int GetPiece()
248     { return GetPiece_54(); }
249
250   private native int GetNumberOfPieces_55();
251   public int GetNumberOfPieces()
252     { return GetNumberOfPieces_55(); }
253
254   private native int GetGhostLevel_56();
255   public int GetGhostLevel()
256     { return GetGhostLevel_56(); }
257
258   private native int GetActualMemorySize_57();
259   public int GetActualMemorySize()
260     { return GetActualMemorySize_57(); }
261
262   private native void ShallowCopy_58(vtkDataObject id0);
263   public void ShallowCopy(vtkDataObject id0)
264     { ShallowCopy_58(id0); }
265
266   private native void DeepCopy_59(vtkDataObject id0);
267   public void DeepCopy(vtkDataObject id0)
268     { DeepCopy_59(id0); }
269
270   private native void RemoveGhostCells_60();
271   public void RemoveGhostCells()
272     { RemoveGhostCells_60(); }
273
274   private native long GetData_61(vtkInformation id0);
275   public vtkPolyData GetData(vtkInformation id0) {
276     long temp = GetData_61(id0);
277
278     if (temp == 0) return null;
279     return (vtkPolyData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
280 }
281
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);
285
286     if (temp == 0) return null;
287     return (vtkPolyData)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
288 }
289
290   private native int GetScalarFieldCriticalIndex_63(int id0,vtkDataArray id1);
291   public int GetScalarFieldCriticalIndex(int id0,vtkDataArray id1)
292     { return GetScalarFieldCriticalIndex_63(id0,id1); }
293
294   private native int GetScalarFieldCriticalIndex_64(int id0,int id1);
295   public int GetScalarFieldCriticalIndex(int id0,int id1)
296     { return GetScalarFieldCriticalIndex_64(id0,id1); }
297
298   private native int GetScalarFieldCriticalIndex_65(int id0,String id1);
299   public int GetScalarFieldCriticalIndex(int id0,String id1)
300     { return GetScalarFieldCriticalIndex_65(id0,id1); }
301
302   private native int GetMeshMTime_66();
303   public int GetMeshMTime()
304     { return GetMeshMTime_66(); }
305
306   private native int GetMTime_67();
307   public int GetMTime()
308     { return GetMTime_67(); }
309
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);
313
314     if (temp == 0) return null;
315     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
316 }
317
318   public vtkPolyData() { super(); }
319
320   public vtkPolyData(long id) { super(id); }
321   public native long   VTKInit();
322
323 }