1 // java wrapper for vtkOpenGLFramebufferObject object
7 public class vtkOpenGLFramebufferObject extends vtkFrameBufferObjectBase
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 void SetContext_2(vtkRenderWindow id0);
19 public void SetContext(vtkRenderWindow id0)
20 { SetContext_2(id0); }
22 private native long GetContext_3();
23 public vtkOpenGLRenderWindow GetContext() {
24 long temp = GetContext_3();
26 if (temp == 0) return null;
27 return (vtkOpenGLRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
30 private native void Bind_4();
34 private native void Bind_5(int id0);
35 public void Bind(int id0)
38 private native void UnBind_6();
42 private native void UnBind_7(int id0);
43 public void UnBind(int id0)
46 private native void SaveCurrentBindings_8();
47 public void SaveCurrentBindings()
48 { SaveCurrentBindings_8(); }
50 private native void SaveCurrentBindings_9(int id0);
51 public void SaveCurrentBindings(int id0)
52 { SaveCurrentBindings_9(id0); }
54 private native void SaveCurrentBindingsAndBuffers_10();
55 public void SaveCurrentBindingsAndBuffers()
56 { SaveCurrentBindingsAndBuffers_10(); }
58 private native void SaveCurrentBindingsAndBuffers_11(int id0);
59 public void SaveCurrentBindingsAndBuffers(int id0)
60 { SaveCurrentBindingsAndBuffers_11(id0); }
62 private native void RestorePreviousBindings_12();
63 public void RestorePreviousBindings()
64 { RestorePreviousBindings_12(); }
66 private native void RestorePreviousBindings_13(int id0);
67 public void RestorePreviousBindings(int id0)
68 { RestorePreviousBindings_13(id0); }
70 private native void RestorePreviousBindingsAndBuffers_14();
71 public void RestorePreviousBindingsAndBuffers()
72 { RestorePreviousBindingsAndBuffers_14(); }
74 private native void RestorePreviousBindingsAndBuffers_15(int id0);
75 public void RestorePreviousBindingsAndBuffers(int id0)
76 { RestorePreviousBindingsAndBuffers_15(id0); }
78 private native void SaveCurrentBuffers_16();
79 public void SaveCurrentBuffers()
80 { SaveCurrentBuffers_16(); }
82 private native void SaveCurrentBuffers_17(int id0);
83 public void SaveCurrentBuffers(int id0)
84 { SaveCurrentBuffers_17(id0); }
86 private native void RestorePreviousBuffers_18();
87 public void RestorePreviousBuffers()
88 { RestorePreviousBuffers_18(); }
90 private native void RestorePreviousBuffers_19(int id0);
91 public void RestorePreviousBuffers(int id0)
92 { RestorePreviousBuffers_19(id0); }
94 private native boolean Start_20(int id0,int id1);
95 public boolean Start(int id0,int id1)
96 { return Start_20(id0,id1); }
98 private native boolean StartNonOrtho_21(int id0,int id1);
99 public boolean StartNonOrtho(int id0,int id1)
100 { return StartNonOrtho_21(id0,id1); }
102 private native void InitializeViewport_22(int id0,int id1);
103 public void InitializeViewport(int id0,int id1)
104 { InitializeViewport_22(id0,id1); }
106 private native void ActivateDrawBuffers_23(int id0);
107 public void ActivateDrawBuffers(int id0)
108 { ActivateDrawBuffers_23(id0); }
110 private native void ActivateDrawBuffer_24(int id0);
111 public void ActivateDrawBuffer(int id0)
112 { ActivateDrawBuffer_24(id0); }
114 private native void ActivateReadBuffer_25(int id0);
115 public void ActivateReadBuffer(int id0)
116 { ActivateReadBuffer_25(id0); }
118 private native void ActivateBuffer_26(int id0);
119 public void ActivateBuffer(int id0)
120 { ActivateBuffer_26(id0); }
122 private native void DeactivateDrawBuffers_27();
123 public void DeactivateDrawBuffers()
124 { DeactivateDrawBuffers_27(); }
126 private native void DeactivateReadBuffer_28();
127 public void DeactivateReadBuffer()
128 { DeactivateReadBuffer_28(); }
130 private native void RenderQuad_29(int id0,int id1,int id2,int id3,vtkShaderProgram id4,vtkOpenGLVertexArrayObject id5);
131 public void RenderQuad(int id0,int id1,int id2,int id3,vtkShaderProgram id4,vtkOpenGLVertexArrayObject id5)
132 { RenderQuad_29(id0,id1,id2,id3,id4,id5); }
134 private native void AddColorAttachment_30(int id0,int id1,vtkTextureObject id2,int id3,int id4,int id5);
135 public void AddColorAttachment(int id0,int id1,vtkTextureObject id2,int id3,int id4,int id5)
136 { AddColorAttachment_30(id0,id1,id2,id3,id4,id5); }
138 private native void AddColorAttachment_31(int id0,int id1,vtkRenderbuffer id2);
139 public void AddColorAttachment(int id0,int id1,vtkRenderbuffer id2)
140 { AddColorAttachment_31(id0,id1,id2); }
142 private native void RemoveColorAttachment_32(int id0,int id1);
143 public void RemoveColorAttachment(int id0,int id1)
144 { RemoveColorAttachment_32(id0,id1); }
146 private native void RemoveColorAttachments_33(int id0,int id1);
147 public void RemoveColorAttachments(int id0,int id1)
148 { RemoveColorAttachments_33(id0,id1); }
150 private native int GetNumberOfColorAttachments_34(int id0);
151 public int GetNumberOfColorAttachments(int id0)
152 { return GetNumberOfColorAttachments_34(id0); }
154 private native void AddDepthAttachment_35();
155 public void AddDepthAttachment()
156 { AddDepthAttachment_35(); }
158 private native void AddDepthAttachment_36(int id0);
159 public void AddDepthAttachment(int id0)
160 { AddDepthAttachment_36(id0); }
162 private native void AddDepthAttachment_37(int id0,vtkTextureObject id1);
163 public void AddDepthAttachment(int id0,vtkTextureObject id1)
164 { AddDepthAttachment_37(id0,id1); }
166 private native void AddDepthAttachment_38(int id0,vtkRenderbuffer id1);
167 public void AddDepthAttachment(int id0,vtkRenderbuffer id1)
168 { AddDepthAttachment_38(id0,id1); }
170 private native void RemoveDepthAttachment_39(int id0);
171 public void RemoveDepthAttachment(int id0)
172 { RemoveDepthAttachment_39(id0); }
174 private native boolean PopulateFramebuffer_40(int id0,int id1);
175 public boolean PopulateFramebuffer(int id0,int id1)
176 { return PopulateFramebuffer_40(id0,id1); }
178 private native boolean PopulateFramebuffer_41(int id0,int id1,boolean id2,int id3,int id4,boolean id5,int id6,int id7);
179 public boolean PopulateFramebuffer(int id0,int id1,boolean id2,int id3,int id4,boolean id5,int id6,int id7)
180 { return PopulateFramebuffer_41(id0,id1,id2,id3,id4,id5,id6,id7); }
182 private native int GetMaximumNumberOfActiveTargets_42();
183 public int GetMaximumNumberOfActiveTargets()
184 { return GetMaximumNumberOfActiveTargets_42(); }
186 private native int GetMaximumNumberOfRenderTargets_43();
187 public int GetMaximumNumberOfRenderTargets()
188 { return GetMaximumNumberOfRenderTargets_43(); }
190 private native void GetLastSize_44(int id0[]);
191 public void GetLastSize(int id0[])
192 { GetLastSize_44(id0); }
194 private native boolean IsSupported_45(vtkOpenGLRenderWindow id0);
195 public boolean IsSupported(vtkOpenGLRenderWindow id0)
196 { return IsSupported_45(id0); }
198 private native int CheckFrameBufferStatus_46(int id0);
199 public int CheckFrameBufferStatus(int id0)
200 { return CheckFrameBufferStatus_46(id0); }
202 private native void ReleaseGraphicsResources_47(vtkWindow id0);
203 public void ReleaseGraphicsResources(vtkWindow id0)
204 { ReleaseGraphicsResources_47(id0); }
206 private native int Blit_48(int id0[],int id1[],int id2,int id3);
207 public int Blit(int id0[],int id1[],int id2,int id3)
208 { return Blit_48(id0,id1,id2,id3); }
210 private native long DownloadColor1_49(int id0[],int id1,int id2);
211 public vtkPixelBufferObject DownloadColor1(int id0[],int id1,int id2) {
212 long temp = DownloadColor1_49(id0,id1,id2);
214 if (temp == 0) return null;
215 return (vtkPixelBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
218 private native long DownloadColor3_50(int id0[],int id1);
219 public vtkPixelBufferObject DownloadColor3(int id0[],int id1) {
220 long temp = DownloadColor3_50(id0,id1);
222 if (temp == 0) return null;
223 return (vtkPixelBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
226 private native long DownloadColor4_51(int id0[],int id1);
227 public vtkPixelBufferObject DownloadColor4(int id0[],int id1) {
228 long temp = DownloadColor4_51(id0,id1);
230 if (temp == 0) return null;
231 return (vtkPixelBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
234 private native long DownloadDepth_52(int id0[],int id1);
235 public vtkPixelBufferObject DownloadDepth(int id0[],int id1) {
236 long temp = DownloadDepth_52(id0,id1);
238 if (temp == 0) return null;
239 return (vtkPixelBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
242 private native long Download_53(int id0[],int id1,int id2,int id3,int id4);
243 public vtkPixelBufferObject Download(int id0[],int id1,int id2,int id3,int id4) {
244 long temp = Download_53(id0,id1,id2,id3,id4);
246 if (temp == 0) return null;
247 return (vtkPixelBufferObject)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
250 private native void Download_54(int id0[],int id1,int id2,int id3,int id4,vtkPixelBufferObject id5);
251 public void Download(int id0[],int id1,int id2,int id3,int id4,vtkPixelBufferObject id5)
252 { Download_54(id0,id1,id2,id3,id4,id5); }
254 private native int GetDrawMode_55();
255 public int GetDrawMode()
256 { return GetDrawMode_55(); }
258 private native int GetReadMode_56();
259 public int GetReadMode()
260 { return GetReadMode_56(); }
262 private native int GetBothMode_57();
263 public int GetBothMode()
264 { return GetBothMode_57(); }
266 private native void Resize_58(int id0,int id1);
267 public void Resize(int id0,int id1)
268 { Resize_58(id0,id1); }
270 private native void RemoveTexColorAttachments_59(int id0,int id1);
271 public void RemoveTexColorAttachments(int id0,int id1)
272 { RemoveTexColorAttachments_59(id0,id1); }
274 private native void RemoveTexColorAttachment_60(int id0,int id1);
275 public void RemoveTexColorAttachment(int id0,int id1)
276 { RemoveTexColorAttachment_60(id0,id1); }
278 private native void RemoveRenDepthAttachment_61(int id0);
279 public void RemoveRenDepthAttachment(int id0)
280 { RemoveRenDepthAttachment_61(id0); }
282 private native void RemoveTexDepthAttachment_62(int id0);
283 public void RemoveTexDepthAttachment(int id0)
284 { RemoveTexDepthAttachment_62(id0); }
286 public vtkOpenGLFramebufferObject() { super(); }
288 public vtkOpenGLFramebufferObject(long id) { super(id); }
289 public native long VTKInit();