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

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osgGA/AnimationPathManipulator.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/AnimationPath>
14
 
#include <osg/ApplicationUsage>
15
 
#include <osg/Matrixd>
16
 
#include <osgGA/AnimationPathManipulator>
17
 
#include <osgGA/GUIActionAdapter>
18
 
#include <osgGA/GUIEventAdapter>
19
 
 
20
 
// Must undefine IN and OUT macros defined in Windows headers
21
 
#ifdef IN
22
 
#undef IN
23
 
#endif
24
 
#ifdef OUT
25
 
#undef OUT
26
 
#endif
27
 
 
28
 
BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
29
 
        I_DeclaringFile("osgGA/AnimationPathManipulator");
30
 
        I_BaseType(osgGA::MatrixManipulator);
31
 
        I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
32
 
                                   Properties::NON_EXPLICIT,
33
 
                                   ____AnimationPathManipulator__osg_AnimationPath_P1,
34
 
                                   "",
35
 
                                   "");
36
 
        I_Constructor1(IN, const std::string &, filename,
37
 
                       Properties::NON_EXPLICIT,
38
 
                       ____AnimationPathManipulator__C5_std_string_R1,
39
 
                       "",
40
 
                       "");
41
 
        I_Method0(const char *, className,
42
 
                  Properties::VIRTUAL,
43
 
                  __C5_char_P1__className,
44
 
                  "return the name of the object's class type. ",
45
 
                  "Must be defined by derived classes. ");
46
 
        I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTimingInfo,
47
 
                  Properties::NON_VIRTUAL,
48
 
                  __void__setPrintOutTimingInfo__bool,
49
 
                  "",
50
 
                  "");
51
 
        I_Method0(bool, getPrintOutTimingInfo,
52
 
                  Properties::NON_VIRTUAL,
53
 
                  __bool__getPrintOutTimingInfo,
54
 
                  "",
55
 
                  "");
56
 
        I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
57
 
                  Properties::VIRTUAL,
58
 
                  __void__setByMatrix__C5_osg_Matrixd_R1,
59
 
                  "set the position of the matrix manipulator using a 4x4 Matrix. ",
60
 
                  "");
61
 
        I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
62
 
                  Properties::VIRTUAL,
63
 
                  __void__setByInverseMatrix__C5_osg_Matrixd_R1,
64
 
                  "set the position of the matrix manipulator using a 4x4 Matrix. ",
65
 
                  "");
66
 
        I_Method0(osg::Matrixd, getMatrix,
67
 
                  Properties::VIRTUAL,
68
 
                  __osg_Matrixd__getMatrix,
69
 
                  "get the position of the manipulator as 4x4 Matrix. ",
70
 
                  "");
71
 
        I_Method0(osg::Matrixd, getInverseMatrix,
72
 
                  Properties::VIRTUAL,
73
 
                  __osg_Matrixd__getInverseMatrix,
74
 
                  "get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
75
 
                  "");
76
 
        I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath,
77
 
                  Properties::NON_VIRTUAL,
78
 
                  __void__setAnimationPath__osg_AnimationPath_P1,
79
 
                  "",
80
 
                  "");
81
 
        I_Method0(osg::AnimationPath *, getAnimationPath,
82
 
                  Properties::NON_VIRTUAL,
83
 
                  __osg_AnimationPath_P1__getAnimationPath,
84
 
                  "",
85
 
                  "");
86
 
        I_Method0(const osg::AnimationPath *, getAnimationPath,
87
 
                  Properties::NON_VIRTUAL,
88
 
                  __C5_osg_AnimationPath_P1__getAnimationPath,
89
 
                  "",
90
 
                  "");
91
 
        I_Method0(bool, valid,
92
 
                  Properties::NON_VIRTUAL,
93
 
                  __bool__valid,
94
 
                  "",
95
 
                  "");
96
 
        I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
97
 
                  Properties::VIRTUAL,
98
 
                  __void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
99
 
                  "Start/restart the manipulator. ",
100
 
                  "FIXME: what does this actually mean? Provide examples. ");
101
 
        I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
102
 
                  Properties::VIRTUAL,
103
 
                  __void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
104
 
                  "Move the camera to the default position. ",
105
 
                  "May be ignored by manipulators if home functionality is not appropriate. ");
106
 
        I_Method1(void, home, IN, double, currentTime,
107
 
                  Properties::VIRTUAL,
108
 
                  __void__home__double,
109
 
                  "Move the camera to the default position. ",
110
 
                  "This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. ");
111
 
        I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
112
 
                  Properties::VIRTUAL,
113
 
                  __bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
114
 
                  "Handle events, return true if handled, false otherwise. ",
115
 
                  "");
116
 
        I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
117
 
                  Properties::VIRTUAL,
118
 
                  __void__getUsage__osg_ApplicationUsage_R1,
119
 
                  "Get the keyboard and mouse usage of this manipulator. ",
120
 
                  "");
121
 
        I_ProtectedMethod1(void, handleFrame, IN, double, time,
122
 
                           Properties::NON_VIRTUAL,
123
 
                           Properties::NON_CONST,
124
 
                           __void__handleFrame__double,
125
 
                           "",
126
 
                           "");
127
 
        I_SimpleProperty(osg::AnimationPath *, AnimationPath, 
128
 
                         __osg_AnimationPath_P1__getAnimationPath, 
129
 
                         __void__setAnimationPath__osg_AnimationPath_P1);
130
 
        I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix, 
131
 
                         0, 
132
 
                         __void__setByInverseMatrix__C5_osg_Matrixd_R1);
133
 
        I_SimpleProperty(const osg::Matrixd &, ByMatrix, 
134
 
                         0, 
135
 
                         __void__setByMatrix__C5_osg_Matrixd_R1);
136
 
        I_SimpleProperty(osg::Matrixd, InverseMatrix, 
137
 
                         __osg_Matrixd__getInverseMatrix, 
138
 
                         0);
139
 
        I_SimpleProperty(osg::Matrixd, Matrix, 
140
 
                         __osg_Matrixd__getMatrix, 
141
 
                         0);
142
 
        I_SimpleProperty(bool, PrintOutTimingInfo, 
143
 
                         __bool__getPrintOutTimingInfo, 
144
 
                         __void__setPrintOutTimingInfo__bool);
145
 
END_REFLECTOR
146