root/OpenSceneGraph/trunk/src/osgWrappers/osg/DisplaySettings.cpp @ 10601

Revision 10601, 19.9 kB (checked in by robert, 4 years ago)

Introduced new GLBufferObject pool for managing the memory footprint taken up by VertexBufferObejct?, ElementBufferObject? and PixelBufferObject?.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// ***************************************************************************
2//
3//   Generated automatically by genwrapper.
4//   Please DO NOT EDIT this file!
5//
6// ***************************************************************************
7
8#include <osgIntrospection/ReflectionMacros>
9#include <osgIntrospection/TypedMethodInfo>
10#include <osgIntrospection/StaticMethodInfo>
11#include <osgIntrospection/Attributes>
12
13#include <osg/ArgumentParser>
14#include <osg/DisplaySettings>
15
16// Must undefine IN and OUT macros defined in Windows headers
17#ifdef IN
18#undef IN
19#endif
20#ifdef OUT
21#undef OUT
22#endif
23
24BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::DisplayType)
25        I_DeclaringFile("osg/DisplaySettings");
26        I_EnumLabel(osg::DisplaySettings::MONITOR);
27        I_EnumLabel(osg::DisplaySettings::POWERWALL);
28        I_EnumLabel(osg::DisplaySettings::REALITY_CENTER);
29        I_EnumLabel(osg::DisplaySettings::HEAD_MOUNTED_DISPLAY);
30END_REFLECTOR
31
32BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::StereoMode)
33        I_DeclaringFile("osg/DisplaySettings");
34        I_EnumLabel(osg::DisplaySettings::QUAD_BUFFER);
35        I_EnumLabel(osg::DisplaySettings::ANAGLYPHIC);
36        I_EnumLabel(osg::DisplaySettings::HORIZONTAL_SPLIT);
37        I_EnumLabel(osg::DisplaySettings::VERTICAL_SPLIT);
38        I_EnumLabel(osg::DisplaySettings::LEFT_EYE);
39        I_EnumLabel(osg::DisplaySettings::RIGHT_EYE);
40        I_EnumLabel(osg::DisplaySettings::HORIZONTAL_INTERLACE);
41        I_EnumLabel(osg::DisplaySettings::VERTICAL_INTERLACE);
42        I_EnumLabel(osg::DisplaySettings::CHECKERBOARD);
43END_REFLECTOR
44
45BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoHorizontalEyeMapping)
46        I_DeclaringFile("osg/DisplaySettings");
47        I_EnumLabel(osg::DisplaySettings::LEFT_EYE_LEFT_VIEWPORT);
48        I_EnumLabel(osg::DisplaySettings::LEFT_EYE_RIGHT_VIEWPORT);
49END_REFLECTOR
50
51BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoVerticalEyeMapping)
52        I_DeclaringFile("osg/DisplaySettings");
53        I_EnumLabel(osg::DisplaySettings::LEFT_EYE_TOP_VIEWPORT);
54        I_EnumLabel(osg::DisplaySettings::LEFT_EYE_BOTTOM_VIEWPORT);
55END_REFLECTOR
56
57BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
58        I_DeclaringFile("osg/DisplaySettings");
59        I_BaseType(osg::Referenced);
60        I_StaticMethod0(osg::DisplaySettings *, instance,
61                        __DisplaySettings_P1__instance_S,
62                        "Maintain a DisplaySettings singleton for objects to query at runtime. ",
63                        "");
64        I_Constructor0(____DisplaySettings,
65                       "",
66                       "");
67        I_Constructor1(IN, osg::ArgumentParser &, arguments,
68                       Properties::NON_EXPLICIT,
69                       ____DisplaySettings__ArgumentParser_R1,
70                       "",
71                       "");
72        I_Constructor1(IN, const osg::DisplaySettings &, vs,
73                       Properties::NON_EXPLICIT,
74                       ____DisplaySettings__C5_DisplaySettings_R1,
75                       "",
76                       "");
77        I_Method1(void, setDisplaySettings, IN, const osg::DisplaySettings &, vs,
78                  Properties::NON_VIRTUAL,
79                  __void__setDisplaySettings__C5_DisplaySettings_R1,
80                  "",
81                  "");
82        I_Method1(void, merge, IN, const osg::DisplaySettings &, vs,
83                  Properties::NON_VIRTUAL,
84                  __void__merge__C5_DisplaySettings_R1,
85                  "",
86                  "");
87        I_Method0(void, setDefaults,
88                  Properties::NON_VIRTUAL,
89                  __void__setDefaults,
90                  "",
91                  "");
92        I_Method0(void, readEnvironmentalVariables,
93                  Properties::NON_VIRTUAL,
94                  __void__readEnvironmentalVariables,
95                  "read the environmental variables. ",
96                  "");
97        I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
98                  Properties::NON_VIRTUAL,
99                  __void__readCommandLine__ArgumentParser_R1,
100                  "read the commandline arguments. ",
101                  "");
102        I_Method1(void, setDisplayType, IN, osg::DisplaySettings::DisplayType, type,
103                  Properties::NON_VIRTUAL,
104                  __void__setDisplayType__DisplayType,
105                  "",
106                  "");
107        I_Method0(osg::DisplaySettings::DisplayType, getDisplayType,
108                  Properties::NON_VIRTUAL,
109                  __DisplayType__getDisplayType,
110                  "",
111                  "");
112        I_Method1(void, setStereo, IN, bool, on,
113                  Properties::NON_VIRTUAL,
114                  __void__setStereo__bool,
115                  "",
116                  "");
117        I_Method0(bool, getStereo,
118                  Properties::NON_VIRTUAL,
119                  __bool__getStereo,
120                  "",
121                  "");
122        I_Method1(void, setStereoMode, IN, osg::DisplaySettings::StereoMode, mode,
123                  Properties::NON_VIRTUAL,
124                  __void__setStereoMode__StereoMode,
125                  "",
126                  "");
127        I_Method0(osg::DisplaySettings::StereoMode, getStereoMode,
128                  Properties::NON_VIRTUAL,
129                  __StereoMode__getStereoMode,
130                  "",
131                  "");
132        I_Method1(void, setEyeSeparation, IN, float, eyeSeparation,
133                  Properties::NON_VIRTUAL,
134                  __void__setEyeSeparation__float,
135                  "",
136                  "");
137        I_Method0(float, getEyeSeparation,
138                  Properties::NON_VIRTUAL,
139                  __float__getEyeSeparation,
140                  "",
141                  "");
142        I_Method1(void, setSplitStereoHorizontalEyeMapping, IN, osg::DisplaySettings::SplitStereoHorizontalEyeMapping, m,
143                  Properties::NON_VIRTUAL,
144                  __void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping,
145                  "",
146                  "");
147        I_Method0(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, getSplitStereoHorizontalEyeMapping,
148                  Properties::NON_VIRTUAL,
149                  __SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
150                  "",
151                  "");
152        I_Method1(void, setSplitStereoHorizontalSeparation, IN, int, s,
153                  Properties::NON_VIRTUAL,
154                  __void__setSplitStereoHorizontalSeparation__int,
155                  "",
156                  "");
157        I_Method0(int, getSplitStereoHorizontalSeparation,
158                  Properties::NON_VIRTUAL,
159                  __int__getSplitStereoHorizontalSeparation,
160                  "",
161                  "");
162        I_Method1(void, setSplitStereoVerticalEyeMapping, IN, osg::DisplaySettings::SplitStereoVerticalEyeMapping, m,
163                  Properties::NON_VIRTUAL,
164                  __void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping,
165                  "",
166                  "");
167        I_Method0(osg::DisplaySettings::SplitStereoVerticalEyeMapping, getSplitStereoVerticalEyeMapping,
168                  Properties::NON_VIRTUAL,
169                  __SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
170                  "",
171                  "");
172        I_Method1(void, setSplitStereoVerticalSeparation, IN, int, s,
173                  Properties::NON_VIRTUAL,
174                  __void__setSplitStereoVerticalSeparation__int,
175                  "",
176                  "");
177        I_Method0(int, getSplitStereoVerticalSeparation,
178                  Properties::NON_VIRTUAL,
179                  __int__getSplitStereoVerticalSeparation,
180                  "",
181                  "");
182        I_Method1(void, setSplitStereoAutoAdjustAspectRatio, IN, bool, flag,
183                  Properties::NON_VIRTUAL,
184                  __void__setSplitStereoAutoAdjustAspectRatio__bool,
185                  "",
186                  "");
187        I_Method0(bool, getSplitStereoAutoAdjustAspectRatio,
188                  Properties::NON_VIRTUAL,
189                  __bool__getSplitStereoAutoAdjustAspectRatio,
190                  "",
191                  "");
192        I_Method1(void, setScreenWidth, IN, float, width,
193                  Properties::NON_VIRTUAL,
194                  __void__setScreenWidth__float,
195                  "",
196                  "");
197        I_Method0(float, getScreenWidth,
198                  Properties::NON_VIRTUAL,
199                  __float__getScreenWidth,
200                  "",
201                  "");
202        I_Method1(void, setScreenHeight, IN, float, height,
203                  Properties::NON_VIRTUAL,
204                  __void__setScreenHeight__float,
205                  "",
206                  "");
207        I_Method0(float, getScreenHeight,
208                  Properties::NON_VIRTUAL,
209                  __float__getScreenHeight,
210                  "",
211                  "");
212        I_Method1(void, setScreenDistance, IN, float, distance,
213                  Properties::NON_VIRTUAL,
214                  __void__setScreenDistance__float,
215                  "",
216                  "");
217        I_Method0(float, getScreenDistance,
218                  Properties::NON_VIRTUAL,
219                  __float__getScreenDistance,
220                  "",
221                  "");
222        I_Method1(void, setDoubleBuffer, IN, bool, flag,
223                  Properties::NON_VIRTUAL,
224                  __void__setDoubleBuffer__bool,
225                  "",
226                  "");
227        I_Method0(bool, getDoubleBuffer,
228                  Properties::NON_VIRTUAL,
229                  __bool__getDoubleBuffer,
230                  "",
231                  "");
232        I_Method1(void, setRGB, IN, bool, flag,
233                  Properties::NON_VIRTUAL,
234                  __void__setRGB__bool,
235                  "",
236                  "");
237        I_Method0(bool, getRGB,
238                  Properties::NON_VIRTUAL,
239                  __bool__getRGB,
240                  "",
241                  "");
242        I_Method1(void, setDepthBuffer, IN, bool, flag,
243                  Properties::NON_VIRTUAL,
244                  __void__setDepthBuffer__bool,
245                  "",
246                  "");
247        I_Method0(bool, getDepthBuffer,
248                  Properties::NON_VIRTUAL,
249                  __bool__getDepthBuffer,
250                  "",
251                  "");
252        I_Method1(void, setMinimumNumAlphaBits, IN, unsigned int, bits,
253                  Properties::NON_VIRTUAL,
254                  __void__setMinimumNumAlphaBits__unsigned_int,
255                  "",
256                  "");
257        I_Method0(unsigned int, getMinimumNumAlphaBits,
258                  Properties::NON_VIRTUAL,
259                  __unsigned_int__getMinimumNumAlphaBits,
260                  "",
261                  "");
262        I_Method0(bool, getAlphaBuffer,
263                  Properties::NON_VIRTUAL,
264                  __bool__getAlphaBuffer,
265                  "",
266                  "");
267        I_Method1(void, setMinimumNumStencilBits, IN, unsigned int, bits,
268                  Properties::NON_VIRTUAL,
269                  __void__setMinimumNumStencilBits__unsigned_int,
270                  "",
271                  "");
272        I_Method0(unsigned int, getMinimumNumStencilBits,
273                  Properties::NON_VIRTUAL,
274                  __unsigned_int__getMinimumNumStencilBits,
275                  "",
276                  "");
277        I_Method0(bool, getStencilBuffer,
278                  Properties::NON_VIRTUAL,
279                  __bool__getStencilBuffer,
280                  "",
281                  "");
282        I_Method4(void, setMinimumNumAccumBits, IN, unsigned int, red, IN, unsigned int, green, IN, unsigned int, blue, IN, unsigned int, alpha,
283                  Properties::NON_VIRTUAL,
284                  __void__setMinimumNumAccumBits__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
285                  "",
286                  "");
287        I_Method0(unsigned int, getMinimumNumAccumRedBits,
288                  Properties::NON_VIRTUAL,
289                  __unsigned_int__getMinimumNumAccumRedBits,
290                  "",
291                  "");
292        I_Method0(unsigned int, getMinimumNumAccumGreenBits,
293                  Properties::NON_VIRTUAL,
294                  __unsigned_int__getMinimumNumAccumGreenBits,
295                  "",
296                  "");
297        I_Method0(unsigned int, getMinimumNumAccumBlueBits,
298                  Properties::NON_VIRTUAL,
299                  __unsigned_int__getMinimumNumAccumBlueBits,
300                  "",
301                  "");
302        I_Method0(unsigned int, getMinimumNumAccumAlphaBits,
303                  Properties::NON_VIRTUAL,
304                  __unsigned_int__getMinimumNumAccumAlphaBits,
305                  "",
306                  "");
307        I_Method0(bool, getAccumBuffer,
308                  Properties::NON_VIRTUAL,
309                  __bool__getAccumBuffer,
310                  "",
311                  "");
312        I_Method1(void, setMaxNumberOfGraphicsContexts, IN, unsigned int, num,
313                  Properties::NON_VIRTUAL,
314                  __void__setMaxNumberOfGraphicsContexts__unsigned_int,
315                  "",
316                  "");
317        I_Method0(unsigned int, getMaxNumberOfGraphicsContexts,
318                  Properties::NON_VIRTUAL,
319                  __unsigned_int__getMaxNumberOfGraphicsContexts,
320                  "",
321                  "");
322        I_Method1(void, setNumMultiSamples, IN, unsigned int, samples,
323                  Properties::NON_VIRTUAL,
324                  __void__setNumMultiSamples__unsigned_int,
325                  "",
326                  "");
327        I_Method0(unsigned int, getNumMultiSamples,
328                  Properties::NON_VIRTUAL,
329                  __unsigned_int__getNumMultiSamples,
330                  "",
331                  "");
332        I_Method0(bool, getMultiSamples,
333                  Properties::NON_VIRTUAL,
334                  __bool__getMultiSamples,
335                  "",
336                  "");
337        I_Method1(void, setCompileContextsHint, IN, bool, useCompileContexts,
338                  Properties::NON_VIRTUAL,
339                  __void__setCompileContextsHint__bool,
340                  "",
341                  "");
342        I_Method0(bool, getCompileContextsHint,
343                  Properties::NON_VIRTUAL,
344                  __bool__getCompileContextsHint,
345                  "",
346                  "");
347        I_Method1(void, setSerializeDrawDispatch, IN, bool, serializeDrawDispatch,
348                  Properties::NON_VIRTUAL,
349                  __void__setSerializeDrawDispatch__bool,
350                  "",
351                  "");
352        I_Method0(bool, getSerializeDrawDispatch,
353                  Properties::NON_VIRTUAL,
354                  __bool__getSerializeDrawDispatch,
355                  "",
356                  "");
357        I_Method1(void, setNumOfDatabaseThreadsHint, IN, unsigned int, numThreads,
358                  Properties::NON_VIRTUAL,
359                  __void__setNumOfDatabaseThreadsHint__unsigned_int,
360                  "Set the hint for the total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ",
361                  "");
362        I_Method0(unsigned int, getNumOfDatabaseThreadsHint,
363                  Properties::NON_VIRTUAL,
364                  __unsigned_int__getNumOfDatabaseThreadsHint,
365                  "Get the hint for total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ",
366                  "");
367        I_Method1(void, setNumOfHttpDatabaseThreadsHint, IN, unsigned int, numThreads,
368                  Properties::NON_VIRTUAL,
369                  __void__setNumOfHttpDatabaseThreadsHint__unsigned_int,
370                  "Set the hint for number of threads in the DatbasePager to dedicate to reading http requests. ",
371                  "");
372        I_Method0(unsigned int, getNumOfHttpDatabaseThreadsHint,
373                  Properties::NON_VIRTUAL,
374                  __unsigned_int__getNumOfHttpDatabaseThreadsHint,
375                  "Get the hint for number of threads in the DatbasePager dedicated to reading http requests. ",
376                  "");
377        I_Method1(void, setApplication, IN, const std::string &, application,
378                  Properties::NON_VIRTUAL,
379                  __void__setApplication__C5_std_string_R1,
380                  "",
381                  "");
382        I_Method0(const std::string &, getApplication,
383                  Properties::NON_VIRTUAL,
384                  __C5_std_string_R1__getApplication,
385                  "",
386                  "");
387        I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size,
388                  Properties::NON_VIRTUAL,
389                  __void__setMaxTexturePoolSize__unsigned_int,
390                  "",
391                  "");
392        I_Method0(unsigned int, getMaxTexturePoolSize,
393                  Properties::NON_VIRTUAL,
394                  __unsigned_int__getMaxTexturePoolSize,
395                  "",
396                  "");
397        I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size,
398                  Properties::NON_VIRTUAL,
399                  __void__setMaxBufferObjectPoolSize__unsigned_int,
400                  "",
401                  "");
402        I_Method0(unsigned int, getMaxBufferObjectPoolSize,
403                  Properties::NON_VIRTUAL,
404                  __unsigned_int__getMaxBufferObjectPoolSize,
405                  "",
406                  "");
407        I_SimpleProperty(bool, AccumBuffer,
408                         __bool__getAccumBuffer,
409                         0);
410        I_SimpleProperty(bool, AlphaBuffer,
411                         __bool__getAlphaBuffer,
412                         0);
413        I_SimpleProperty(const std::string &, Application,
414                         __C5_std_string_R1__getApplication,
415                         __void__setApplication__C5_std_string_R1);
416        I_SimpleProperty(bool, CompileContextsHint,
417                         __bool__getCompileContextsHint,
418                         __void__setCompileContextsHint__bool);
419        I_SimpleProperty(bool, DepthBuffer,
420                         __bool__getDepthBuffer,
421                         __void__setDepthBuffer__bool);
422        I_SimpleProperty(const osg::DisplaySettings &, DisplaySettings,
423                         0,
424                         __void__setDisplaySettings__C5_DisplaySettings_R1);
425        I_SimpleProperty(osg::DisplaySettings::DisplayType, DisplayType,
426                         __DisplayType__getDisplayType,
427                         __void__setDisplayType__DisplayType);
428        I_SimpleProperty(bool, DoubleBuffer,
429                         __bool__getDoubleBuffer,
430                         __void__setDoubleBuffer__bool);
431        I_SimpleProperty(float, EyeSeparation,
432                         __float__getEyeSeparation,
433                         __void__setEyeSeparation__float);
434        I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize,
435                         __unsigned_int__getMaxBufferObjectPoolSize,
436                         __void__setMaxBufferObjectPoolSize__unsigned_int);
437        I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts,
438                         __unsigned_int__getMaxNumberOfGraphicsContexts,
439                         __void__setMaxNumberOfGraphicsContexts__unsigned_int);
440        I_SimpleProperty(unsigned int, MaxTexturePoolSize,
441                         __unsigned_int__getMaxTexturePoolSize,
442                         __void__setMaxTexturePoolSize__unsigned_int);
443        I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits,
444                         __unsigned_int__getMinimumNumAccumAlphaBits,
445                         0);
446        I_SimpleProperty(unsigned int, MinimumNumAccumBlueBits,
447                         __unsigned_int__getMinimumNumAccumBlueBits,
448                         0);
449        I_SimpleProperty(unsigned int, MinimumNumAccumGreenBits,
450                         __unsigned_int__getMinimumNumAccumGreenBits,
451                         0);
452        I_SimpleProperty(unsigned int, MinimumNumAccumRedBits,
453                         __unsigned_int__getMinimumNumAccumRedBits,
454                         0);
455        I_SimpleProperty(unsigned int, MinimumNumAlphaBits,
456                         __unsigned_int__getMinimumNumAlphaBits,
457                         __void__setMinimumNumAlphaBits__unsigned_int);
458        I_SimpleProperty(unsigned int, MinimumNumStencilBits,
459                         __unsigned_int__getMinimumNumStencilBits,
460                         __void__setMinimumNumStencilBits__unsigned_int);
461        I_SimpleProperty(bool, MultiSamples,
462                         __bool__getMultiSamples,
463                         0);
464        I_SimpleProperty(unsigned int, NumMultiSamples,
465                         0,
466                         __void__setNumMultiSamples__unsigned_int);
467        I_SimpleProperty(unsigned int, NumOfDatabaseThreadsHint,
468                         0,
469                         __void__setNumOfDatabaseThreadsHint__unsigned_int);
470        I_SimpleProperty(unsigned int, NumOfHttpDatabaseThreadsHint,
471                         0,
472                         __void__setNumOfHttpDatabaseThreadsHint__unsigned_int);
473        I_SimpleProperty(bool, RGB,
474                         __bool__getRGB,
475                         __void__setRGB__bool);
476        I_SimpleProperty(float, ScreenDistance,
477                         __float__getScreenDistance,
478                         __void__setScreenDistance__float);
479        I_SimpleProperty(float, ScreenHeight,
480                         __float__getScreenHeight,
481                         __void__setScreenHeight__float);
482        I_SimpleProperty(float, ScreenWidth,
483                         __float__getScreenWidth,
484                         __void__setScreenWidth__float);
485        I_SimpleProperty(bool, SerializeDrawDispatch,
486                         __bool__getSerializeDrawDispatch,
487                         __void__setSerializeDrawDispatch__bool);
488        I_SimpleProperty(bool, SplitStereoAutoAdjustAspectRatio,
489                         __bool__getSplitStereoAutoAdjustAspectRatio,
490                         __void__setSplitStereoAutoAdjustAspectRatio__bool);
491        I_SimpleProperty(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, SplitStereoHorizontalEyeMapping,
492                         __SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
493                         __void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping);
494        I_SimpleProperty(int, SplitStereoHorizontalSeparation,
495                         __int__getSplitStereoHorizontalSeparation,
496                         __void__setSplitStereoHorizontalSeparation__int);
497        I_SimpleProperty(osg::DisplaySettings::SplitStereoVerticalEyeMapping, SplitStereoVerticalEyeMapping,
498                         __SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
499                         __void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping);
500        I_SimpleProperty(int, SplitStereoVerticalSeparation,
501                         __int__getSplitStereoVerticalSeparation,
502                         __void__setSplitStereoVerticalSeparation__int);
503        I_SimpleProperty(bool, StencilBuffer,
504                         __bool__getStencilBuffer,
505                         0);
506        I_SimpleProperty(bool, Stereo,
507                         __bool__getStereo,
508                         __void__setStereo__bool);
509        I_SimpleProperty(osg::DisplaySettings::StereoMode, StereoMode,
510                         __StereoMode__getStereoMode,
511                         __void__setStereoMode__StereoMode);
512END_REFLECTOR
Note: See TracBrowser for help on using the browser.