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

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osgParticle/range.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/Vec2>
14
 
#include <osg/Vec3>
15
 
#include <osg/Vec4>
16
 
#include <osgParticle/range>
17
 
 
18
 
// Must undefine IN and OUT macros defined in Windows headers
19
 
#ifdef IN
20
 
#undef IN
21
 
#endif
22
 
#ifdef OUT
23
 
#undef OUT
24
 
#endif
25
 
 
26
 
TYPE_NAME_ALIAS(osgParticle::range< float >, osgParticle::rangef)
27
 
 
28
 
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec2 >, osgParticle::rangev2)
29
 
 
30
 
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec3 >, osgParticle::rangev3)
31
 
 
32
 
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec4 >, osgParticle::rangev4)
33
 
 
34
 
BEGIN_VALUE_REFLECTOR(osgParticle::range< float >)
35
 
        I_DeclaringFile("osgParticle/range");
36
 
        I_Constructor0(____range,
37
 
                       "Construct the object by calling default constructors for min and max. ",
38
 
                       "");
39
 
        I_Constructor2(IN, const float &, mn, IN, const float &, mx,
40
 
                       ____range__C5_ValueType_R1__C5_ValueType_R1,
41
 
                       "Construct and initialize min and max directly. ",
42
 
                       "");
43
 
        I_Method2(void, set, IN, const float &, mn, IN, const float &, mx,
44
 
                  Properties::NON_VIRTUAL,
45
 
                  __void__set__C5_ValueType_R1__C5_ValueType_R1,
46
 
                  "Set min and max. ",
47
 
                  "");
48
 
        I_Method0(float, get_random,
49
 
                  Properties::NON_VIRTUAL,
50
 
                  __ValueType__get_random,
51
 
                  "Get a random value between min and max. ",
52
 
                  "");
53
 
        I_Method0(float, get_random_sqrtf,
54
 
                  Properties::NON_VIRTUAL,
55
 
                  __ValueType__get_random_sqrtf,
56
 
                  "Get a random square root value between min and max. ",
57
 
                  "");
58
 
        I_Method0(float, mid,
59
 
                  Properties::NON_VIRTUAL,
60
 
                  __ValueType__mid,
61
 
                  "",
62
 
                  "");
63
 
        I_PublicMemberProperty(float, minimum);
64
 
        I_PublicMemberProperty(float, maximum);
65
 
END_REFLECTOR
66
 
 
67
 
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec2 >)
68
 
        I_DeclaringFile("osgParticle/range");
69
 
        I_Constructor0(____range,
70
 
                       "Construct the object by calling default constructors for min and max. ",
71
 
                       "");
72
 
        I_Constructor2(IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx,
73
 
                       ____range__C5_ValueType_R1__C5_ValueType_R1,
74
 
                       "Construct and initialize min and max directly. ",
75
 
                       "");
76
 
        I_Method2(void, set, IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx,
77
 
                  Properties::NON_VIRTUAL,
78
 
                  __void__set__C5_ValueType_R1__C5_ValueType_R1,
79
 
                  "Set min and max. ",
80
 
                  "");
81
 
        I_Method0(osg::Vec2, get_random,
82
 
                  Properties::NON_VIRTUAL,
83
 
                  __ValueType__get_random,
84
 
                  "Get a random value between min and max. ",
85
 
                  "");
86
 
        I_Method0(osg::Vec2, get_random_sqrtf,
87
 
                  Properties::NON_VIRTUAL,
88
 
                  __ValueType__get_random_sqrtf,
89
 
                  "Get a random square root value between min and max. ",
90
 
                  "");
91
 
        I_Method0(osg::Vec2, mid,
92
 
                  Properties::NON_VIRTUAL,
93
 
                  __ValueType__mid,
94
 
                  "",
95
 
                  "");
96
 
        I_PublicMemberProperty(osg::Vec2, minimum);
97
 
        I_PublicMemberProperty(osg::Vec2, maximum);
98
 
END_REFLECTOR
99
 
 
100
 
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec3 >)
101
 
        I_DeclaringFile("osgParticle/range");
102
 
        I_Constructor0(____range,
103
 
                       "Construct the object by calling default constructors for min and max. ",
104
 
                       "");
105
 
        I_Constructor2(IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx,
106
 
                       ____range__C5_ValueType_R1__C5_ValueType_R1,
107
 
                       "Construct and initialize min and max directly. ",
108
 
                       "");
109
 
        I_Method2(void, set, IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx,
110
 
                  Properties::NON_VIRTUAL,
111
 
                  __void__set__C5_ValueType_R1__C5_ValueType_R1,
112
 
                  "Set min and max. ",
113
 
                  "");
114
 
        I_Method0(osg::Vec3, get_random,
115
 
                  Properties::NON_VIRTUAL,
116
 
                  __ValueType__get_random,
117
 
                  "Get a random value between min and max. ",
118
 
                  "");
119
 
        I_Method0(osg::Vec3, get_random_sqrtf,
120
 
                  Properties::NON_VIRTUAL,
121
 
                  __ValueType__get_random_sqrtf,
122
 
                  "Get a random square root value between min and max. ",
123
 
                  "");
124
 
        I_Method0(osg::Vec3, mid,
125
 
                  Properties::NON_VIRTUAL,
126
 
                  __ValueType__mid,
127
 
                  "",
128
 
                  "");
129
 
        I_PublicMemberProperty(osg::Vec3, minimum);
130
 
        I_PublicMemberProperty(osg::Vec3, maximum);
131
 
END_REFLECTOR
132
 
 
133
 
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec4 >)
134
 
        I_DeclaringFile("osgParticle/range");
135
 
        I_Constructor0(____range,
136
 
                       "Construct the object by calling default constructors for min and max. ",
137
 
                       "");
138
 
        I_Constructor2(IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx,
139
 
                       ____range__C5_ValueType_R1__C5_ValueType_R1,
140
 
                       "Construct and initialize min and max directly. ",
141
 
                       "");
142
 
        I_Method2(void, set, IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx,
143
 
                  Properties::NON_VIRTUAL,
144
 
                  __void__set__C5_ValueType_R1__C5_ValueType_R1,
145
 
                  "Set min and max. ",
146
 
                  "");
147
 
        I_Method0(osg::Vec4, get_random,
148
 
                  Properties::NON_VIRTUAL,
149
 
                  __ValueType__get_random,
150
 
                  "Get a random value between min and max. ",
151
 
                  "");
152
 
        I_Method0(osg::Vec4, get_random_sqrtf,
153
 
                  Properties::NON_VIRTUAL,
154
 
                  __ValueType__get_random_sqrtf,
155
 
                  "Get a random square root value between min and max. ",
156
 
                  "");
157
 
        I_Method0(osg::Vec4, mid,
158
 
                  Properties::NON_VIRTUAL,
159
 
                  __ValueType__mid,
160
 
                  "",
161
 
                  "");
162
 
        I_PublicMemberProperty(osg::Vec4, minimum);
163
 
        I_PublicMemberProperty(osg::Vec4, maximum);
164
 
END_REFLECTOR
165