/OpenSceneGraph/src/osgWrappers/osgParticle/ParticleProcessor.cpp

https://github.com/rpavlik/openscenegraph-oldstable-ubuntu · C++ · 249 lines · 236 code · 6 blank · 7 comment · 0 complexity · d4e39da3e44141d0e8718c9d6249127d MD5 · raw file

  1. // ***************************************************************************
  2. //
  3. // Generated automatically by genwrapper.
  4. // Please DO NOT EDIT this file!
  5. //
  6. // ***************************************************************************
  7. #include <osgIntrospection/ReflectionMacros>
  8. #include <osgIntrospection/TypedMethodInfo>
  9. #include <osgIntrospection/StaticMethodInfo>
  10. #include <osgIntrospection/Attributes>
  11. #include <osg/BoundingSphere>
  12. #include <osg/CopyOp>
  13. #include <osg/Matrix>
  14. #include <osg/NodeVisitor>
  15. #include <osg/Object>
  16. #include <osg/Vec3>
  17. #include <osgParticle/ParticleProcessor>
  18. #include <osgParticle/ParticleSystem>
  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. BEGIN_ENUM_REFLECTOR(osgParticle::ParticleProcessor::ReferenceFrame)
  27. I_DeclaringFile("osgParticle/ParticleProcessor");
  28. I_EnumLabel(osgParticle::ParticleProcessor::RELATIVE_RF);
  29. I_EnumLabel(osgParticle::ParticleProcessor::ABSOLUTE_RF);
  30. END_REFLECTOR
  31. BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
  32. I_DeclaringFile("osgParticle/ParticleProcessor");
  33. I_BaseType(osg::Node);
  34. I_Constructor0(____ParticleProcessor,
  35. "",
  36. "");
  37. I_ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
  38. ____ParticleProcessor__C5_ParticleProcessor_R1__C5_osg_CopyOp_R1,
  39. "",
  40. "");
  41. I_Method0(const char *, libraryName,
  42. Properties::VIRTUAL,
  43. __C5_char_P1__libraryName,
  44. "return the name of the node's library. ",
  45. "");
  46. I_Method0(const char *, className,
  47. Properties::VIRTUAL,
  48. __C5_char_P1__className,
  49. "return the name of the node's class type. ",
  50. "");
  51. I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
  52. Properties::VIRTUAL,
  53. __bool__isSameKindAs__C5_osg_Object_P1,
  54. "return true if this and obj are of the same kind of object. ",
  55. "");
  56. I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
  57. Properties::VIRTUAL,
  58. __void__accept__osg_NodeVisitor_R1,
  59. "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
  60. "");
  61. I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame,
  62. Properties::NON_VIRTUAL,
  63. __ReferenceFrame__getReferenceFrame,
  64. "Get the reference frame. ",
  65. "");
  66. I_Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf,
  67. Properties::NON_VIRTUAL,
  68. __void__setReferenceFrame__ReferenceFrame,
  69. "Set the reference frame. ",
  70. "");
  71. I_Method0(bool, isEnabled,
  72. Properties::NON_VIRTUAL,
  73. __bool__isEnabled,
  74. "Get whether this processor is enabled or not. ",
  75. "");
  76. I_Method1(void, setEnabled, IN, bool, v,
  77. Properties::NON_VIRTUAL,
  78. __void__setEnabled__bool,
  79. "Set whether this processor is enabled or not. ",
  80. "");
  81. I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
  82. Properties::NON_VIRTUAL,
  83. __ParticleSystem_P1__getParticleSystem,
  84. "Get a pointer to the destination particle system. ",
  85. "");
  86. I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
  87. Properties::NON_VIRTUAL,
  88. __C5_ParticleSystem_P1__getParticleSystem,
  89. "Get a const pointer to the destination particle system. ",
  90. "");
  91. I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
  92. Properties::NON_VIRTUAL,
  93. __void__setParticleSystem__ParticleSystem_P1,
  94. "Set the destination particle system. ",
  95. "");
  96. I_Method1(void, setEndless, IN, bool, type,
  97. Properties::NON_VIRTUAL,
  98. __void__setEndless__bool,
  99. "Set the endless flag of this processor. ",
  100. "");
  101. I_Method0(bool, isEndless,
  102. Properties::NON_VIRTUAL,
  103. __bool__isEndless,
  104. "Check whether this processor is endless. ",
  105. "");
  106. I_Method1(void, setLifeTime, IN, double, t,
  107. Properties::NON_VIRTUAL,
  108. __void__setLifeTime__double,
  109. "Set the lifetime of this processor. ",
  110. "");
  111. I_Method0(double, getLifeTime,
  112. Properties::NON_VIRTUAL,
  113. __double__getLifeTime,
  114. "Get the lifetime of this processor. ",
  115. "");
  116. I_Method1(void, setStartTime, IN, double, t,
  117. Properties::NON_VIRTUAL,
  118. __void__setStartTime__double,
  119. "Set the start time of this processor. ",
  120. "");
  121. I_Method0(double, getStartTime,
  122. Properties::NON_VIRTUAL,
  123. __double__getStartTime,
  124. "Get the start time of this processor. ",
  125. "");
  126. I_Method1(void, setCurrentTime, IN, double, t,
  127. Properties::NON_VIRTUAL,
  128. __void__setCurrentTime__double,
  129. "Set the current time of this processor. ",
  130. "");
  131. I_Method0(double, getCurrentTime,
  132. Properties::NON_VIRTUAL,
  133. __double__getCurrentTime,
  134. "Get the current time of this processor. ",
  135. "");
  136. I_Method1(void, setResetTime, IN, double, t,
  137. Properties::NON_VIRTUAL,
  138. __void__setResetTime__double,
  139. "Set the reset time of this processor. A value of 0 disables reset. ",
  140. "");
  141. I_Method0(double, getResetTime,
  142. Properties::NON_VIRTUAL,
  143. __double__getResetTime,
  144. "Get the reset time of this processor. ",
  145. "");
  146. I_Method0(bool, isAlive,
  147. Properties::NON_VIRTUAL,
  148. __bool__isAlive,
  149. "Check whether the processor is alive with respect to start time and life duration. ",
  150. "Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()). ");
  151. I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
  152. Properties::VIRTUAL,
  153. __void__traverse__osg_NodeVisitor_R1,
  154. "Traverse downwards : calls children's accept method with NodeVisitor. ",
  155. "");
  156. I_Method0(const osg::Matrix &, getLocalToWorldMatrix,
  157. Properties::NON_VIRTUAL,
  158. __C5_osg_Matrix_R1__getLocalToWorldMatrix,
  159. "Get the current local-to-world transformation matrix (valid only during cull traversal). ",
  160. "");
  161. I_Method0(const osg::Matrix &, getWorldToLocalMatrix,
  162. Properties::NON_VIRTUAL,
  163. __C5_osg_Matrix_R1__getWorldToLocalMatrix,
  164. "Get the current world-to-local transformation matrix (valid only during cull traversal). ",
  165. "");
  166. I_Method0(const osg::Matrix &, getPreviousLocalToWorldMatrix,
  167. Properties::NON_VIRTUAL,
  168. __C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
  169. "Get the previous local-to-world transformation matrix (valid only during cull traversal). ",
  170. "");
  171. I_Method0(const osg::Matrix &, getPreviousWorldToLocalMatrix,
  172. Properties::NON_VIRTUAL,
  173. __C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
  174. "Get the previous world-to-local transformation matrix (valid only during cull traversal). ",
  175. "");
  176. I_Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P,
  177. Properties::NON_VIRTUAL,
  178. __osg_Vec3__transformLocalToWorld__C5_osg_Vec3_R1,
  179. "Transform a point from local to world coordinates (valid only during cull traversal). ",
  180. "");
  181. I_Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P,
  182. Properties::NON_VIRTUAL,
  183. __osg_Vec3__rotateLocalToWorld__C5_osg_Vec3_R1,
  184. "Transform a vector from local to world coordinates, discarding translation (valid only during cull traversal). ",
  185. "");
  186. I_Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P,
  187. Properties::NON_VIRTUAL,
  188. __osg_Vec3__transformWorldToLocal__C5_osg_Vec3_R1,
  189. "Transform a point from world to local coordinates (valid only during cull traversal). ",
  190. "");
  191. I_Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P,
  192. Properties::NON_VIRTUAL,
  193. __osg_Vec3__rotateWorldToLocal__C5_osg_Vec3_R1,
  194. "Transform a vector from world to local coordinates, discarding translation (valid only during cull traversal). ",
  195. "");
  196. I_Method0(osg::BoundingSphere, computeBound,
  197. Properties::VIRTUAL,
  198. __osg_BoundingSphere__computeBound,
  199. "Compute the bounding sphere around Node's geometry or children. ",
  200. "This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
  201. I_ProtectedMethod1(void, process, IN, double, dt,
  202. Properties::PURE_VIRTUAL,
  203. Properties::NON_CONST,
  204. __void__process__double,
  205. "",
  206. "");
  207. I_SimpleProperty(double, CurrentTime,
  208. __double__getCurrentTime,
  209. __void__setCurrentTime__double);
  210. I_SimpleProperty(bool, Enabled,
  211. 0,
  212. __void__setEnabled__bool);
  213. I_SimpleProperty(bool, Endless,
  214. 0,
  215. __void__setEndless__bool);
  216. I_SimpleProperty(double, LifeTime,
  217. __double__getLifeTime,
  218. __void__setLifeTime__double);
  219. I_SimpleProperty(const osg::Matrix &, LocalToWorldMatrix,
  220. __C5_osg_Matrix_R1__getLocalToWorldMatrix,
  221. 0);
  222. I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem,
  223. __ParticleSystem_P1__getParticleSystem,
  224. __void__setParticleSystem__ParticleSystem_P1);
  225. I_SimpleProperty(const osg::Matrix &, PreviousLocalToWorldMatrix,
  226. __C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
  227. 0);
  228. I_SimpleProperty(const osg::Matrix &, PreviousWorldToLocalMatrix,
  229. __C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
  230. 0);
  231. I_SimpleProperty(osgParticle::ParticleProcessor::ReferenceFrame, ReferenceFrame,
  232. __ReferenceFrame__getReferenceFrame,
  233. __void__setReferenceFrame__ReferenceFrame);
  234. I_SimpleProperty(double, ResetTime,
  235. __double__getResetTime,
  236. __void__setResetTime__double);
  237. I_SimpleProperty(double, StartTime,
  238. __double__getStartTime,
  239. __void__setStartTime__double);
  240. I_SimpleProperty(const osg::Matrix &, WorldToLocalMatrix,
  241. __C5_osg_Matrix_R1__getWorldToLocalMatrix,
  242. 0);
  243. END_REFLECTOR