| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osgAnimation/CubicBezier> |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | #ifdef IN |
|---|
| 17 | #undef IN |
|---|
| 18 | #endif |
|---|
| 19 | #ifdef OUT |
|---|
| 20 | #undef OUT |
|---|
| 21 | #endif |
|---|
| 22 | |
|---|
| 23 | TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< float >, osgAnimation::FloatCubicBezier) |
|---|
| 24 | |
|---|
| 25 | TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< double >, osgAnimation::DoubleCubicBezier) |
|---|
| 26 | |
|---|
| 27 | TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec2 >, osgAnimation::Vec2CubicBezier) |
|---|
| 28 | |
|---|
| 29 | TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec3 >, osgAnimation::Vec3CubicBezier) |
|---|
| 30 | |
|---|
| 31 | TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec4 >, osgAnimation::Vec4CubicBezier) |
|---|
| 32 | |
|---|
| 33 | BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< double >) |
|---|
| 34 | I_DeclaringFile("osgAnimation/CubicBezier"); |
|---|
| 35 | I_Method0(const T &, getP0, |
|---|
| 36 | Properties::NON_VIRTUAL, |
|---|
| 37 | __C5_T_R1__getP0, |
|---|
| 38 | "", |
|---|
| 39 | ""); |
|---|
| 40 | I_Method0(const T &, getP1, |
|---|
| 41 | Properties::NON_VIRTUAL, |
|---|
| 42 | __C5_T_R1__getP1, |
|---|
| 43 | "", |
|---|
| 44 | ""); |
|---|
| 45 | I_Method0(const T &, getP2, |
|---|
| 46 | Properties::NON_VIRTUAL, |
|---|
| 47 | __C5_T_R1__getP2, |
|---|
| 48 | "", |
|---|
| 49 | ""); |
|---|
| 50 | I_Constructor3(IN, const T &, v0, IN, const T &, v1, IN, const T &, v2, |
|---|
| 51 | ____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1, |
|---|
| 52 | "", |
|---|
| 53 | ""); |
|---|
| 54 | I_Constructor0(____TemplateCubicBezier, |
|---|
| 55 | "", |
|---|
| 56 | ""); |
|---|
| 57 | I_Method0(const T &, getPosition, |
|---|
| 58 | Properties::NON_VIRTUAL, |
|---|
| 59 | __C5_T_R1__getPosition, |
|---|
| 60 | "", |
|---|
| 61 | ""); |
|---|
| 62 | I_Method0(const T &, getTangentPoint1, |
|---|
| 63 | Properties::NON_VIRTUAL, |
|---|
| 64 | __C5_T_R1__getTangentPoint1, |
|---|
| 65 | "", |
|---|
| 66 | ""); |
|---|
| 67 | I_Method0(const T &, getTangentPoint2, |
|---|
| 68 | Properties::NON_VIRTUAL, |
|---|
| 69 | __C5_T_R1__getTangentPoint2, |
|---|
| 70 | "", |
|---|
| 71 | ""); |
|---|
| 72 | I_SimpleProperty(const T &, P0, |
|---|
| 73 | __C5_T_R1__getP0, |
|---|
| 74 | 0); |
|---|
| 75 | I_SimpleProperty(const T &, P1, |
|---|
| 76 | __C5_T_R1__getP1, |
|---|
| 77 | 0); |
|---|
| 78 | I_SimpleProperty(const T &, P2, |
|---|
| 79 | __C5_T_R1__getP2, |
|---|
| 80 | 0); |
|---|
| 81 | I_SimpleProperty(const T &, Position, |
|---|
| 82 | __C5_T_R1__getPosition, |
|---|
| 83 | 0); |
|---|
| 84 | I_SimpleProperty(const T &, TangentPoint1, |
|---|
| 85 | __C5_T_R1__getTangentPoint1, |
|---|
| 86 | 0); |
|---|
| 87 | I_SimpleProperty(const T &, TangentPoint2, |
|---|
| 88 | __C5_T_R1__getTangentPoint2, |
|---|
| 89 | 0); |
|---|
| 90 | END_REFLECTOR |
|---|
| 91 | |
|---|
| 92 | BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< float >) |
|---|
| 93 | I_DeclaringFile("osgAnimation/CubicBezier"); |
|---|
| 94 | I_Method0(const T &, getP0, |
|---|
| 95 | Properties::NON_VIRTUAL, |
|---|
| 96 | __C5_T_R1__getP0, |
|---|
| 97 | "", |
|---|
| 98 | ""); |
|---|
| 99 | I_Method0(const T &, getP1, |
|---|
| 100 | Properties::NON_VIRTUAL, |
|---|
| 101 | __C5_T_R1__getP1, |
|---|
| 102 | "", |
|---|
| 103 | ""); |
|---|
| 104 | I_Method0(const T &, getP2, |
|---|
| 105 | Properties::NON_VIRTUAL, |
|---|
| 106 | __C5_T_R1__getP2, |
|---|
| 107 | "", |
|---|
| 108 | ""); |
|---|
| 109 | I_Constructor3(IN, const T &, v0, IN, const T &, v1, IN, const T &, v2, |
|---|
| 110 | ____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1, |
|---|
| 111 | "", |
|---|
| 112 | ""); |
|---|
| 113 | I_Constructor0(____TemplateCubicBezier, |
|---|
| 114 | "", |
|---|
| 115 | ""); |
|---|
| 116 | I_Method0(const T &, getPosition, |
|---|
| 117 | Properties::NON_VIRTUAL, |
|---|
| 118 | __C5_T_R1__getPosition, |
|---|
| 119 | "", |
|---|
| 120 | ""); |
|---|
| 121 | I_Method0(const T &, getTangentPoint1, |
|---|
| 122 | Properties::NON_VIRTUAL, |
|---|
| 123 | __C5_T_R1__getTangentPoint1, |
|---|
| 124 | "", |
|---|
| 125 | ""); |
|---|
| 126 | I_Method0(const T &, getTangentPoint2, |
|---|
| 127 | Properties::NON_VIRTUAL, |
|---|
| 128 | __C5_T_R1__getTangentPoint2, |
|---|
| 129 | "", |
|---|
| 130 | ""); |
|---|
| 131 | I_SimpleProperty(const T &, P0, |
|---|
| 132 | __C5_T_R1__getP0, |
|---|
| 133 | 0); |
|---|
| 134 | I_SimpleProperty(const T &, P1, |
|---|
| 135 | __C5_T_R1__getP1, |
|---|
| 136 | 0); |
|---|
| 137 | I_SimpleProperty(const T &, P2, |
|---|
| 138 | __C5_T_R1__getP2, |
|---|
| 139 | 0); |
|---|
| 140 | I_SimpleProperty(const T &, Position, |
|---|
| 141 | __C5_T_R1__getPosition, |
|---|
| 142 | 0); |
|---|
| 143 | I_SimpleProperty(const T &, TangentPoint1, |
|---|
| 144 | __C5_T_R1__getTangentPoint1, |
|---|
| 145 | 0); |
|---|
| 146 | I_SimpleProperty(const T &, TangentPoint2, |
|---|
| 147 | __C5_T_R1__getTangentPoint2, |
|---|
| 148 | 0); |
|---|
| 149 | END_REFLECTOR |
|---|
| 150 | |
|---|
| 151 | BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec2 >) |
|---|
| 152 | I_DeclaringFile("osgAnimation/CubicBezier"); |
|---|
| 153 | I_Method0(const T &, getP0, |
|---|
| 154 | Properties::NON_VIRTUAL, |
|---|
| 155 | __C5_T_R1__getP0, |
|---|
| 156 | "", |
|---|
| 157 | ""); |
|---|
| 158 | I_Method0(const T &, getP1, |
|---|
| 159 | Properties::NON_VIRTUAL, |
|---|
| 160 | __C5_T_R1__getP1, |
|---|
| 161 | "", |
|---|
| 162 | ""); |
|---|
| 163 | I_Method0(const T &, getP2, |
|---|
| 164 | Properties::NON_VIRTUAL, |
|---|
| 165 | __C5_T_R1__getP2, |
|---|
| 166 | "", |
|---|
| 167 | ""); |
|---|
| 168 | I_Constructor3(IN, const T &, v0, IN, const T &, v1, IN, const T &, v2, |
|---|
| 169 | ____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1, |
|---|
| 170 | "", |
|---|
| 171 | ""); |
|---|
| 172 | I_Constructor0(____TemplateCubicBezier, |
|---|
| 173 | "", |
|---|
| 174 | ""); |
|---|
| 175 | I_Method0(const T &, getPosition, |
|---|
| 176 | Properties::NON_VIRTUAL, |
|---|
| 177 | __C5_T_R1__getPosition, |
|---|
| 178 | "", |
|---|
| 179 | ""); |
|---|
| 180 | I_Method0(const T &, getTangentPoint1, |
|---|
| 181 | Properties::NON_VIRTUAL, |
|---|
| 182 | __C5_T_R1__getTangentPoint1, |
|---|
| 183 | "", |
|---|
| 184 | ""); |
|---|
| 185 | I_Method0(const T &, getTangentPoint2, |
|---|
| 186 | Properties::NON_VIRTUAL, |
|---|
| 187 | __C5_T_R1__getTangentPoint2, |
|---|
| 188 | "", |
|---|
| 189 | ""); |
|---|
| 190 | I_SimpleProperty(const T &, P0, |
|---|
| 191 | __C5_T_R1__getP0, |
|---|
| 192 | 0); |
|---|
| 193 | I_SimpleProperty(const T &, P1, |
|---|
| 194 | __C5_T_R1__getP1, |
|---|
| 195 | 0); |
|---|
| 196 | I_SimpleProperty(const T &, P2, |
|---|
| 197 | __C5_T_R1__getP2, |
|---|
| 198 | 0); |
|---|
| 199 | I_SimpleProperty(const T &, Position, |
|---|
| 200 | __C5_T_R1__getPosition, |
|---|
| 201 | 0); |
|---|
| 202 | I_SimpleProperty(const T &, TangentPoint1, |
|---|
| 203 | __C5_T_R1__getTangentPoint1, |
|---|
| 204 | 0); |
|---|
| 205 | I_SimpleProperty(const T &, TangentPoint2, |
|---|
| 206 | __C5_T_R1__getTangentPoint2, |
|---|
| 207 | 0); |
|---|
| 208 | END_REFLECTOR |
|---|
| 209 | |
|---|
| 210 | BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec3 >) |
|---|
| 211 | I_DeclaringFile("osgAnimation/CubicBezier"); |
|---|
| 212 | I_Method0(const T &, getP0, |
|---|
| 213 | Properties::NON_VIRTUAL, |
|---|
| 214 | __C5_T_R1__getP0, |
|---|
| 215 | "", |
|---|
| 216 | ""); |
|---|
| 217 | I_Method0(const T &, getP1, |
|---|
| 218 | Properties::NON_VIRTUAL, |
|---|
| 219 | __C5_T_R1__getP1, |
|---|
| 220 | "", |
|---|
| 221 | ""); |
|---|
| 222 | I_Method0(const T &, getP2, |
|---|
| 223 | Properties::NON_VIRTUAL, |
|---|
| 224 | __C5_T_R1__getP2, |
|---|
| 225 | "", |
|---|
| 226 | ""); |
|---|
| 227 | I_Constructor3(IN, const T &, v0, IN, const T &, v1, IN, const T &, v2, |
|---|
| 228 | ____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1, |
|---|
| 229 | "", |
|---|
| 230 | ""); |
|---|
| 231 | I_Constructor0(____TemplateCubicBezier, |
|---|
| 232 | "", |
|---|
| 233 | ""); |
|---|
| 234 | I_Method0(const T &, getPosition, |
|---|
| 235 | Properties::NON_VIRTUAL, |
|---|
| 236 | __C5_T_R1__getPosition, |
|---|
| 237 | "", |
|---|
| 238 | ""); |
|---|
| 239 | I_Method0(const T &, getTangentPoint1, |
|---|
| 240 | Properties::NON_VIRTUAL, |
|---|
| 241 | __C5_T_R1__getTangentPoint1, |
|---|
| 242 | "", |
|---|
| 243 | ""); |
|---|
| 244 | I_Method0(const T &, getTangentPoint2, |
|---|
| 245 | Properties::NON_VIRTUAL, |
|---|
| 246 | __C5_T_R1__getTangentPoint2, |
|---|
| 247 | "", |
|---|
| 248 | ""); |
|---|
| 249 | I_SimpleProperty(const T &, P0, |
|---|
| 250 | __C5_T_R1__getP0, |
|---|
| 251 | 0); |
|---|
| 252 | I_SimpleProperty(const T &, P1, |
|---|
| 253 | __C5_T_R1__getP1, |
|---|
| 254 | 0); |
|---|
| 255 | I_SimpleProperty(const T &, P2, |
|---|
| 256 | __C5_T_R1__getP2, |
|---|
| 257 | 0); |
|---|
| 258 | I_SimpleProperty(const T &, Position, |
|---|
| 259 | __C5_T_R1__getPosition, |
|---|
| 260 | 0); |
|---|
| 261 | I_SimpleProperty(const T &, TangentPoint1, |
|---|
| 262 | __C5_T_R1__getTangentPoint1, |
|---|
| 263 | 0); |
|---|
| 264 | I_SimpleProperty(const T &, TangentPoint2, |
|---|
| 265 | __C5_T_R1__getTangentPoint2, |
|---|
| 266 | 0); |
|---|
| 267 | END_REFLECTOR |
|---|
| 268 | |
|---|
| 269 | BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec4 >) |
|---|
| 270 | I_DeclaringFile("osgAnimation/CubicBezier"); |
|---|
| 271 | I_Method0(const T &, getP0, |
|---|
| 272 | Properties::NON_VIRTUAL, |
|---|
| 273 | __C5_T_R1__getP0, |
|---|
| 274 | "", |
|---|
| 275 | ""); |
|---|
| 276 | I_Method0(const T &, getP1, |
|---|
| 277 | Properties::NON_VIRTUAL, |
|---|
| 278 | __C5_T_R1__getP1, |
|---|
| 279 | "", |
|---|
| 280 | ""); |
|---|
| 281 | I_Method0(const T &, getP2, |
|---|
| 282 | Properties::NON_VIRTUAL, |
|---|
| 283 | __C5_T_R1__getP2, |
|---|
| 284 | "", |
|---|
| 285 | ""); |
|---|
| 286 | I_Constructor3(IN, const T &, v0, IN, const T &, v1, IN, const T &, v2, |
|---|
| 287 | ____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1, |
|---|
| 288 | "", |
|---|
| 289 | ""); |
|---|
| 290 | I_Constructor0(____TemplateCubicBezier, |
|---|
| 291 | "", |
|---|
| 292 | ""); |
|---|
| 293 | I_Method0(const T &, getPosition, |
|---|
| 294 | Properties::NON_VIRTUAL, |
|---|
| 295 | __C5_T_R1__getPosition, |
|---|
| 296 | "", |
|---|
| 297 | ""); |
|---|
| 298 | I_Method0(const T &, getTangentPoint1, |
|---|
| 299 | Properties::NON_VIRTUAL, |
|---|
| 300 | __C5_T_R1__getTangentPoint1, |
|---|
| 301 | "", |
|---|
| 302 | ""); |
|---|
| 303 | I_Method0(const T &, getTangentPoint2, |
|---|
| 304 | Properties::NON_VIRTUAL, |
|---|
| 305 | __C5_T_R1__getTangentPoint2, |
|---|
| 306 | "", |
|---|
| 307 | ""); |
|---|
| 308 | I_SimpleProperty(const T &, P0, |
|---|
| 309 | __C5_T_R1__getP0, |
|---|
| 310 | 0); |
|---|
| 311 | I_SimpleProperty(const T &, P1, |
|---|
| 312 | __C5_T_R1__getP1, |
|---|
| 313 | 0); |
|---|
| 314 | I_SimpleProperty(const T &, P2, |
|---|
| 315 | __C5_T_R1__getP2, |
|---|
| 316 | 0); |
|---|
| 317 | I_SimpleProperty(const T &, Position, |
|---|
| 318 | __C5_T_R1__getPosition, |
|---|
| 319 | 0); |
|---|
| 320 | I_SimpleProperty(const T &, TangentPoint1, |
|---|
| 321 | __C5_T_R1__getTangentPoint1, |
|---|
| 322 | 0); |
|---|
| 323 | I_SimpleProperty(const T &, TangentPoint2, |
|---|
| 324 | __C5_T_R1__getTangentPoint2, |
|---|
| 325 | 0); |
|---|
| 326 | END_REFLECTOR |
|---|