]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkUnstructuredGrid.java
Perform view direction switching via vtkCameraAndSelectorAction
[simantics/3d.git] / vtk / src / vtk / vtkUnstructuredGrid.java
1 // java wrapper for vtkUnstructuredGrid object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkUnstructuredGrid extends vtkUnstructuredGridBase
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 Allocate_3(int id0,int id1);
23   public void Allocate(int id0,int id1)
24     { Allocate_3(id0,id1); }
25
26   private native void Reset_4();
27   public void Reset()
28     { Reset_4(); }
29
30   private native void CopyStructure_5(vtkDataSet id0);
31   public void CopyStructure(vtkDataSet id0)
32     { CopyStructure_5(id0); }
33
34   private native int GetNumberOfCells_6();
35   public int GetNumberOfCells()
36     { return GetNumberOfCells_6(); }
37
38   private native long GetCell_7(int id0);
39   public vtkCell GetCell(int id0) {
40     long temp = GetCell_7(id0);
41
42     if (temp == 0) return null;
43     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
44 }
45
46   private native void GetCell_8(int id0,vtkGenericCell id1);
47   public void GetCell(int id0,vtkGenericCell id1)
48     { GetCell_8(id0,id1); }
49
50   private native void GetCellBounds_9(int id0,double id1[]);
51   public void GetCellBounds(int id0,double id1[])
52     { GetCellBounds_9(id0,id1); }
53
54   private native void GetCellPoints_10(int id0,vtkIdList id1);
55   public void GetCellPoints(int id0,vtkIdList id1)
56     { GetCellPoints_10(id0,id1); }
57
58   private native void GetPointCells_11(int id0,vtkIdList id1);
59   public void GetPointCells(int id0,vtkIdList id1)
60     { GetPointCells_11(id0,id1); }
61
62   private native long NewCellIterator_12();
63   public vtkCellIterator NewCellIterator() {
64     long temp = NewCellIterator_12();
65
66     if (temp == 0) return null;
67     return (vtkCellIterator)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
68 }
69
70   private native int GetCellType_13(int id0);
71   public int GetCellType(int id0)
72     { return GetCellType_13(id0); }
73
74   private native long GetCellTypesArray_14();
75   public vtkUnsignedCharArray GetCellTypesArray() {
76     long temp = GetCellTypesArray_14();
77
78     if (temp == 0) return null;
79     return (vtkUnsignedCharArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
80 }
81
82   private native long GetCellLocationsArray_15();
83   public vtkIdTypeArray GetCellLocationsArray() {
84     long temp = GetCellLocationsArray_15();
85
86     if (temp == 0) return null;
87     return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
88 }
89
90   private native void Squeeze_16();
91   public void Squeeze()
92     { Squeeze_16(); }
93
94   private native void Initialize_17();
95   public void Initialize()
96     { Initialize_17(); }
97
98   private native int GetMaxCellSize_18();
99   public int GetMaxCellSize()
100     { return GetMaxCellSize_18(); }
101
102   private native void BuildLinks_19();
103   public void BuildLinks()
104     { BuildLinks_19(); }
105
106   private native long GetCellLinks_20();
107   public vtkCellLinks GetCellLinks() {
108     long temp = GetCellLinks_20();
109
110     if (temp == 0) return null;
111     return (vtkCellLinks)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
112 }
113
114   private native void GetFaceStream_21(int id0,vtkIdList id1);
115   public void GetFaceStream(int id0,vtkIdList id1)
116     { GetFaceStream_21(id0,id1); }
117
118   private native void SetCells_22(int id0,vtkCellArray id1);
119   public void SetCells(int id0,vtkCellArray id1)
120     { SetCells_22(id0,id1); }
121
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); }
125
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); }
129
130   private native long GetCells_25();
131   public vtkCellArray GetCells() {
132     long temp = GetCells_25();
133
134     if (temp == 0) return null;
135     return (vtkCellArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
136 }
137
138   private native void RemoveReferenceToCell_26(int id0,int id1);
139   public void RemoveReferenceToCell(int id0,int id1)
140     { RemoveReferenceToCell_26(id0,id1); }
141
142   private native void AddReferenceToCell_27(int id0,int id1);
143   public void AddReferenceToCell(int id0,int id1)
144     { AddReferenceToCell_27(id0,id1); }
145
146   private native void ResizeCellList_28(int id0,int id1);
147   public void ResizeCellList(int id0,int id1)
148     { ResizeCellList_28(id0,id1); }
149
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); }
153
154   private native int GetPiece_30();
155   public int GetPiece()
156     { return GetPiece_30(); }
157
158   private native int GetNumberOfPieces_31();
159   public int GetNumberOfPieces()
160     { return GetNumberOfPieces_31(); }
161
162   private native int GetGhostLevel_32();
163   public int GetGhostLevel()
164     { return GetGhostLevel_32(); }
165
166   private native int GetActualMemorySize_33();
167   public int GetActualMemorySize()
168     { return GetActualMemorySize_33(); }
169
170   private native void ShallowCopy_34(vtkDataObject id0);
171   public void ShallowCopy(vtkDataObject id0)
172     { ShallowCopy_34(id0); }
173
174   private native void DeepCopy_35(vtkDataObject id0);
175   public void DeepCopy(vtkDataObject id0)
176     { DeepCopy_35(id0); }
177
178   private native void GetIdsOfCellsOfType_36(int id0,vtkIdTypeArray id1);
179   public void GetIdsOfCellsOfType(int id0,vtkIdTypeArray id1)
180     { GetIdsOfCellsOfType_36(id0,id1); }
181
182   private native int IsHomogeneous_37();
183   public int IsHomogeneous()
184     { return IsHomogeneous_37(); }
185
186   private native void RemoveGhostCells_38();
187   public void RemoveGhostCells()
188     { RemoveGhostCells_38(); }
189
190   private native long GetData_39(vtkInformation id0);
191   public vtkUnstructuredGrid GetData(vtkInformation id0) {
192     long temp = GetData_39(id0);
193
194     if (temp == 0) return null;
195     return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
196 }
197
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);
201
202     if (temp == 0) return null;
203     return (vtkUnstructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
204 }
205
206   private native long GetFaces_41();
207   public vtkIdTypeArray GetFaces() {
208     long temp = GetFaces_41();
209
210     if (temp == 0) return null;
211     return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
212 }
213
214   private native long GetFaceLocations_42();
215   public vtkIdTypeArray GetFaceLocations() {
216     long temp = GetFaceLocations_42();
217
218     if (temp == 0) return null;
219     return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
220 }
221
222   private native int InitializeFacesRepresentation_43(int id0);
223   public int InitializeFacesRepresentation(int id0)
224     { return InitializeFacesRepresentation_43(id0); }
225
226   private native int GetMeshMTime_44();
227   public int GetMeshMTime()
228     { return GetMeshMTime_44(); }
229
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);
233
234     if (temp == 0) return null;
235     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
236 }
237
238   public vtkUnstructuredGrid() { super(); }
239
240   public vtkUnstructuredGrid(long id) { super(id); }
241   public native long   VTKInit();
242
243 }