1
// ***************************************************************************
3
// Generated automatically by genwrapper.
4
// Please DO NOT EDIT this file!
6
// ***************************************************************************
8
#include <osgIntrospection/ReflectionMacros>
9
#include <osgIntrospection/TypedMethodInfo>
10
#include <osgIntrospection/StaticMethodInfo>
11
#include <osgIntrospection/Attributes>
13
#include <osg/BoundingBox>
15
#include <osg/Drawable>
19
#include <osg/Polytope>
20
#include <osg/RenderInfo>
22
#include <osgShadow/OccluderGeometry>
24
// Must undefine IN and OUT macros defined in Windows headers
32
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgShadow::OccluderGeometry::Vec3List)
34
TYPE_NAME_ALIAS(std::vector< GLuint >, osgShadow::OccluderGeometry::UIntList)
36
BEGIN_OBJECT_REFLECTOR(osgShadow::OccluderGeometry)
37
I_DeclaringFile("osgShadow/OccluderGeometry");
38
I_BaseType(osg::Drawable);
39
I_Constructor0(____OccluderGeometry,
42
I_ConstructorWithDefaults2(IN, const osgShadow::OccluderGeometry &, oc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
43
____OccluderGeometry__C5_OccluderGeometry_R1__C5_osg_CopyOp_R1,
46
I_Method0(osg::Object *, cloneType,
48
__Object_P1__cloneType,
49
"Clone the type of an object, with Object* return type. ",
50
"Must be defined by derived classes. ");
51
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
53
__Object_P1__clone__C5_osg_CopyOp_R1,
54
"Clone an object, with Object* return type. ",
55
"Must be defined by derived classes. ");
56
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
58
__bool__isSameKindAs__C5_osg_Object_P1,
61
I_Method0(const char *, libraryName,
63
__C5_char_P1__libraryName,
64
"return the name of the object's library. ",
65
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
66
I_Method0(const char *, className,
68
__C5_char_P1__className,
69
"return the name of the object's class type. ",
70
"Must be defined by derived classes. ");
71
I_MethodWithDefaults3(void, computeOccluderGeometry, IN, osg::Node *, subgraph, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f,
72
Properties::NON_VIRTUAL,
73
__void__computeOccluderGeometry__osg_Node_P1__osg_Matrix_P1__float,
74
"Compute an occluder geometry containing all the geometry in specified subgraph. ",
76
I_MethodWithDefaults3(void, computeOccluderGeometry, IN, osg::Drawable *, drawable, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f,
77
Properties::NON_VIRTUAL,
78
__void__computeOccluderGeometry__osg_Drawable_P1__osg_Matrix_P1__float,
79
"Compute an occluder geometry containing the geometry in specified drawable. ",
81
I_Method2(void, computeShadowVolumeGeometry, IN, const osg::Vec4 &, lightpos, IN, osgShadow::ShadowVolumeGeometry &, svg,
82
Properties::NON_VIRTUAL,
83
__void__computeShadowVolumeGeometry__C5_osg_Vec4_R1__ShadowVolumeGeometry_R1,
84
"Compute ShadowVolumeGeometry. ",
86
I_Method1(void, setBoundingPolytope, IN, const osg::Polytope &, polytope,
87
Properties::NON_VIRTUAL,
88
__void__setBoundingPolytope__C5_osg_Polytope_R1,
89
"Set the bounding polytope of the OccluderGeometry. ",
91
I_Method0(osg::Polytope &, getBoundingPolytope,
92
Properties::NON_VIRTUAL,
93
__osg_Polytope_R1__getBoundingPolytope,
94
"Get the bounding polytope of the OccluderGeometry. ",
96
I_Method0(const osg::Polytope &, getBoundingPolytope,
97
Properties::NON_VIRTUAL,
98
__C5_osg_Polytope_R1__getBoundingPolytope,
99
"Get the const bounding polytope of the OccluderGeometry. ",
101
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
103
__void__drawImplementation__osg_RenderInfo_R1,
104
"Render the occluder geometry. ",
106
I_Method0(osg::BoundingBox, computeBound,
108
__osg_BoundingBox__computeBound,
109
"Compute the bounding box around occluder geometry. ",
111
I_MethodWithDefaults3(void, processGeometry, IN, osg::Drawable *, drawable, , IN, osg::Matrix *, matrix, 0, IN, float, sampleRatio, 1.0f,
112
Properties::NON_VIRTUAL,
113
__void__processGeometry__osg_Drawable_P1__osg_Matrix_P1__float,
118
I_ProtectedMethod0(void, setUpInternalStructures,
119
Properties::NON_VIRTUAL,
120
Properties::NON_CONST,
121
__void__setUpInternalStructures,
124
I_ProtectedMethod0(void, removeDuplicateVertices,
125
Properties::NON_VIRTUAL,
126
Properties::NON_CONST,
127
__void__removeDuplicateVertices,
130
I_ProtectedMethod0(void, removeNullTriangles,
131
Properties::NON_VIRTUAL,
132
Properties::NON_CONST,
133
__void__removeNullTriangles,
136
I_ProtectedMethod0(void, computeNormals,
137
Properties::NON_VIRTUAL,
138
Properties::NON_CONST,
139
__void__computeNormals,
142
I_ProtectedMethod0(void, buildEdgeMaps,
143
Properties::NON_VIRTUAL,
144
Properties::NON_CONST,
145
__void__buildEdgeMaps,
148
I_ProtectedMethod2(void, computeLightDirectionSilhouetteEdges, IN, const osg::Vec3 &, lightdirection, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
149
Properties::NON_VIRTUAL,
151
__void__computeLightDirectionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
154
I_ProtectedMethod2(void, computeLightPositionSilhouetteEdges, IN, const osg::Vec3 &, lightpos, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
155
Properties::NON_VIRTUAL,
157
__void__computeLightPositionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
160
I_SimpleProperty(const osg::Polytope &, BoundingPolytope,
161
__C5_osg_Polytope_R1__getBoundingPolytope,
162
__void__setBoundingPolytope__C5_osg_Polytope_R1);
165
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgShadow::ShadowVolumeGeometry::Vec3List)
167
TYPE_NAME_ALIAS(std::vector< GLuint >, osgShadow::ShadowVolumeGeometry::UIntList)
169
BEGIN_ENUM_REFLECTOR(osgShadow::ShadowVolumeGeometry::DrawMode)
170
I_DeclaringFile("osgShadow/OccluderGeometry");
171
I_EnumLabel(osgShadow::ShadowVolumeGeometry::GEOMETRY);
172
I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_PASS);
173
I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_SIDED);
176
BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolumeGeometry)
177
I_DeclaringFile("osgShadow/OccluderGeometry");
178
I_BaseType(osg::Drawable);
179
I_Constructor0(____ShadowVolumeGeometry,
182
I_ConstructorWithDefaults2(IN, const osgShadow::ShadowVolumeGeometry &, oc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
183
____ShadowVolumeGeometry__C5_ShadowVolumeGeometry_R1__C5_osg_CopyOp_R1,
186
I_Method0(osg::Object *, cloneType,
188
__Object_P1__cloneType,
189
"Clone the type of an object, with Object* return type. ",
190
"Must be defined by derived classes. ");
191
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
193
__Object_P1__clone__C5_osg_CopyOp_R1,
194
"Clone an object, with Object* return type. ",
195
"Must be defined by derived classes. ");
196
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
198
__bool__isSameKindAs__C5_osg_Object_P1,
201
I_Method0(const char *, libraryName,
203
__C5_char_P1__libraryName,
204
"return the name of the object's library. ",
205
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
206
I_Method0(const char *, className,
208
__C5_char_P1__className,
209
"return the name of the object's class type. ",
210
"Must be defined by derived classes. ");
211
I_Method1(void, setDrawMode, IN, osgShadow::ShadowVolumeGeometry::DrawMode, mode,
212
Properties::NON_VIRTUAL,
213
__void__setDrawMode__DrawMode,
216
I_Method0(osgShadow::ShadowVolumeGeometry::DrawMode, getDrawMode,
217
Properties::NON_VIRTUAL,
218
__DrawMode__getDrawMode,
221
I_Method1(void, setVertices, IN, const osgShadow::ShadowVolumeGeometry::Vec3List &, vertices,
222
Properties::NON_VIRTUAL,
223
__void__setVertices__C5_Vec3List_R1,
226
I_Method0(osgShadow::ShadowVolumeGeometry::Vec3List &, getVertices,
227
Properties::NON_VIRTUAL,
228
__Vec3List_R1__getVertices,
231
I_Method0(const osgShadow::ShadowVolumeGeometry::Vec3List &, getVertices,
232
Properties::NON_VIRTUAL,
233
__C5_Vec3List_R1__getVertices,
236
I_Method1(void, setNormals, IN, const osgShadow::ShadowVolumeGeometry::Vec3List &, normals,
237
Properties::NON_VIRTUAL,
238
__void__setNormals__C5_Vec3List_R1,
241
I_Method0(osgShadow::ShadowVolumeGeometry::Vec3List &, getNormals,
242
Properties::NON_VIRTUAL,
243
__Vec3List_R1__getNormals,
246
I_Method0(const osgShadow::ShadowVolumeGeometry::Vec3List &, getNormals,
247
Properties::NON_VIRTUAL,
248
__C5_Vec3List_R1__getNormals,
251
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
253
__void__drawImplementation__osg_RenderInfo_R1,
254
"Render the occluder geometry. ",
256
I_Method0(osg::BoundingBox, computeBound,
258
__osg_BoundingBox__computeBound,
259
"Compute the bounding box around occluder geometry. ",
261
I_SimpleProperty(osgShadow::ShadowVolumeGeometry::DrawMode, DrawMode,
262
__DrawMode__getDrawMode,
263
__void__setDrawMode__DrawMode);
264
I_SimpleProperty(const osgShadow::ShadowVolumeGeometry::Vec3List &, Normals,
265
__C5_Vec3List_R1__getNormals,
266
__void__setNormals__C5_Vec3List_R1);
267
I_SimpleProperty(const osgShadow::ShadowVolumeGeometry::Vec3List &, Vertices,
268
__C5_Vec3List_R1__getVertices,
269
__void__setVertices__C5_Vec3List_R1);
272
STD_VECTOR_REFLECTOR(std::vector< GLuint >)