]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkRenderWindow.java
Show busy cursor and block UI input while committing changes
[simantics/3d.git] / vtk / src / vtk / vtkRenderWindow.java
1 // java wrapper for vtkRenderWindow object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkRenderWindow extends vtkWindow
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 void AddRenderer_2(vtkRenderer id0);
19   public void AddRenderer(vtkRenderer id0)
20     { AddRenderer_2(id0); }
21
22   private native void RemoveRenderer_3(vtkRenderer id0);
23   public void RemoveRenderer(vtkRenderer id0)
24     { RemoveRenderer_3(id0); }
25
26   private native int HasRenderer_4(vtkRenderer id0);
27   public int HasRenderer(vtkRenderer id0)
28     { return HasRenderer_4(id0); }
29
30   private native String GetRenderLibrary_5();
31   public String GetRenderLibrary()
32     { return GetRenderLibrary_5(); }
33
34   private native String GetRenderingBackend_6();
35   public String GetRenderingBackend()
36     { return GetRenderingBackend_6(); }
37
38   private native long GetRenderTimer_7();
39   public vtkRenderTimerLog GetRenderTimer() {
40     long temp = GetRenderTimer_7();
41
42     if (temp == 0) return null;
43     return (vtkRenderTimerLog)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
44 }
45
46   private native long GetRenderers_8();
47   public vtkRendererCollection GetRenderers() {
48     long temp = GetRenderers_8();
49
50     if (temp == 0) return null;
51     return (vtkRendererCollection)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
52 }
53
54   private native void CaptureGL2PSSpecialProps_9(vtkCollection id0);
55   public void CaptureGL2PSSpecialProps(vtkCollection id0)
56     { CaptureGL2PSSpecialProps_9(id0); }
57
58   private native int GetCapturingGL2PSSpecialProps_10();
59   public int GetCapturingGL2PSSpecialProps()
60     { return GetCapturingGL2PSSpecialProps_10(); }
61
62   private native void Render_11();
63   public void Render()
64     { Render_11(); }
65
66   private native void Start_12();
67   public void Start()
68     { Start_12(); }
69
70   private native void Finalize_13();
71   public void Finalize()
72     { Finalize_13(); }
73
74   private native void Frame_14();
75   public void Frame()
76     { Frame_14(); }
77
78   private native void WaitForCompletion_15();
79   public void WaitForCompletion()
80     { WaitForCompletion_15(); }
81
82   private native void CopyResultFrame_16();
83   public void CopyResultFrame()
84     { CopyResultFrame_16(); }
85
86   private native long MakeRenderWindowInteractor_17();
87   public vtkRenderWindowInteractor MakeRenderWindowInteractor() {
88     long temp = MakeRenderWindowInteractor_17();
89
90     if (temp == 0) return null;
91     return (vtkRenderWindowInteractor)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
92 }
93
94   private native void HideCursor_18();
95   public void HideCursor()
96     { HideCursor_18(); }
97
98   private native void ShowCursor_19();
99   public void ShowCursor()
100     { ShowCursor_19(); }
101
102   private native void SetCursorPosition_20(int id0,int id1);
103   public void SetCursorPosition(int id0,int id1)
104     { SetCursorPosition_20(id0,id1); }
105
106   private native void SetCurrentCursor_21(int id0);
107   public void SetCurrentCursor(int id0)
108     { SetCurrentCursor_21(id0); }
109
110   private native int GetCurrentCursor_22();
111   public int GetCurrentCursor()
112     { return GetCurrentCursor_22(); }
113
114   private native void SetFullScreen_23(int id0);
115   public void SetFullScreen(int id0)
116     { SetFullScreen_23(id0); }
117
118   private native int GetFullScreen_24();
119   public int GetFullScreen()
120     { return GetFullScreen_24(); }
121
122   private native void FullScreenOn_25();
123   public void FullScreenOn()
124     { FullScreenOn_25(); }
125
126   private native void FullScreenOff_26();
127   public void FullScreenOff()
128     { FullScreenOff_26(); }
129
130   private native void SetBorders_27(int id0);
131   public void SetBorders(int id0)
132     { SetBorders_27(id0); }
133
134   private native int GetBorders_28();
135   public int GetBorders()
136     { return GetBorders_28(); }
137
138   private native void BordersOn_29();
139   public void BordersOn()
140     { BordersOn_29(); }
141
142   private native void BordersOff_30();
143   public void BordersOff()
144     { BordersOff_30(); }
145
146   private native int GetStereoCapableWindow_31();
147   public int GetStereoCapableWindow()
148     { return GetStereoCapableWindow_31(); }
149
150   private native void StereoCapableWindowOn_32();
151   public void StereoCapableWindowOn()
152     { StereoCapableWindowOn_32(); }
153
154   private native void StereoCapableWindowOff_33();
155   public void StereoCapableWindowOff()
156     { StereoCapableWindowOff_33(); }
157
158   private native void SetStereoCapableWindow_34(int id0);
159   public void SetStereoCapableWindow(int id0)
160     { SetStereoCapableWindow_34(id0); }
161
162   private native int GetStereoRender_35();
163   public int GetStereoRender()
164     { return GetStereoRender_35(); }
165
166   private native void SetStereoRender_36(int id0);
167   public void SetStereoRender(int id0)
168     { SetStereoRender_36(id0); }
169
170   private native void StereoRenderOn_37();
171   public void StereoRenderOn()
172     { StereoRenderOn_37(); }
173
174   private native void StereoRenderOff_38();
175   public void StereoRenderOff()
176     { StereoRenderOff_38(); }
177
178   private native void SetAlphaBitPlanes_39(int id0);
179   public void SetAlphaBitPlanes(int id0)
180     { SetAlphaBitPlanes_39(id0); }
181
182   private native int GetAlphaBitPlanes_40();
183   public int GetAlphaBitPlanes()
184     { return GetAlphaBitPlanes_40(); }
185
186   private native void AlphaBitPlanesOn_41();
187   public void AlphaBitPlanesOn()
188     { AlphaBitPlanesOn_41(); }
189
190   private native void AlphaBitPlanesOff_42();
191   public void AlphaBitPlanesOff()
192     { AlphaBitPlanesOff_42(); }
193
194   private native void SetPointSmoothing_43(int id0);
195   public void SetPointSmoothing(int id0)
196     { SetPointSmoothing_43(id0); }
197
198   private native int GetPointSmoothing_44();
199   public int GetPointSmoothing()
200     { return GetPointSmoothing_44(); }
201
202   private native void PointSmoothingOn_45();
203   public void PointSmoothingOn()
204     { PointSmoothingOn_45(); }
205
206   private native void PointSmoothingOff_46();
207   public void PointSmoothingOff()
208     { PointSmoothingOff_46(); }
209
210   private native void SetLineSmoothing_47(int id0);
211   public void SetLineSmoothing(int id0)
212     { SetLineSmoothing_47(id0); }
213
214   private native int GetLineSmoothing_48();
215   public int GetLineSmoothing()
216     { return GetLineSmoothing_48(); }
217
218   private native void LineSmoothingOn_49();
219   public void LineSmoothingOn()
220     { LineSmoothingOn_49(); }
221
222   private native void LineSmoothingOff_50();
223   public void LineSmoothingOff()
224     { LineSmoothingOff_50(); }
225
226   private native void SetPolygonSmoothing_51(int id0);
227   public void SetPolygonSmoothing(int id0)
228     { SetPolygonSmoothing_51(id0); }
229
230   private native int GetPolygonSmoothing_52();
231   public int GetPolygonSmoothing()
232     { return GetPolygonSmoothing_52(); }
233
234   private native void PolygonSmoothingOn_53();
235   public void PolygonSmoothingOn()
236     { PolygonSmoothingOn_53(); }
237
238   private native void PolygonSmoothingOff_54();
239   public void PolygonSmoothingOff()
240     { PolygonSmoothingOff_54(); }
241
242   private native int GetStereoType_55();
243   public int GetStereoType()
244     { return GetStereoType_55(); }
245
246   private native void SetStereoType_56(int id0);
247   public void SetStereoType(int id0)
248     { SetStereoType_56(id0); }
249
250   private native void SetStereoTypeToCrystalEyes_57();
251   public void SetStereoTypeToCrystalEyes()
252     { SetStereoTypeToCrystalEyes_57(); }
253
254   private native void SetStereoTypeToRedBlue_58();
255   public void SetStereoTypeToRedBlue()
256     { SetStereoTypeToRedBlue_58(); }
257
258   private native void SetStereoTypeToInterlaced_59();
259   public void SetStereoTypeToInterlaced()
260     { SetStereoTypeToInterlaced_59(); }
261
262   private native void SetStereoTypeToLeft_60();
263   public void SetStereoTypeToLeft()
264     { SetStereoTypeToLeft_60(); }
265
266   private native void SetStereoTypeToRight_61();
267   public void SetStereoTypeToRight()
268     { SetStereoTypeToRight_61(); }
269
270   private native void SetStereoTypeToDresden_62();
271   public void SetStereoTypeToDresden()
272     { SetStereoTypeToDresden_62(); }
273
274   private native void SetStereoTypeToAnaglyph_63();
275   public void SetStereoTypeToAnaglyph()
276     { SetStereoTypeToAnaglyph_63(); }
277
278   private native void SetStereoTypeToCheckerboard_64();
279   public void SetStereoTypeToCheckerboard()
280     { SetStereoTypeToCheckerboard_64(); }
281
282   private native void SetStereoTypeToSplitViewportHorizontal_65();
283   public void SetStereoTypeToSplitViewportHorizontal()
284     { SetStereoTypeToSplitViewportHorizontal_65(); }
285
286   private native void SetStereoTypeToFake_66();
287   public void SetStereoTypeToFake()
288     { SetStereoTypeToFake_66(); }
289
290   private native String GetStereoTypeAsString_67();
291   public String GetStereoTypeAsString()
292     { return GetStereoTypeAsString_67(); }
293
294   private native void StereoUpdate_68();
295   public void StereoUpdate()
296     { StereoUpdate_68(); }
297
298   private native void StereoMidpoint_69();
299   public void StereoMidpoint()
300     { StereoMidpoint_69(); }
301
302   private native void StereoRenderComplete_70();
303   public void StereoRenderComplete()
304     { StereoRenderComplete_70(); }
305
306   private native void SetAnaglyphColorSaturation_71(double id0);
307   public void SetAnaglyphColorSaturation(double id0)
308     { SetAnaglyphColorSaturation_71(id0); }
309
310   private native double GetAnaglyphColorSaturationMinValue_72();
311   public double GetAnaglyphColorSaturationMinValue()
312     { return GetAnaglyphColorSaturationMinValue_72(); }
313
314   private native double GetAnaglyphColorSaturationMaxValue_73();
315   public double GetAnaglyphColorSaturationMaxValue()
316     { return GetAnaglyphColorSaturationMaxValue_73(); }
317
318   private native double GetAnaglyphColorSaturation_74();
319   public double GetAnaglyphColorSaturation()
320     { return GetAnaglyphColorSaturation_74(); }
321
322   private native void SetAnaglyphColorMask_75(int id0,int id1);
323   public void SetAnaglyphColorMask(int id0,int id1)
324     { SetAnaglyphColorMask_75(id0,id1); }
325
326   private native void SetAnaglyphColorMask_76(int id0[]);
327   public void SetAnaglyphColorMask(int id0[])
328     { SetAnaglyphColorMask_76(id0); }
329
330   private native int[]  GetAnaglyphColorMask_77();
331   public int[]  GetAnaglyphColorMask()
332     { return GetAnaglyphColorMask_77(); }
333
334   private native void WindowRemap_78();
335   public void WindowRemap()
336     { WindowRemap_78(); }
337
338   private native void SetSwapBuffers_79(int id0);
339   public void SetSwapBuffers(int id0)
340     { SetSwapBuffers_79(id0); }
341
342   private native int GetSwapBuffers_80();
343   public int GetSwapBuffers()
344     { return GetSwapBuffers_80(); }
345
346   private native void SwapBuffersOn_81();
347   public void SwapBuffersOn()
348     { SwapBuffersOn_81(); }
349
350   private native void SwapBuffersOff_82();
351   public void SwapBuffersOff()
352     { SwapBuffersOff_82(); }
353
354   private native int SetPixelData_83(int id0,int id1,int id2,int id3,vtkUnsignedCharArray id4,int id5,int id6);
355   public int SetPixelData(int id0,int id1,int id2,int id3,vtkUnsignedCharArray id4,int id5,int id6)
356     { return SetPixelData_83(id0,id1,id2,id3,id4,id5,id6); }
357
358   private native int GetRGBAPixelData_84(int id0,int id1,int id2,int id3,int id4,vtkFloatArray id5,int id6);
359   public int GetRGBAPixelData(int id0,int id1,int id2,int id3,int id4,vtkFloatArray id5,int id6)
360     { return GetRGBAPixelData_84(id0,id1,id2,id3,id4,id5,id6); }
361
362   private native int SetRGBAPixelData_85(int id0,int id1,int id2,int id3,vtkFloatArray id4,int id5,int id6,int id7);
363   public int SetRGBAPixelData(int id0,int id1,int id2,int id3,vtkFloatArray id4,int id5,int id6,int id7)
364     { return SetRGBAPixelData_85(id0,id1,id2,id3,id4,id5,id6,id7); }
365
366   private native int GetRGBACharPixelData_86(int id0,int id1,int id2,int id3,int id4,vtkUnsignedCharArray id5,int id6);
367   public int GetRGBACharPixelData(int id0,int id1,int id2,int id3,int id4,vtkUnsignedCharArray id5,int id6)
368     { return GetRGBACharPixelData_86(id0,id1,id2,id3,id4,id5,id6); }
369
370   private native int SetRGBACharPixelData_87(int id0,int id1,int id2,int id3,vtkUnsignedCharArray id4,int id5,int id6,int id7);
371   public int SetRGBACharPixelData(int id0,int id1,int id2,int id3,vtkUnsignedCharArray id4,int id5,int id6,int id7)
372     { return SetRGBACharPixelData_87(id0,id1,id2,id3,id4,id5,id6,id7); }
373
374   private native int GetZbufferData_88(int id0,int id1,int id2,int id3,vtkFloatArray id4);
375   public int GetZbufferData(int id0,int id1,int id2,int id3,vtkFloatArray id4)
376     { return GetZbufferData_88(id0,id1,id2,id3,id4); }
377
378   private native int SetZbufferData_89(int id0,int id1,int id2,int id3,vtkFloatArray id4);
379   public int SetZbufferData(int id0,int id1,int id2,int id3,vtkFloatArray id4)
380     { return SetZbufferData_89(id0,id1,id2,id3,id4); }
381
382   private native double GetZbufferDataAtPoint_90(int id0,int id1);
383   public double GetZbufferDataAtPoint(int id0,int id1)
384     { return GetZbufferDataAtPoint_90(id0,id1); }
385
386   private native int GetNeverRendered_91();
387   public int GetNeverRendered()
388     { return GetNeverRendered_91(); }
389
390   private native int GetAbortRender_92();
391   public int GetAbortRender()
392     { return GetAbortRender_92(); }
393
394   private native void SetAbortRender_93(int id0);
395   public void SetAbortRender(int id0)
396     { SetAbortRender_93(id0); }
397
398   private native int GetInAbortCheck_94();
399   public int GetInAbortCheck()
400     { return GetInAbortCheck_94(); }
401
402   private native void SetInAbortCheck_95(int id0);
403   public void SetInAbortCheck(int id0)
404     { SetInAbortCheck_95(id0); }
405
406   private native int CheckAbortStatus_96();
407   public int CheckAbortStatus()
408     { return CheckAbortStatus_96(); }
409
410   private native int GetIsPicking_97();
411   public int GetIsPicking()
412     { return GetIsPicking_97(); }
413
414   private native void SetIsPicking_98(int id0);
415   public void SetIsPicking(int id0)
416     { SetIsPicking_98(id0); }
417
418   private native void IsPickingOn_99();
419   public void IsPickingOn()
420     { IsPickingOn_99(); }
421
422   private native void IsPickingOff_100();
423   public void IsPickingOff()
424     { IsPickingOff_100(); }
425
426   private native int GetEventPending_101();
427   public int GetEventPending()
428     { return GetEventPending_101(); }
429
430   private native int CheckInRenderStatus_102();
431   public int CheckInRenderStatus()
432     { return CheckInRenderStatus_102(); }
433
434   private native void ClearInRenderStatus_103();
435   public void ClearInRenderStatus()
436     { ClearInRenderStatus_103(); }
437
438   private native void SetDesiredUpdateRate_104(double id0);
439   public void SetDesiredUpdateRate(double id0)
440     { SetDesiredUpdateRate_104(id0); }
441
442   private native double GetDesiredUpdateRate_105();
443   public double GetDesiredUpdateRate()
444     { return GetDesiredUpdateRate_105(); }
445
446   private native int GetNumberOfLayers_106();
447   public int GetNumberOfLayers()
448     { return GetNumberOfLayers_106(); }
449
450   private native void SetNumberOfLayers_107(int id0);
451   public void SetNumberOfLayers(int id0)
452     { SetNumberOfLayers_107(id0); }
453
454   private native int GetNumberOfLayersMinValue_108();
455   public int GetNumberOfLayersMinValue()
456     { return GetNumberOfLayersMinValue_108(); }
457
458   private native int GetNumberOfLayersMaxValue_109();
459   public int GetNumberOfLayersMaxValue()
460     { return GetNumberOfLayersMaxValue_109(); }
461
462   private native long GetInteractor_110();
463   public vtkRenderWindowInteractor GetInteractor() {
464     long temp = GetInteractor_110();
465
466     if (temp == 0) return null;
467     return (vtkRenderWindowInteractor)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
468 }
469
470   private native void SetInteractor_111(vtkRenderWindowInteractor id0);
471   public void SetInteractor(vtkRenderWindowInteractor id0)
472     { SetInteractor_111(id0); }
473
474   private native void UnRegister_112(vtkObjectBase id0);
475   public void UnRegister(vtkObjectBase id0)
476     { UnRegister_112(id0); }
477
478   private native void SetWindowInfo_113(String id0);
479   public void SetWindowInfo(String id0)
480     { SetWindowInfo_113(id0); }
481
482   private native void SetNextWindowInfo_114(String id0);
483   public void SetNextWindowInfo(String id0)
484     { SetNextWindowInfo_114(id0); }
485
486   private native void SetParentInfo_115(String id0);
487   public void SetParentInfo(String id0)
488     { SetParentInfo_115(id0); }
489
490   private native boolean InitializeFromCurrentContext_116();
491   public boolean InitializeFromCurrentContext()
492     { return InitializeFromCurrentContext_116(); }
493
494   private native void SetSharedRenderWindow_117(vtkRenderWindow id0);
495   public void SetSharedRenderWindow(vtkRenderWindow id0)
496     { SetSharedRenderWindow_117(id0); }
497
498   private native long GetSharedRenderWindow_118();
499   public vtkRenderWindow GetSharedRenderWindow() {
500     long temp = GetSharedRenderWindow_118();
501
502     if (temp == 0) return null;
503     return (vtkRenderWindow)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
504 }
505
506   private native boolean GetPlatformSupportsRenderWindowSharing_119();
507   public boolean GetPlatformSupportsRenderWindowSharing()
508     { return GetPlatformSupportsRenderWindowSharing_119(); }
509
510   private native void MakeCurrent_120();
511   public void MakeCurrent()
512     { MakeCurrent_120(); }
513
514   private native boolean IsCurrent_121();
515   public boolean IsCurrent()
516     { return IsCurrent_121(); }
517
518   private native boolean IsDrawable_122();
519   public boolean IsDrawable()
520     { return IsDrawable_122(); }
521
522   private native void SetForceMakeCurrent_123();
523   public void SetForceMakeCurrent()
524     { SetForceMakeCurrent_123(); }
525
526   private native String ReportCapabilities_124();
527   public String ReportCapabilities()
528     { return ReportCapabilities_124(); }
529
530   private native int SupportsOpenGL_125();
531   public int SupportsOpenGL()
532     { return SupportsOpenGL_125(); }
533
534   private native int IsDirect_126();
535   public int IsDirect()
536     { return IsDirect_126(); }
537
538   private native int GetDepthBufferSize_127();
539   public int GetDepthBufferSize()
540     { return GetDepthBufferSize_127(); }
541
542   private native void SetMultiSamples_128(int id0);
543   public void SetMultiSamples(int id0)
544     { SetMultiSamples_128(id0); }
545
546   private native int GetMultiSamples_129();
547   public int GetMultiSamples()
548     { return GetMultiSamples_129(); }
549
550   private native void SetStencilCapable_130(int id0);
551   public void SetStencilCapable(int id0)
552     { SetStencilCapable_130(id0); }
553
554   private native int GetStencilCapable_131();
555   public int GetStencilCapable()
556     { return GetStencilCapable_131(); }
557
558   private native void StencilCapableOn_132();
559   public void StencilCapableOn()
560     { StencilCapableOn_132(); }
561
562   private native void StencilCapableOff_133();
563   public void StencilCapableOff()
564     { StencilCapableOff_133(); }
565
566   private native void SetDeviceIndex_134(int id0);
567   public void SetDeviceIndex(int id0)
568     { SetDeviceIndex_134(id0); }
569
570   private native int GetDeviceIndex_135();
571   public int GetDeviceIndex()
572     { return GetDeviceIndex_135(); }
573
574   private native int GetNumberOfDevices_136();
575   public int GetNumberOfDevices()
576     { return GetNumberOfDevices_136(); }
577
578   private native int SetUseOffScreenBuffers_137(boolean id0);
579   public int SetUseOffScreenBuffers(boolean id0)
580     { return SetUseOffScreenBuffers_137(id0); }
581
582   private native boolean GetUseOffScreenBuffers_138();
583   public boolean GetUseOffScreenBuffers()
584     { return GetUseOffScreenBuffers_138(); }
585
586   private native boolean GetUseSRGBColorSpace_139();
587   public boolean GetUseSRGBColorSpace()
588     { return GetUseSRGBColorSpace_139(); }
589
590   private native void SetUseSRGBColorSpace_140(boolean id0);
591   public void SetUseSRGBColorSpace(boolean id0)
592     { SetUseSRGBColorSpace_140(id0); }
593
594   private native void UseSRGBColorSpaceOn_141();
595   public void UseSRGBColorSpaceOn()
596     { UseSRGBColorSpaceOn_141(); }
597
598   private native void UseSRGBColorSpaceOff_142();
599   public void UseSRGBColorSpaceOff()
600     { UseSRGBColorSpaceOff_142(); }
601
602   public vtkRenderWindow() { super(); }
603
604   public vtkRenderWindow(long id) { super(id); }
605   public native long   VTKInit();
606
607 }