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>
14
#include <osg/Drawable>
15
#include <osg/Geometry>
17
#include <osg/NodeVisitor>
19
#include <osgAnimation/Channel>
20
#include <osgAnimation/MorphGeometry>
22
// Must undefine IN and OUT macros defined in Windows headers
30
TYPE_NAME_ALIAS(std::vector< osgAnimation::MorphGeometry::MorphTarget >, osgAnimation::MorphGeometry::MorphTargetList)
32
BEGIN_ENUM_REFLECTOR(osgAnimation::MorphGeometry::Method)
33
I_DeclaringFile("osgAnimation/MorphGeometry");
34
I_EnumLabel(osgAnimation::MorphGeometry::NORMALIZED);
35
I_EnumLabel(osgAnimation::MorphGeometry::RELATIVE);
38
BEGIN_OBJECT_REFLECTOR(osgAnimation::MorphGeometry)
39
I_DeclaringFile("osgAnimation/MorphGeometry");
40
I_BaseType(osg::Geometry);
41
I_Constructor0(____MorphGeometry,
44
I_Constructor1(IN, const osg::Geometry &, b,
45
Properties::NON_EXPLICIT,
46
____MorphGeometry__C5_osg_Geometry_R1,
49
I_ConstructorWithDefaults2(IN, const osgAnimation::MorphGeometry &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
50
____MorphGeometry__C5_MorphGeometry_R1__C5_osg_CopyOp_R1,
53
I_Method0(osg::Object *, cloneType,
55
__osg_Object_P1__cloneType,
56
"Clone the type of an object, with Object* return type. ",
57
"Must be defined by derived classes. ");
58
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
60
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
61
"Clone an object, with Object* return type. ",
62
"Must be defined by derived classes. ");
63
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
65
__bool__isSameKindAs__C5_osg_Object_P1,
68
I_Method0(const char *, libraryName,
70
__C5_char_P1__libraryName,
71
"return the name of the object's library. ",
72
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
73
I_Method0(const char *, className,
75
__C5_char_P1__className,
76
"return the name of the object's class type. ",
77
"Must be defined by derived classes. ");
78
I_Method0(void, transformSoftwareMethod,
80
__void__transformSoftwareMethod,
83
I_Method1(void, setMethod, IN, osgAnimation::MorphGeometry::Method, method,
84
Properties::NON_VIRTUAL,
85
__void__setMethod__Method,
86
"Set the morphing method. ",
88
I_Method0(osgAnimation::MorphGeometry::Method, getMethod,
89
Properties::NON_VIRTUAL,
91
"Get the morphing method. ",
93
I_Method1(void, setMorphNormals, IN, bool, morphNormals,
94
Properties::NON_VIRTUAL,
95
__void__setMorphNormals__bool,
96
"Set flag for morphing normals. ",
98
I_Method0(bool, getMorphNormals,
99
Properties::NON_VIRTUAL,
100
__bool__getMorphNormals,
101
"Get the flag for morphing normals. ",
103
I_MethodWithDefaults2(void, addMorphTarget, IN, osg::Geometry *, morphTarget, , IN, float, weight, 1.0,
105
__void__addMorphTarget__osg_Geometry_P1__float,
106
"Add a MorphTarget to the MorphGeometry. ",
107
" param morphTarget The MorphTarget to be added to the MorphGeometry. weight The weight to be added to the MorphGeometry. return true for success; false otherwise. ");
108
I_Method2(void, setWeight, IN, unsigned int, index, IN, float, morphWeight,
109
Properties::NON_VIRTUAL,
110
__void__setWeight__unsigned_int__float,
113
I_Method0(void, dirty,
114
Properties::NON_VIRTUAL,
116
"Set the MorphGeometry dirty. ",
118
I_Method0(const osgAnimation::MorphGeometry::MorphTargetList &, getMorphTargetList,
119
Properties::NON_VIRTUAL,
120
__C5_MorphTargetList_R1__getMorphTargetList,
121
"Get the list of MorphTargets. ",
123
I_Method0(osgAnimation::MorphGeometry::MorphTargetList &, getMorphTargetList,
124
Properties::NON_VIRTUAL,
125
__MorphTargetList_R1__getMorphTargetList,
126
"Get the list of MorphTargets. ",
127
"Warning if you modify this array you will have to call dirty() ");
128
I_Method1(const osgAnimation::MorphGeometry::MorphTarget &, getMorphTarget, IN, unsigned int, i,
129
Properties::NON_VIRTUAL,
130
__C5_MorphTarget_R1__getMorphTarget__unsigned_int,
131
"Return the MorphTarget at position i. ",
133
I_Method1(osgAnimation::MorphGeometry::MorphTarget &, getMorphTarget, IN, unsigned int, i,
134
Properties::NON_VIRTUAL,
135
__MorphTarget_R1__getMorphTarget__unsigned_int,
136
"Return the MorphTarget at position i. ",
138
I_SimpleProperty(osgAnimation::MorphGeometry::Method, Method,
140
__void__setMethod__Method);
141
I_SimpleProperty(bool, MorphNormals,
142
__bool__getMorphNormals,
143
__void__setMorphNormals__bool);
144
I_SimpleProperty(osgAnimation::MorphGeometry::MorphTargetList &, MorphTargetList,
145
__MorphTargetList_R1__getMorphTargetList,
149
BEGIN_VALUE_REFLECTOR(osgAnimation::MorphGeometry::MorphTarget)
150
I_DeclaringFile("osgAnimation/MorphGeometry");
151
I_ConstructorWithDefaults2(IN, osg::Geometry *, geom, , IN, float, w, 1.0,
152
____MorphTarget__osg_Geometry_P1__float,
155
I_Method1(void, setWeight, IN, float, weight,
156
Properties::NON_VIRTUAL,
157
__void__setWeight__float,
160
I_Method0(const float, getWeight,
161
Properties::NON_VIRTUAL,
162
__C5_float__getWeight,
165
I_Method0(osg::Geometry *, getGeometry,
166
Properties::NON_VIRTUAL,
167
__osg_Geometry_P1__getGeometry,
170
I_Method0(const osg::Geometry *, getGeometry,
171
Properties::NON_VIRTUAL,
172
__C5_osg_Geometry_P1__getGeometry,
175
I_Method1(void, setGeometry, IN, osg::Geometry *, geom,
176
Properties::NON_VIRTUAL,
177
__void__setGeometry__osg_Geometry_P1,
180
I_SimpleProperty(osg::Geometry *, Geometry,
181
__osg_Geometry_P1__getGeometry,
182
__void__setGeometry__osg_Geometry_P1);
183
I_SimpleProperty(float, Weight,
185
__void__setWeight__float);
188
BEGIN_OBJECT_REFLECTOR(osgAnimation::MorphGeometry::UpdateVertex)
189
I_DeclaringFile("osgAnimation/MorphGeometry");
190
I_BaseType(osg::Drawable::UpdateCallback);
191
I_Constructor0(____UpdateVertex,
194
I_Method2(void, update, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, drw,
196
__void__update__osg_NodeVisitor_P1__osg_Drawable_P1,
197
"do customized update code. ",
201
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMorph)
202
I_DeclaringFile("osgAnimation/MorphGeometry");
203
I_BaseType(osgAnimation::AnimationUpdateCallback);
204
I_Method0(osg::Object *, cloneType,
206
__osg_Object_P1__cloneType,
209
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
211
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
214
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
216
__bool__isSameKindAs__C5_osg_Object_P1,
219
I_Method0(const char *, libraryName,
221
__C5_char_P1__libraryName,
224
I_Method0(const char *, className,
226
__C5_char_P1__className,
229
I_ConstructorWithDefaults1(IN, const std::string &, name, "",
230
Properties::NON_EXPLICIT,
231
____UpdateMorph__C5_std_string_R1,
234
I_Constructor2(IN, const osgAnimation::UpdateMorph &, apc, IN, const osg::CopyOp &, copyop,
235
____UpdateMorph__C5_UpdateMorph_R1__C5_osg_CopyOp_R1,
238
I_Method0(bool, needLink,
239
Properties::NON_VIRTUAL,
243
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
244
Properties::NON_VIRTUAL,
245
__bool__link__osgAnimation_Channel_P1,
250
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::MorphGeometry::MorphTarget >)