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

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osgAnimation/StatsHandler.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/ApplicationUsage>
14
 
#include <osg/Camera>
15
 
#include <osgAnimation/StatsHandler>
16
 
#include <osgGA/GUIActionAdapter>
17
 
#include <osgGA/GUIEventAdapter>
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_ENUM_REFLECTOR(osgAnimation::StatsHandler::StatsType)
28
 
        I_DeclaringFile("osgAnimation/StatsHandler");
29
 
        I_EnumLabel(osgAnimation::StatsHandler::NO_STATS);
30
 
        I_EnumLabel(osgAnimation::StatsHandler::FRAME_RATE);
31
 
        I_EnumLabel(osgAnimation::StatsHandler::LAST);
32
 
END_REFLECTOR
33
 
 
34
 
BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsHandler)
35
 
        I_DeclaringFile("osgAnimation/StatsHandler");
36
 
        I_BaseType(osgGA::GUIEventHandler);
37
 
        I_Constructor0(____StatsHandler,
38
 
                       "",
39
 
                       "");
40
 
        I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key,
41
 
                  Properties::NON_VIRTUAL,
42
 
                  __void__setKeyEventTogglesOnScreenStats__int,
43
 
                  "",
44
 
                  "");
45
 
        I_Method0(int, getKeyEventTogglesOnScreenStats,
46
 
                  Properties::NON_VIRTUAL,
47
 
                  __int__getKeyEventTogglesOnScreenStats,
48
 
                  "",
49
 
                  "");
50
 
        I_Method1(void, setKeyEventPrintsOutStats, IN, int, key,
51
 
                  Properties::NON_VIRTUAL,
52
 
                  __void__setKeyEventPrintsOutStats__int,
53
 
                  "",
54
 
                  "");
55
 
        I_Method0(int, getKeyEventPrintsOutStats,
56
 
                  Properties::NON_VIRTUAL,
57
 
                  __int__getKeyEventPrintsOutStats,
58
 
                  "",
59
 
                  "");
60
 
        I_Method0(double, getBlockMultiplier,
61
 
                  Properties::NON_VIRTUAL,
62
 
                  __double__getBlockMultiplier,
63
 
                  "",
64
 
                  "");
65
 
        I_Method0(void, reset,
66
 
                  Properties::NON_VIRTUAL,
67
 
                  __void__reset,
68
 
                  "",
69
 
                  "");
70
 
        I_Method0(osg::Camera *, getCamera,
71
 
                  Properties::NON_VIRTUAL,
72
 
                  __osg_Camera_P1__getCamera,
73
 
                  "",
74
 
                  "");
75
 
        I_Method0(const osg::Camera *, getCamera,
76
 
                  Properties::NON_VIRTUAL,
77
 
                  __C5_osg_Camera_P1__getCamera,
78
 
                  "",
79
 
                  "");
80
 
        I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
81
 
                  Properties::VIRTUAL,
82
 
                  __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
83
 
                  "Deprecated, Handle events, return true if handled, false otherwise. ",
84
 
                  "");
85
 
        I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
86
 
                  Properties::VIRTUAL,
87
 
                  __void__getUsage__osg_ApplicationUsage_R1,
88
 
                  "Get the keyboard and mouse usage of this manipulator. ",
89
 
                  "");
90
 
        I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer,
91
 
                           Properties::NON_VIRTUAL,
92
 
                           Properties::NON_CONST,
93
 
                           __void__setUpHUDCamera__osgViewer_ViewerBase_P1,
94
 
                           "",
95
 
                           "");
96
 
        I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color,
97
 
                           Properties::NON_VIRTUAL,
98
 
                           Properties::NON_CONST,
99
 
                           __osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1,
100
 
                           "",
101
 
                           "");
102
 
        I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks,
103
 
                           Properties::NON_VIRTUAL,
104
 
                           Properties::NON_CONST,
105
 
                           __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
106
 
                           "",
107
 
                           "");
108
 
        I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks,
109
 
                           Properties::NON_VIRTUAL,
110
 
                           Properties::NON_CONST,
111
 
                           __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
112
 
                           "",
113
 
                           "");
114
 
        I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks,
115
 
                           Properties::NON_VIRTUAL,
116
 
                           Properties::NON_CONST,
117
 
                           __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
118
 
                           "",
119
 
                           "");
120
 
        I_ProtectedMethod7(osg::Node *, createCameraTimeStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, acquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera,
121
 
                           Properties::NON_VIRTUAL,
122
 
                           Properties::NON_CONST,
123
 
                           __osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1,
124
 
                           "",
125
 
                           "");
126
 
        I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer,
127
 
                           Properties::NON_VIRTUAL,
128
 
                           Properties::NON_CONST,
129
 
                           __void__setUpScene__osgViewer_Viewer_P1,
130
 
                           "",
131
 
                           "");
132
 
        I_SimpleProperty(double, BlockMultiplier, 
133
 
                         __double__getBlockMultiplier, 
134
 
                         0);
135
 
        I_SimpleProperty(osg::Camera *, Camera, 
136
 
                         __osg_Camera_P1__getCamera, 
137
 
                         0);
138
 
        I_SimpleProperty(int, KeyEventPrintsOutStats, 
139
 
                         __int__getKeyEventPrintsOutStats, 
140
 
                         __void__setKeyEventPrintsOutStats__int);
141
 
        I_SimpleProperty(int, KeyEventTogglesOnScreenStats, 
142
 
                         __int__getKeyEventTogglesOnScreenStats, 
143
 
                         __void__setKeyEventTogglesOnScreenStats__int);
144
 
END_REFLECTOR
145