root/OpenSceneGraph/trunk/src/osgWrappers/introspection/osgSim/SphereSegment.cpp @ 10967

Revision 10967, 13.4 kB (checked in by robert, 5 years ago)

Regenerated introspection wrappers in their new location

Line 
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/Array>
14#include <osg/CopyOp>
15#include <osg/Drawable>
16#include <osg/Matrixd>
17#include <osg/Node>
18#include <osg/NodeVisitor>
19#include <osg/Object>
20#include <osg/Vec3>
21#include <osg/Vec4>
22#include <osgSim/SphereSegment>
23
24// Must undefine IN and OUT macros defined in Windows headers
25#ifdef IN
26#undef IN
27#endif
28#ifdef OUT
29#undef OUT
30#endif
31
32BEGIN_ENUM_REFLECTOR(osgSim::SphereSegment::DrawMask)
33        I_DeclaringFile("osgSim/SphereSegment");
34        I_EnumLabel(osgSim::SphereSegment::SURFACE);
35        I_EnumLabel(osgSim::SphereSegment::SPOKES);
36        I_EnumLabel(osgSim::SphereSegment::EDGELINE);
37        I_EnumLabel(osgSim::SphereSegment::SIDES);
38        I_EnumLabel(osgSim::SphereSegment::ALL);
39END_REFLECTOR
40
41TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Vec3Array > >, osgSim::SphereSegment::LineList)
42
43BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment)
44        I_DeclaringFile("osgSim/SphereSegment");
45        I_BaseType(osg::Geode);
46        I_Constructor0(____SphereSegment,
47                       "Default constructor. ",
48                       "");
49        I_Constructor7(IN, const osg::Vec3 &, centre, IN, float, radius, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, IN, int, density,
50                       ____SphereSegment__C5_osg_Vec3_R1__float__float__float__float__float__int,
51                       "Construct by angle ranges. ",
52                       " param centre sphere centre  radius radius of sphere  azMin azimuth minimum  azMax azimuth maximum  elevMin elevation minimum  elevMax elevation maximum  density number of units to divide the azimuth and elevation ranges into  ");
53        I_Constructor6(IN, const osg::Vec3 &, centre, IN, float, radius, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, IN, int, density,
54                       ____SphereSegment__C5_osg_Vec3_R1__float__C5_osg_Vec3_R1__float__float__int,
55                       "Construct by vector. ",
56                       " param centre sphere centre  radius radius of sphere  vec vector pointing from sphere centre to centre point of rendered area on sphere surface  azRange azimuth range in radians (with centre along vec)  elevRange elevation range in radians (with centre along vec)  density number of units to divide the azimuth and elevation ranges into  ");
57        I_Constructor2(IN, const osgSim::SphereSegment &, rhs, IN, const osg::CopyOp &, co,
58                       ____SphereSegment__C5_SphereSegment_R1__C5_osg_CopyOp_R1,
59                       "Copy constructor. ",
60                       "");
61        I_Method1(void, setCentre, IN, const osg::Vec3 &, c,
62                  Properties::NON_VIRTUAL,
63                  __void__setCentre__C5_osg_Vec3_R1,
64                  "Set the centre point of the SphereSegment. ",
65                  "");
66        I_Method0(const osg::Vec3 &, getCentre,
67                  Properties::NON_VIRTUAL,
68                  __C5_osg_Vec3_R1__getCentre,
69                  "Get the centre point of the SphereSegment. ",
70                  "");
71        I_Method1(void, setRadius, IN, float, r,
72                  Properties::NON_VIRTUAL,
73                  __void__setRadius__float,
74                  "Set the radius of the SphereSegment. ",
75                  "");
76        I_Method0(float, getRadius,
77                  Properties::NON_VIRTUAL,
78                  __float__getRadius,
79                  "Get the radius of the SphereSegment. ",
80                  "");
81        I_Method3(void, setArea, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange,
82                  Properties::NON_VIRTUAL,
83                  __void__setArea__C5_osg_Vec3_R1__float__float,
84                  "Set the area of the sphere segment. ",
85                  " param vec vector pointing from sphere centre to centre point of rendered area on sphere surface  azRange azimuth range in radians (with centre along vec)  elevRange elevation range in radians (with centre along vec)  ");
86        I_Method3(void, getArea, IN, osg::Vec3 &, vec, IN, float &, azRange, IN, float &, elevRange,
87                  Properties::NON_VIRTUAL,
88                  __void__getArea__osg_Vec3_R1__float_R1__float_R1,
89                  "Get the area of the sphere segment. ",
90                  " param vec vector pointing from sphere centre to centre point of rendered area on sphere surface (normalized)  azRange azimuth range in radians (with centre along vec)  elevRange elevation range in radians (with centre along vec)  ");
91        I_Method4(void, setArea, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax,
92                  Properties::NON_VIRTUAL,
93                  __void__setArea__float__float__float__float,
94                  "Set the area of the sphere segment. ",
95                  " param azMin azimuth minimum  azMax azimuth maximum  elevMin elevation minimum  elevMax elevation maximum  ");
96        I_Method4(void, getArea, IN, float &, azMin, IN, float &, azMax, IN, float &, elevMin, IN, float &, elevMax,
97                  Properties::NON_VIRTUAL,
98                  __void__getArea__float_R1__float_R1__float_R1__float_R1,
99                  "Get the area of the sphere segment. ",
100                  " param azMin azimuth minimum  azMax azimuth maximum  elevMin elevation minimum  elevMax elevation maximum  ");
101        I_Method1(void, setDensity, IN, int, d,
102                  Properties::NON_VIRTUAL,
103                  __void__setDensity__int,
104                  "Set the density of the sphere segment. ",
105                  "");
106        I_Method0(int, getDensity,
107                  Properties::NON_VIRTUAL,
108                  __int__getDensity,
109                  "Get the density of the sphere segment. ",
110                  "");
111        I_Method1(void, setDrawMask, IN, osgSim::SphereSegment::DrawMask, dm,
112                  Properties::NON_VIRTUAL,
113                  __void__setDrawMask__DrawMask,
114                  "Specify the DrawMask. ",
115                  " param dm Bitmask specifying which parts of the sphere segment should be drawn.   see DrawMask ");
116        I_Method0(osgSim::SphereSegment::DrawMask, getDrawMask,
117                  Properties::NON_VIRTUAL,
118                  __DrawMask__getDrawMask,
119                  "Get the DrawMask. ",
120                  "");
121        I_Method1(void, setSurfaceColor, IN, const osg::Vec4 &, c,
122                  Properties::NON_VIRTUAL,
123                  __void__setSurfaceColor__C5_osg_Vec4_R1,
124                  "Set the color of the surface. ",
125                  "");
126        I_Method0(osg::Vec4, getSurfaceColor,
127                  Properties::NON_VIRTUAL,
128                  __osg_Vec4__getSurfaceColor,
129                  "Get the color of the surface. ",
130                  "");
131        I_Method1(void, setSpokeColor, IN, const osg::Vec4 &, c,
132                  Properties::NON_VIRTUAL,
133                  __void__setSpokeColor__C5_osg_Vec4_R1,
134                  "Set the color of the spokes. ",
135                  "");
136        I_Method0(osg::Vec4, getSpokeColor,
137                  Properties::NON_VIRTUAL,
138                  __osg_Vec4__getSpokeColor,
139                  "Get the color of the spokes. ",
140                  "");
141        I_Method1(void, setEdgeLineColor, IN, const osg::Vec4 &, c,
142                  Properties::NON_VIRTUAL,
143                  __void__setEdgeLineColor__C5_osg_Vec4_R1,
144                  "Set the color of the edge line. ",
145                  "");
146        I_Method0(osg::Vec4, getEdgeLineColor,
147                  Properties::NON_VIRTUAL,
148                  __osg_Vec4__getEdgeLineColor,
149                  "Get the color of the edge line. ",
150                  "");
151        I_Method1(void, setSideColor, IN, const osg::Vec4 &, c,
152                  Properties::NON_VIRTUAL,
153                  __void__setSideColor__C5_osg_Vec4_R1,
154                  "Set the color of the planes. ",
155                  "");
156        I_Method0(osg::Vec4, getSideColor,
157                  Properties::NON_VIRTUAL,
158                  __osg_Vec4__getSideColor,
159                  "Get the color of the planes. ",
160                  "");
161        I_Method1(void, setAllColors, IN, const osg::Vec4 &, c,
162                  Properties::NON_VIRTUAL,
163                  __void__setAllColors__C5_osg_Vec4_R1,
164                  "Set color of all components. ",
165                  "");
166        I_Method0(osg::Object *, cloneType,
167                  Properties::VIRTUAL,
168                  __osg_Object_P1__cloneType,
169                  "clone an object of the same type as the node. ",
170                  "");
171        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
172                  Properties::VIRTUAL,
173                  __osg_Object_P1__clone__C5_osg_CopyOp_R1,
174                  "return a clone of a node, with Object* return type. ",
175                  "");
176        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
177                  Properties::VIRTUAL,
178                  __bool__isSameKindAs__C5_osg_Object_P1,
179                  "return true if this and obj are of the same kind of object. ",
180                  "");
181        I_Method0(const char *, className,
182                  Properties::VIRTUAL,
183                  __C5_char_P1__className,
184                  "return the name of the node's class type. ",
185                  "");
186        I_Method0(const char *, libraryName,
187                  Properties::VIRTUAL,
188                  __C5_char_P1__libraryName,
189                  "return the name of the node's library. ",
190                  "");
191        I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
192                  Properties::VIRTUAL,
193                  __void__accept__osg_NodeVisitor_R1,
194                  "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
195                  "");
196        I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
197                  Properties::NON_VIRTUAL,
198                  __LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Node_P1,
199                  "Compute the interesection lines between subgraph and this sphere segment. ",
200                  "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
201        I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
202                  Properties::NON_VIRTUAL,
203                  __LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Drawable_P1,
204                  "Compute the interesection lines between specified drawable and this sphere segment. ",
205                  "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
206        I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
207                  Properties::NON_VIRTUAL,
208                  __osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Node_P1,
209                  "Compute the interesection lines between subgraph and this sphere segment. ",
210                  "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
211        I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
212                  Properties::NON_VIRTUAL,
213                  __osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Drawable_P1,
214                  "Compute the interesection lines between specified drawable and this sphere segment. ",
215                  "The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
216        I_SimpleProperty(const osg::Vec4 &, AllColors,
217                         0,
218                         __void__setAllColors__C5_osg_Vec4_R1);
219        I_SimpleProperty(const osg::Vec3 &, Centre,
220                         __C5_osg_Vec3_R1__getCentre,
221                         __void__setCentre__C5_osg_Vec3_R1);
222        I_SimpleProperty(int, Density,
223                         __int__getDensity,
224                         __void__setDensity__int);
225        I_SimpleProperty(osgSim::SphereSegment::DrawMask, DrawMask,
226                         __DrawMask__getDrawMask,
227                         __void__setDrawMask__DrawMask);
228        I_SimpleProperty(osg::Vec4, EdgeLineColor,
229                         __osg_Vec4__getEdgeLineColor,
230                         __void__setEdgeLineColor__C5_osg_Vec4_R1);
231        I_SimpleProperty(float, Radius,
232                         __float__getRadius,
233                         __void__setRadius__float);
234        I_SimpleProperty(osg::Vec4, SideColor,
235                         __osg_Vec4__getSideColor,
236                         __void__setSideColor__C5_osg_Vec4_R1);
237        I_SimpleProperty(osg::Vec4, SpokeColor,
238                         __osg_Vec4__getSpokeColor,
239                         __void__setSpokeColor__C5_osg_Vec4_R1);
240        I_SimpleProperty(osg::Vec4, SurfaceColor,
241                         __osg_Vec4__getSurfaceColor,
242                         __void__setSurfaceColor__C5_osg_Vec4_R1);
243END_REFLECTOR
244
245BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Vec3Array >)
246        I_DeclaringFile("osg/ref_ptr");
247        I_Constructor0(____ref_ptr,
248                       "",
249                       "");
250        I_Constructor1(IN, osg::Vec3Array *, ptr,
251                       Properties::NON_EXPLICIT,
252                       ____ref_ptr__T_P1,
253                       "",
254                       "");
255        I_Constructor1(IN, const osg::ref_ptr< osg::Vec3Array > &, rp,
256                       Properties::NON_EXPLICIT,
257                       ____ref_ptr__C5_ref_ptr_R1,
258                       "",
259                       "");
260        I_Method0(osg::Vec3Array *, get,
261                  Properties::NON_VIRTUAL,
262                  __T_P1__get,
263                  "",
264                  "");
265        I_Method0(bool, valid,
266                  Properties::NON_VIRTUAL,
267                  __bool__valid,
268                  "",
269                  "");
270        I_Method0(osg::Vec3Array *, release,
271                  Properties::NON_VIRTUAL,
272                  __T_P1__release,
273                  "",
274                  "");
275        I_Method1(void, swap, IN, osg::ref_ptr< osg::Vec3Array > &, rp,
276                  Properties::NON_VIRTUAL,
277                  __void__swap__ref_ptr_R1,
278                  "",
279                  "");
280        I_SimpleProperty(osg::Vec3Array *, ,
281                         __T_P1__get,
282                         0);
283END_REFLECTOR
284
285STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Vec3Array > >)
Note: See TracBrowser for help on using the browser.