~ubuntu-branches/debian/experimental/openscenegraph/experimental

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osgParticle/Operator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Luaces
  • Date: 2011-01-29 11:36:29 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110129113629-qisrm2kdqlurc7t3
Tags: 2.9.11-1
* Removed bug-555869-ftbfs_with_binutils_gold.dpatch since upstream has
  already taken care of the issue.
* Removed bug-528229.dpatch since the pkgconfig files are now also split
  in upstream.
* Removed explicit dependency on GLU.
* Upstream no longer includes osgIntrospection (Closes: #592420).
* Disabled zip plugin as its implementation stores an embedded copy of
  zlib.
* Enabled Qt support. Thanks James Goppert.
* Enabled SVG and PDF plugins. Thanks James Goppert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ***************************************************************************
2
 
//
3
 
//   Generated automatically by genwrapper.
4
 
//   Please DO NOT EDIT this file!
5
 
//
6
 
// ***************************************************************************
7
 
 
8
 
#include <osgIntrospection/ReflectionMacros>
9
 
#include <osgIntrospection/TypedMethodInfo>
10
 
#include <osgIntrospection/StaticMethodInfo>
11
 
#include <osgIntrospection/Attributes>
12
 
 
13
 
#include <osg/CopyOp>
14
 
#include <osg/Object>
15
 
#include <osgParticle/Operator>
16
 
#include <osgParticle/Particle>
17
 
#include <osgParticle/Program>
18
 
 
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
 
 
27
 
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator)
28
 
        I_DeclaringFile("osgParticle/Operator");
29
 
        I_BaseType(osg::Object);
30
 
        I_Constructor0(____Operator,
31
 
                       "",
32
 
                       "");
33
 
        I_ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
34
 
                                   ____Operator__C5_Operator_R1__C5_osg_CopyOp_R1,
35
 
                                   "",
36
 
                                   "");
37
 
        I_Method0(const char *, libraryName,
38
 
                  Properties::VIRTUAL,
39
 
                  __C5_char_P1__libraryName,
40
 
                  "return the name of the object's library. ",
41
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
42
 
        I_Method0(const char *, className,
43
 
                  Properties::VIRTUAL,
44
 
                  __C5_char_P1__className,
45
 
                  "return the name of the object's class type. ",
46
 
                  "Must be defined by derived classes. ");
47
 
        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
48
 
                  Properties::VIRTUAL,
49
 
                  __bool__isSameKindAs__C5_osg_Object_P1,
50
 
                  "",
51
 
                  "");
52
 
        I_Method0(bool, isEnabled,
53
 
                  Properties::NON_VIRTUAL,
54
 
                  __bool__isEnabled,
55
 
                  "Get whether this operator is enabled. ",
56
 
                  "");
57
 
        I_Method1(void, setEnabled, IN, bool, v,
58
 
                  Properties::NON_VIRTUAL,
59
 
                  __void__setEnabled__bool,
60
 
                  "Enable or disable this operator. ",
61
 
                  "");
62
 
        I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
63
 
                  Properties::PURE_VIRTUAL,
64
 
                  __void__operate__Particle_P1__double,
65
 
                  "Do something on a particle. ",
66
 
                  "This method is called by ModularProgram objects to perform some operations on the particles. You must override it in descendant classes. Common operations consist of modifying the particle's velocity vector. The dt parameter is the time elapsed from last operation. ");
67
 
        I_Method1(void, beginOperate, IN, osgParticle::Program *, x,
68
 
                  Properties::VIRTUAL,
69
 
                  __void__beginOperate__Program_P1,
70
 
                  "Do something before processing particles via the operate() method. ",
71
 
                  "Overriding this method could be necessary to query the calling Program object for the current reference frame. If the reference frame is RELATIVE_RF, then your class should prepare itself to do all operations in local coordinates. ");
72
 
        I_Method0(void, endOperate,
73
 
                  Properties::VIRTUAL,
74
 
                  __void__endOperate,
75
 
                  "Do something after all particles have been processed. ",
76
 
                  "");
77
 
        I_SimpleProperty(bool, Enabled, 
78
 
                         0, 
79
 
                         __void__setEnabled__bool);
80
 
END_REFLECTOR
81