| 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/Channel> |
|---|
| 14 | #include <osgAnimation/Sampler> |
|---|
| 15 | #include <osgAnimation/Target> |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifdef IN |
|---|
| 19 | #undef IN |
|---|
| 20 | #endif |
|---|
| 21 | #ifdef OUT |
|---|
| 22 | #undef OUT |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Channel) |
|---|
| 26 | I_DeclaringFile("osgAnimation/Channel"); |
|---|
| 27 | I_BaseType(osg::Referenced); |
|---|
| 28 | I_Constructor0(____Channel, |
|---|
| 29 | "", |
|---|
| 30 | ""); |
|---|
| 31 | I_Method1(void, update, IN, float, time, |
|---|
| 32 | Properties::PURE_VIRTUAL, |
|---|
| 33 | __void__update__float, |
|---|
| 34 | "", |
|---|
| 35 | ""); |
|---|
| 36 | I_Method0(void, reset, |
|---|
| 37 | Properties::PURE_VIRTUAL, |
|---|
| 38 | __void__reset, |
|---|
| 39 | "", |
|---|
| 40 | ""); |
|---|
| 41 | I_Method0(osgAnimation::Target *, getTarget, |
|---|
| 42 | Properties::PURE_VIRTUAL, |
|---|
| 43 | __Target_P1__getTarget, |
|---|
| 44 | "", |
|---|
| 45 | ""); |
|---|
| 46 | I_Method0(const std::string &, getName, |
|---|
| 47 | Properties::NON_VIRTUAL, |
|---|
| 48 | __C5_std_string_R1__getName, |
|---|
| 49 | "", |
|---|
| 50 | ""); |
|---|
| 51 | I_Method1(void, setName, IN, const std::string &, name, |
|---|
| 52 | Properties::NON_VIRTUAL, |
|---|
| 53 | __void__setName__C5_std_string_R1, |
|---|
| 54 | "", |
|---|
| 55 | ""); |
|---|
| 56 | I_Method0(float, getStartTime, |
|---|
| 57 | Properties::PURE_VIRTUAL, |
|---|
| 58 | __float__getStartTime, |
|---|
| 59 | "", |
|---|
| 60 | ""); |
|---|
| 61 | I_Method0(float, getEndTime, |
|---|
| 62 | Properties::PURE_VIRTUAL, |
|---|
| 63 | __float__getEndTime, |
|---|
| 64 | "", |
|---|
| 65 | ""); |
|---|
| 66 | I_Method0(const std::string &, getTargetName, |
|---|
| 67 | Properties::NON_VIRTUAL, |
|---|
| 68 | __C5_std_string_R1__getTargetName, |
|---|
| 69 | "", |
|---|
| 70 | ""); |
|---|
| 71 | I_Method1(void, setTargetName, IN, const std::string &, name, |
|---|
| 72 | Properties::NON_VIRTUAL, |
|---|
| 73 | __void__setTargetName__C5_std_string_R1, |
|---|
| 74 | "", |
|---|
| 75 | ""); |
|---|
| 76 | I_Method0(float, getWeight, |
|---|
| 77 | Properties::NON_VIRTUAL, |
|---|
| 78 | __float__getWeight, |
|---|
| 79 | "", |
|---|
| 80 | ""); |
|---|
| 81 | I_Method1(void, setWeight, IN, float, w, |
|---|
| 82 | Properties::NON_VIRTUAL, |
|---|
| 83 | __void__setWeight__float, |
|---|
| 84 | "", |
|---|
| 85 | ""); |
|---|
| 86 | I_Method0(osgAnimation::Sampler *, getSampler, |
|---|
| 87 | Properties::PURE_VIRTUAL, |
|---|
| 88 | __Sampler_P1__getSampler, |
|---|
| 89 | "", |
|---|
| 90 | ""); |
|---|
| 91 | I_Method0(const osgAnimation::Sampler *, getSampler, |
|---|
| 92 | Properties::PURE_VIRTUAL, |
|---|
| 93 | __C5_Sampler_P1__getSampler, |
|---|
| 94 | "", |
|---|
| 95 | ""); |
|---|
| 96 | I_SimpleProperty(float, EndTime, |
|---|
| 97 | __float__getEndTime, |
|---|
| 98 | 0); |
|---|
| 99 | I_SimpleProperty(const std::string &, Name, |
|---|
| 100 | __C5_std_string_R1__getName, |
|---|
| 101 | __void__setName__C5_std_string_R1); |
|---|
| 102 | I_SimpleProperty(osgAnimation::Sampler *, Sampler, |
|---|
| 103 | __Sampler_P1__getSampler, |
|---|
| 104 | 0); |
|---|
| 105 | I_SimpleProperty(float, StartTime, |
|---|
| 106 | __float__getStartTime, |
|---|
| 107 | 0); |
|---|
| 108 | I_SimpleProperty(osgAnimation::Target *, Target, |
|---|
| 109 | __Target_P1__getTarget, |
|---|
| 110 | 0); |
|---|
| 111 | I_SimpleProperty(const std::string &, TargetName, |
|---|
| 112 | __C5_std_string_R1__getTargetName, |
|---|
| 113 | __void__setTargetName__C5_std_string_R1); |
|---|
| 114 | I_SimpleProperty(float, Weight, |
|---|
| 115 | __float__getWeight, |
|---|
| 116 | __void__setWeight__float); |
|---|
| 117 | END_REFLECTOR |
|---|
| 118 | |
|---|
| 119 | TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Channel > >, osgAnimation::ChannelList) |
|---|
| 120 | |
|---|
| 121 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleLinearSampler >, osgAnimation::DoubleLinearChannel) |
|---|
| 122 | |
|---|
| 123 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatLinearSampler >, osgAnimation::FloatLinearChannel) |
|---|
| 124 | |
|---|
| 125 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2LinearSampler >, osgAnimation::Vec2LinearChannel) |
|---|
| 126 | |
|---|
| 127 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3LinearSampler >, osgAnimation::Vec3LinearChannel) |
|---|
| 128 | |
|---|
| 129 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4LinearSampler >, osgAnimation::Vec4LinearChannel) |
|---|
| 130 | |
|---|
| 131 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::QuatSphericalLinearSampler >, osgAnimation::QuatSphericalLinearChannel) |
|---|
| 132 | |
|---|
| 133 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatCubicBezierSampler >, osgAnimation::FloatCubicBezierChannel) |
|---|
| 134 | |
|---|
| 135 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleCubicBezierSampler >, osgAnimation::DoubleCubicBezierChannel) |
|---|
| 136 | |
|---|
| 137 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2CubicBezierSampler >, osgAnimation::Vec2CubicBezierChannel) |
|---|
| 138 | |
|---|
| 139 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3CubicBezierSampler >, osgAnimation::Vec3CubicBezierChannel) |
|---|
| 140 | |
|---|
| 141 | TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4CubicBezierSampler >, osgAnimation::Vec4CubicBezierChannel) |
|---|
| 142 | |
|---|
| 143 | BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Channel >) |
|---|
| 144 | I_DeclaringFile("osg/ref_ptr"); |
|---|
| 145 | I_Constructor0(____ref_ptr, |
|---|
| 146 | "", |
|---|
| 147 | ""); |
|---|
| 148 | I_Constructor1(IN, osgAnimation::Channel *, ptr, |
|---|
| 149 | Properties::NON_EXPLICIT, |
|---|
| 150 | ____ref_ptr__T_P1, |
|---|
| 151 | "", |
|---|
| 152 | ""); |
|---|
| 153 | I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Channel > &, rp, |
|---|
| 154 | Properties::NON_EXPLICIT, |
|---|
| 155 | ____ref_ptr__C5_ref_ptr_R1, |
|---|
| 156 | "", |
|---|
| 157 | ""); |
|---|
| 158 | I_Method0(osgAnimation::Channel *, get, |
|---|
| 159 | Properties::NON_VIRTUAL, |
|---|
| 160 | __T_P1__get, |
|---|
| 161 | "", |
|---|
| 162 | ""); |
|---|
| 163 | I_Method0(bool, valid, |
|---|
| 164 | Properties::NON_VIRTUAL, |
|---|
| 165 | __bool__valid, |
|---|
| 166 | "", |
|---|
| 167 | ""); |
|---|
| 168 | I_Method0(osgAnimation::Channel *, release, |
|---|
| 169 | Properties::NON_VIRTUAL, |
|---|
| 170 | __T_P1__release, |
|---|
| 171 | "", |
|---|
| 172 | ""); |
|---|
| 173 | I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Channel > &, rp, |
|---|
| 174 | Properties::NON_VIRTUAL, |
|---|
| 175 | __void__swap__ref_ptr_R1, |
|---|
| 176 | "", |
|---|
| 177 | ""); |
|---|
| 178 | I_SimpleProperty(osgAnimation::Channel *, , |
|---|
| 179 | __T_P1__get, |
|---|
| 180 | 0); |
|---|
| 181 | END_REFLECTOR |
|---|
| 182 | |
|---|
| 183 | STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Channel > >) |
|---|