root/OpenSceneGraph/trunk/src/osgWrappers/introspection/osg/CullSettings.cpp @ 10967

Revision 10967, 16.5 kB (checked in by robert, 5 years ago)

Regenerated introspection wrappers in their new location

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/CullSettings>
15#include <osg/Matrixd>
16#include <osg/Matrixf>
17#include <osg/Node>
18
19// Must undefine IN and OUT macros defined in Windows headers
20#ifdef IN
21#undef IN
22#endif
23#ifdef OUT
24#undef OUT
25#endif
26
27BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask)
28        I_DeclaringFile("osg/CullSettings");
29        I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE);
30        I_EnumLabel(osg::CullSettings::CULLING_MODE);
31        I_EnumLabel(osg::CullSettings::LOD_SCALE);
32        I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE);
33        I_EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK);
34        I_EnumLabel(osg::CullSettings::NEAR_FAR_RATIO);
35        I_EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE);
36        I_EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES);
37        I_EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD);
38        I_EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES);
39        I_EnumLabel(osg::CullSettings::CULL_MASK);
40        I_EnumLabel(osg::CullSettings::CULL_MASK_LEFT);
41        I_EnumLabel(osg::CullSettings::CULL_MASK_RIGHT);
42        I_EnumLabel(osg::CullSettings::CLEAR_COLOR);
43        I_EnumLabel(osg::CullSettings::CLEAR_MASK);
44        I_EnumLabel(osg::CullSettings::LIGHTING_MODE);
45        I_EnumLabel(osg::CullSettings::LIGHT);
46        I_EnumLabel(osg::CullSettings::DRAW_BUFFER);
47        I_EnumLabel(osg::CullSettings::READ_BUFFER);
48        I_EnumLabel(osg::CullSettings::NO_VARIABLES);
49        I_EnumLabel(osg::CullSettings::ALL_VARIABLES);
50END_REFLECTOR
51
52BEGIN_ENUM_REFLECTOR(osg::CullSettings::InheritanceMaskActionOnAttributeSetting)
53        I_DeclaringFile("osg/CullSettings");
54        I_EnumLabel(osg::CullSettings::DISABLE_ASSOCIATED_INHERITANCE_MASK_BIT);
55        I_EnumLabel(osg::CullSettings::DO_NOT_MODIFY_INHERITANCE_MASK);
56END_REFLECTOR
57
58BEGIN_ENUM_REFLECTOR(osg::CullSettings::ComputeNearFarMode)
59        I_DeclaringFile("osg/CullSettings");
60        I_EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
61        I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
62        I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
63END_REFLECTOR
64
65BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues)
66        I_DeclaringFile("osg/CullSettings");
67        I_EnumLabel(osg::CullSettings::NO_CULLING);
68        I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING);
69        I_EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING);
70        I_EnumLabel(osg::CullSettings::FAR_PLANE_CULLING);
71        I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING);
72        I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING);
73        I_EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING);
74        I_EnumLabel(osg::CullSettings::CLUSTER_CULLING);
75        I_EnumLabel(osg::CullSettings::DEFAULT_CULLING);
76        I_EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING);
77END_REFLECTOR
78
79TYPE_NAME_ALIAS(unsigned int, osg::CullSettings::CullingMode)
80
81BEGIN_VALUE_REFLECTOR(osg::CullSettings)
82        I_DeclaringFile("osg/CullSettings");
83        I_Constructor0(____CullSettings,
84                       "",
85                       "");
86        I_Constructor1(IN, osg::ArgumentParser &, arguments,
87                       Properties::NON_EXPLICIT,
88                       ____CullSettings__ArgumentParser_R1,
89                       "",
90                       "");
91        I_Constructor1(IN, const osg::CullSettings &, cs,
92                       Properties::NON_EXPLICIT,
93                       ____CullSettings__C5_CullSettings_R1,
94                       "",
95                       "");
96        I_Method0(void, setDefaults,
97                  Properties::VIRTUAL,
98                  __void__setDefaults,
99                  "",
100                  "");
101        I_Method1(void, setInheritanceMask, IN, unsigned int, mask,
102                  Properties::NON_VIRTUAL,
103                  __void__setInheritanceMask__unsigned_int,
104                  "Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ",
105                  "");
106        I_Method0(unsigned int, getInheritanceMask,
107                  Properties::NON_VIRTUAL,
108                  __unsigned_int__getInheritanceMask,
109                  "Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ",
110                  "");
111        I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings,
112                  Properties::NON_VIRTUAL,
113                  __void__setCullSettings__C5_CullSettings_R1,
114                  "Set the local cull settings values from specified CullSettings object. ",
115                  "");
116        I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings,
117                  Properties::VIRTUAL,
118                  __void__inheritCullSettings__C5_CullSettings_R1,
119                  "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
120                  "");
121        I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
122                  Properties::VIRTUAL,
123                  __void__inheritCullSettings__C5_CullSettings_R1__unsigned_int,
124                  "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
125                  "");
126        I_Method0(void, readEnvironmentalVariables,
127                  Properties::NON_VIRTUAL,
128                  __void__readEnvironmentalVariables,
129                  "read the environmental variables. ",
130                  "");
131        I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
132                  Properties::NON_VIRTUAL,
133                  __void__readCommandLine__ArgumentParser_R1,
134                  "read the commandline arguments. ",
135                  "");
136        I_Method1(void, setInheritanceMaskActionOnAttributeSetting, IN, osg::CullSettings::InheritanceMaskActionOnAttributeSetting, action,
137                  Properties::NON_VIRTUAL,
138                  __void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting,
139                  "",
140                  "");
141        I_Method0(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, getInheritanceMaskActionOnAttributeSetting,
142                  Properties::NON_VIRTUAL,
143                  __InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting,
144                  "",
145                  "");
146        I_Method1(void, applyMaskAction, IN, unsigned int, maskBit,
147                  Properties::NON_VIRTUAL,
148                  __void__applyMaskAction__unsigned_int,
149                  "Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritance bit mask. ",
150                  "This method is called by CullSettings::set*() parameter methods to ensure that CullSettings inheritance mechanisms doesn't overwrite the local parameter settings. ");
151        I_Method1(void, setImpostorsActive, IN, bool, active,
152                  Properties::NON_VIRTUAL,
153                  __void__setImpostorsActive__bool,
154                  "Switch the creation of Impostors on or off. ",
155                  "Setting active to false forces the CullVisitor to use the Impostor LOD children for rendering. Setting active to true forces the CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture. ");
156        I_Method0(bool, getImpostorsActive,
157                  Properties::NON_VIRTUAL,
158                  __bool__getImpostorsActive,
159                  "Get whether impostors are active or not. ",
160                  "");
161        I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels,
162                  Properties::NON_VIRTUAL,
163                  __void__setImpostorPixelErrorThreshold__float,
164                  "Set the impostor error threshold. ",
165                  "Used in calculation of whether impostors remain valid. ");
166        I_Method0(float, getImpostorPixelErrorThreshold,
167                  Properties::NON_VIRTUAL,
168                  __float__getImpostorPixelErrorThreshold,
169                  "Get the impostor error threshold. ",
170                  "");
171        I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort,
172                  Properties::NON_VIRTUAL,
173                  __void__setDepthSortImpostorSprites__bool,
174                  "Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. ",
175                  "");
176        I_Method0(bool, getDepthSortImpostorSprites,
177                  Properties::NON_VIRTUAL,
178                  __bool__getDepthSortImpostorSprites,
179                  "Get whether ImpostorSprite's are depth sorted bin for rendering. ",
180                  "");
181        I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames,
182                  Properties::NON_VIRTUAL,
183                  __void__setNumberOfFrameToKeepImpostorSprites__int,
184                  "Set the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
185                  "");
186        I_Method0(int, getNumberOfFrameToKeepImpostorSprites,
187                  Properties::NON_VIRTUAL,
188                  __int__getNumberOfFrameToKeepImpostorSprites,
189                  "Get the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
190                  "");
191        I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm,
192                  Properties::NON_VIRTUAL,
193                  __void__setComputeNearFarMode__ComputeNearFarMode,
194                  "",
195                  "");
196        I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode,
197                  Properties::NON_VIRTUAL,
198                  __ComputeNearFarMode__getComputeNearFarMode,
199                  "",
200                  "");
201        I_Method1(void, setNearFarRatio, IN, double, ratio,
202                  Properties::NON_VIRTUAL,
203                  __void__setNearFarRatio__double,
204                  "",
205                  "");
206        I_Method0(double, getNearFarRatio,
207                  Properties::NON_VIRTUAL,
208                  __double__getNearFarRatio,
209                  "",
210                  "");
211        I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode,
212                  Properties::NON_VIRTUAL,
213                  __void__setCullingMode__CullingMode,
214                  "Set the culling mode for the CullVisitor to use. ",
215                  "");
216        I_Method0(osg::CullSettings::CullingMode, getCullingMode,
217                  Properties::NON_VIRTUAL,
218                  __CullingMode__getCullingMode,
219                  "Returns the current CullingMode. ",
220                  "");
221        I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm,
222                  Properties::NON_VIRTUAL,
223                  __void__setCullMask__osg_Node_NodeMask,
224                  "",
225                  "");
226        I_Method0(osg::Node::NodeMask, getCullMask,
227                  Properties::NON_VIRTUAL,
228                  __osg_Node_NodeMask__getCullMask,
229                  "",
230                  "");
231        I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm,
232                  Properties::NON_VIRTUAL,
233                  __void__setCullMaskLeft__osg_Node_NodeMask,
234                  "",
235                  "");
236        I_Method0(osg::Node::NodeMask, getCullMaskLeft,
237                  Properties::NON_VIRTUAL,
238                  __osg_Node_NodeMask__getCullMaskLeft,
239                  "",
240                  "");
241        I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm,
242                  Properties::NON_VIRTUAL,
243                  __void__setCullMaskRight__osg_Node_NodeMask,
244                  "",
245                  "");
246        I_Method0(osg::Node::NodeMask, getCullMaskRight,
247                  Properties::NON_VIRTUAL,
248                  __osg_Node_NodeMask__getCullMaskRight,
249                  "",
250                  "");
251        I_Method1(void, setLODScale, IN, float, scale,
252                  Properties::NON_VIRTUAL,
253                  __void__setLODScale__float,
254                  "Set the LOD bias for the CullVisitor to use. ",
255                  "");
256        I_Method0(float, getLODScale,
257                  Properties::NON_VIRTUAL,
258                  __float__getLODScale,
259                  "Get the LOD bias. ",
260                  "");
261        I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value,
262                  Properties::NON_VIRTUAL,
263                  __void__setSmallFeatureCullingPixelSize__float,
264                  "Set the Small Feature Culling Pixel Size. ",
265                  "");
266        I_Method0(float, getSmallFeatureCullingPixelSize,
267                  Properties::NON_VIRTUAL,
268                  __float__getSmallFeatureCullingPixelSize,
269                  "Get the Small Feature Culling Pixel Size. ",
270                  "");
271        I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc,
272                  Properties::NON_VIRTUAL,
273                  __void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1,
274                  "set the ClampProjectionMatrixCallback. ",
275                  "");
276        I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
277                  Properties::NON_VIRTUAL,
278                  __ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
279                  "get the non const ClampProjectionMatrixCallback. ",
280                  "");
281        I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
282                  Properties::NON_VIRTUAL,
283                  __C5_ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
284                  "get the const ClampProjectionMatrixCallback. ",
285                  "");
286        I_Method1(void, write, IN, std::ostream &, out,
287                  Properties::NON_VIRTUAL,
288                  __void__write__std_ostream_R1,
289                  "Write out internal settings of CullSettings. ",
290                  "");
291        I_SimpleProperty(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback,
292                         __ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
293                         __void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1);
294        I_SimpleProperty(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode,
295                         __ComputeNearFarMode__getComputeNearFarMode,
296                         __void__setComputeNearFarMode__ComputeNearFarMode);
297        I_SimpleProperty(osg::Node::NodeMask, CullMask,
298                         __osg_Node_NodeMask__getCullMask,
299                         __void__setCullMask__osg_Node_NodeMask);
300        I_SimpleProperty(osg::Node::NodeMask, CullMaskLeft,
301                         __osg_Node_NodeMask__getCullMaskLeft,
302                         __void__setCullMaskLeft__osg_Node_NodeMask);
303        I_SimpleProperty(osg::Node::NodeMask, CullMaskRight,
304                         __osg_Node_NodeMask__getCullMaskRight,
305                         __void__setCullMaskRight__osg_Node_NodeMask);
306        I_SimpleProperty(const osg::CullSettings &, CullSettings,
307                         0,
308                         __void__setCullSettings__C5_CullSettings_R1);
309        I_SimpleProperty(osg::CullSettings::CullingMode, CullingMode,
310                         __CullingMode__getCullingMode,
311                         __void__setCullingMode__CullingMode);
312        I_SimpleProperty(bool, DepthSortImpostorSprites,
313                         __bool__getDepthSortImpostorSprites,
314                         __void__setDepthSortImpostorSprites__bool);
315        I_SimpleProperty(float, ImpostorPixelErrorThreshold,
316                         __float__getImpostorPixelErrorThreshold,
317                         __void__setImpostorPixelErrorThreshold__float);
318        I_SimpleProperty(bool, ImpostorsActive,
319                         __bool__getImpostorsActive,
320                         __void__setImpostorsActive__bool);
321        I_SimpleProperty(unsigned int, InheritanceMask,
322                         __unsigned_int__getInheritanceMask,
323                         __void__setInheritanceMask__unsigned_int);
324        I_SimpleProperty(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, InheritanceMaskActionOnAttributeSetting,
325                         __InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting,
326                         __void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting);
327        I_SimpleProperty(float, LODScale,
328                         __float__getLODScale,
329                         __void__setLODScale__float);
330        I_SimpleProperty(double, NearFarRatio,
331                         __double__getNearFarRatio,
332                         __void__setNearFarRatio__double);
333        I_SimpleProperty(int, NumberOfFrameToKeepImpostorSprites,
334                         __int__getNumberOfFrameToKeepImpostorSprites,
335                         __void__setNumberOfFrameToKeepImpostorSprites__int);
336        I_SimpleProperty(float, SmallFeatureCullingPixelSize,
337                         __float__getSmallFeatureCullingPixelSize,
338                         __void__setSmallFeatureCullingPixelSize__float);
339END_REFLECTOR
340
341BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::CullSettings::ClampProjectionMatrixCallback)
342        I_DeclaringFile("osg/CullSettings");
343        I_BaseType(osg::Referenced);
344        I_Constructor0(____ClampProjectionMatrixCallback,
345                       "",
346                       "");
347        I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
348                  Properties::PURE_VIRTUAL,
349                  __bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
350                  "",
351                  "");
352        I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
353                  Properties::PURE_VIRTUAL,
354                  __bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
355                  "",
356                  "");
357END_REFLECTOR
Note: See TracBrowser for help on using the browser.