1 // java wrapper for vtkUnstructuredGrid object
7 public class vtkUnstructuredGrid extends vtkUnstructuredGridBase
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 Allocate_3(int id0,int id1);
23 public void Allocate(int id0,int id1)
24 { Allocate_3(id0,id1); }
26 private native void Reset_4();
30 private native void CopyStructure_5(vtkDataSet id0);
31 public void CopyStructure(vtkDataSet id0)
32 { CopyStructure_5(id0); }
34 private native int GetNumberOfCells_6();
35 public int GetNumberOfCells()
36 { return GetNumberOfCells_6(); }
38 private native long GetCell_7(int id0);
39 public vtkCell GetCell(int id0) {
40 long temp = GetCell_7(id0);
42 if (temp == 0) return null;
43 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
46 private native void GetCell_8(int id0,vtkGenericCell id1);
47 public void GetCell(int id0,vtkGenericCell id1)
48 { GetCell_8(id0,id1); }
50 private native void GetCellBounds_9(int id0,double id1[]);
51 public void GetCellBounds(int id0,double id1[])
52 { GetCellBounds_9(id0,id1); }
54 private native void GetCellPoints_10(int id0,vtkIdList id1);
55 public void GetCellPoints(int id0,vtkIdList id1)
56 { GetCellPoints_10(id0,id1); }
58 private native void GetPointCells_11(int id0,vtkIdList id1);
59 public void GetPointCells(int id0,vtkIdList id1)
60 { GetPointCells_11(id0,id1); }
62 private native long NewCellIterator_12();
63 public vtkCellIterator NewCellIterator() {
64 long temp = NewCellIterator_12();
66 if (temp == 0) return null;
67 return (vtkCellIterator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
70 private native int GetCellType_13(int id0);
71 public int GetCellType(int id0)
72 { return GetCellType_13(id0); }
74 private native long GetCellTypesArray_14();
75 public vtkUnsignedCharArray GetCellTypesArray() {
76 long temp = GetCellTypesArray_14();
78 if (temp == 0) return null;
79 return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
82 private native long GetCellLocationsArray_15();
83 public vtkIdTypeArray GetCellLocationsArray() {
84 long temp = GetCellLocationsArray_15();
86 if (temp == 0) return null;
87 return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
90 private native void Squeeze_16();
94 private native void Initialize_17();
95 public void Initialize()
98 private native int GetMaxCellSize_18();
99 public int GetMaxCellSize()
100 { return GetMaxCellSize_18(); }
102 private native void BuildLinks_19();
103 public void BuildLinks()
106 private native long GetCellLinks_20();
107 public vtkCellLinks GetCellLinks() {
108 long temp = GetCellLinks_20();
110 if (temp == 0) return null;
111 return (vtkCellLinks)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
114 private native void GetFaceStream_21(int id0,vtkIdList id1);
115 public void GetFaceStream(int id0,vtkIdList id1)
116 { GetFaceStream_21(id0,id1); }
118 private native void SetCells_22(int id0,vtkCellArray id1);
119 public void SetCells(int id0,vtkCellArray id1)
120 { SetCells_22(id0,id1); }
122 private native void SetCells_23(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2);
123 public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2)
124 { SetCells_23(id0,id1,id2); }
126 private native void SetCells_24(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4);
127 public void SetCells(vtkUnsignedCharArray id0,vtkIdTypeArray id1,vtkCellArray id2,vtkIdTypeArray id3,vtkIdTypeArray id4)
128 { SetCells_24(id0,id1,id2,id3,id4); }
130 private native long GetCells_25();
131 public vtkCellArray GetCells() {
132 long temp = GetCells_25();
134 if (temp == 0) return null;
135 return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
138 private native void RemoveReferenceToCell_26(int id0,int id1);
139 public void RemoveReferenceToCell(int id0,int id1)
140 { RemoveReferenceToCell_26(id0,id1); }
142 private native void AddReferenceToCell_27(int id0,int id1);
143 public void AddReferenceToCell(int id0,int id1)
144 { AddReferenceToCell_27(id0,id1); }
146 private native void ResizeCellList_28(int id0,int id1);
147 public void ResizeCellList(int id0,int id1)
148 { ResizeCellList_28(id0,id1); }
150 private native void GetCellNeighbors_29(int id0,vtkIdList id1,vtkIdList id2);
151 public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)
152 { GetCellNeighbors_29(id0,id1,id2); }
154 private native int GetPiece_30();
155 public int GetPiece()
156 { return GetPiece_30(); }
158 private native int GetNumberOfPieces_31();
159 public int GetNumberOfPieces()
160 { return GetNumberOfPieces_31(); }
162 private native int GetGhostLevel_32();
163 public int GetGhostLevel()
164 { return GetGhostLevel_32(); }
166 private native int GetActualMemorySize_33();
167 public int GetActualMemorySize()
168 { return GetActualMemorySize_33(); }
170 private native void ShallowCopy_34(vtkDataObject id0);
171 public void ShallowCopy(vtkDataObject id0)
172 { ShallowCopy_34(id0); }
174 private native void DeepCopy_35(vtkDataObject id0);
175 public void DeepCopy(vtkDataObject id0)
176 { DeepCopy_35(id0); }
178 private native void GetIdsOfCellsOfType_36(int id0,vtkIdTypeArray id1);
179 public void GetIdsOfCellsOfType(int id0,vtkIdTypeArray id1)
180 { GetIdsOfCellsOfType_36(id0,id1); }
182 private native int IsHomogeneous_37();
183 public int IsHomogeneous()
184 { return IsHomogeneous_37(); }
186 private native void RemoveGhostCells_38();
187 public void RemoveGhostCells()
188 { RemoveGhostCells_38(); }
190 private native long GetData_39(vtkInformation id0);
191 public vtkUnstructuredGrid GetData(vtkInformation id0) {
192 long temp = GetData_39(id0);
194 if (temp == 0) return null;
195 return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
198 private native long GetData_40(vtkInformationVector id0,int id1);
199 public vtkUnstructuredGrid GetData(vtkInformationVector id0,int id1) {
200 long temp = GetData_40(id0,id1);
202 if (temp == 0) return null;
203 return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
206 private native long GetFaces_41();
207 public vtkIdTypeArray GetFaces() {
208 long temp = GetFaces_41();
210 if (temp == 0) return null;
211 return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
214 private native long GetFaceLocations_42();
215 public vtkIdTypeArray GetFaceLocations() {
216 long temp = GetFaceLocations_42();
218 if (temp == 0) return null;
219 return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
222 private native int InitializeFacesRepresentation_43(int id0);
223 public int InitializeFacesRepresentation(int id0)
224 { return InitializeFacesRepresentation_43(id0); }
226 private native int GetMeshMTime_44();
227 public int GetMeshMTime()
228 { return GetMeshMTime_44(); }
230 private native long GetCell_45(int id0,int id1,int id2);
231 public vtkCell GetCell(int id0,int id1,int id2) {
232 long temp = GetCell_45(id0,id1,id2);
234 if (temp == 0) return null;
235 return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
238 public vtkUnstructuredGrid() { super(); }
240 public vtkUnstructuredGrid(long id) { super(id); }
241 public native long VTKInit();