]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkStructuredGrid.java
Fix PNG loading
[simantics/3d.git] / vtk / src / vtk / vtkStructuredGrid.java
1 // java wrapper for vtkStructuredGrid object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkStructuredGrid 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 GetNumberOfPoints_4();
27   public int GetNumberOfPoints()
28     { return GetNumberOfPoints_4(); }
29
30   private native double[] GetPoint_5(int id0);
31   public double[] GetPoint(int id0)
32     { return GetPoint_5(id0); }
33
34   private native void GetPoint_6(int id0,double id1[]);
35   public void GetPoint(int id0,double id1[])
36     { GetPoint_6(id0,id1); }
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 long GetCell_8(int id0,int id1,int id2);
47   public vtkCell GetCell(int id0,int id1,int id2) {
48     long temp = GetCell_8(id0,id1,id2);
49
50     if (temp == 0) return null;
51     return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
52 }
53
54   private native void GetCell_9(int id0,vtkGenericCell id1);
55   public void GetCell(int id0,vtkGenericCell id1)
56     { GetCell_9(id0,id1); }
57
58   private native void GetCellBounds_10(int id0,double id1[]);
59   public void GetCellBounds(int id0,double id1[])
60     { GetCellBounds_10(id0,id1); }
61
62   private native int GetCellType_11(int id0);
63   public int GetCellType(int id0)
64     { return GetCellType_11(id0); }
65
66   private native int GetNumberOfCells_12();
67   public int GetNumberOfCells()
68     { return GetNumberOfCells_12(); }
69
70   private native void GetCellPoints_13(int id0,vtkIdList id1);
71   public void GetCellPoints(int id0,vtkIdList id1)
72     { GetCellPoints_13(id0,id1); }
73
74   private native void GetPointCells_14(int id0,vtkIdList id1);
75   public void GetPointCells(int id0,vtkIdList id1)
76     { GetPointCells_14(id0,id1); }
77
78   private native void Initialize_15();
79   public void Initialize()
80     { Initialize_15(); }
81
82   private native int GetMaxCellSize_16();
83   public int GetMaxCellSize()
84     { return GetMaxCellSize_16(); }
85
86   private native void GetCellNeighbors_17(int id0,vtkIdList id1,vtkIdList id2);
87   public void GetCellNeighbors(int id0,vtkIdList id1,vtkIdList id2)
88     { GetCellNeighbors_17(id0,id1,id2); }
89
90   private native void SetDimensions_18(int id0,int id1,int id2);
91   public void SetDimensions(int id0,int id1,int id2)
92     { SetDimensions_18(id0,id1,id2); }
93
94   private native void SetDimensions_19(int id0[]);
95   public void SetDimensions(int id0[])
96     { SetDimensions_19(id0); }
97
98   private native int[]  GetDimensions_20();
99   public int[]  GetDimensions()
100     { return GetDimensions_20(); }
101
102   private native void GetDimensions_21(int id0[]);
103   public void GetDimensions(int id0[])
104     { GetDimensions_21(id0); }
105
106   private native int GetDataDimension_22();
107   public int GetDataDimension()
108     { return GetDataDimension_22(); }
109
110   private native void SetExtent_23(int id0[]);
111   public void SetExtent(int id0[])
112     { SetExtent_23(id0); }
113
114   private native void SetExtent_24(int id0,int id1,int id2,int id3,int id4,int id5);
115   public void SetExtent(int id0,int id1,int id2,int id3,int id4,int id5)
116     { SetExtent_24(id0,id1,id2,id3,id4,id5); }
117
118   private native int[]  GetExtent_25();
119   public int[]  GetExtent()
120     { return GetExtent_25(); }
121
122   private native int GetActualMemorySize_26();
123   public int GetActualMemorySize()
124     { return GetActualMemorySize_26(); }
125
126   private native void ShallowCopy_27(vtkDataObject id0);
127   public void ShallowCopy(vtkDataObject id0)
128     { ShallowCopy_27(id0); }
129
130   private native void DeepCopy_28(vtkDataObject id0);
131   public void DeepCopy(vtkDataObject id0)
132     { DeepCopy_28(id0); }
133
134   private native int GetExtentType_29();
135   public int GetExtentType()
136     { return GetExtentType_29(); }
137
138   private native void BlankPoint_30(int id0);
139   public void BlankPoint(int id0)
140     { BlankPoint_30(id0); }
141
142   private native void UnBlankPoint_31(int id0);
143   public void UnBlankPoint(int id0)
144     { UnBlankPoint_31(id0); }
145
146   private native void BlankCell_32(int id0);
147   public void BlankCell(int id0)
148     { BlankCell_32(id0); }
149
150   private native void UnBlankCell_33(int id0);
151   public void UnBlankCell(int id0)
152     { UnBlankCell_33(id0); }
153
154   private native int IsPointVisible_34(int id0);
155   public int IsPointVisible(int id0)
156     { return IsPointVisible_34(id0); }
157
158   private native int IsCellVisible_35(int id0);
159   public int IsCellVisible(int id0)
160     { return IsCellVisible_35(id0); }
161
162   private native boolean HasAnyBlankPoints_36();
163   public boolean HasAnyBlankPoints()
164     { return HasAnyBlankPoints_36(); }
165
166   private native boolean HasAnyBlankCells_37();
167   public boolean HasAnyBlankCells()
168     { return HasAnyBlankCells_37(); }
169
170   private native void GetCellDims_38(int id0[]);
171   public void GetCellDims(int id0[])
172     { GetCellDims_38(id0); }
173
174   private native long GetData_39(vtkInformation id0);
175   public vtkStructuredGrid GetData(vtkInformation id0) {
176     long temp = GetData_39(id0);
177
178     if (temp == 0) return null;
179     return (vtkStructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
180 }
181
182   private native long GetData_40(vtkInformationVector id0,int id1);
183   public vtkStructuredGrid GetData(vtkInformationVector id0,int id1) {
184     long temp = GetData_40(id0,id1);
185
186     if (temp == 0) return null;
187     return (vtkStructuredGrid)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
188 }
189
190   private native void GetPoint_41(int id0,int id1,int id2,double id3[],boolean id4);
191   public void GetPoint(int id0,int id1,int id2,double id3[],boolean id4)
192     { GetPoint_41(id0,id1,id2,id3,id4); }
193
194   public vtkStructuredGrid() { super(); }
195
196   public vtkStructuredGrid(long id) { super(id); }
197   public native long   VTKInit();
198
199 }