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

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osgText/FadeText.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 <osg/RenderInfo>
16
 
#include <osgText/FadeText>
17
 
#include <osgText/Text>
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_OBJECT_REFLECTOR(osgText::FadeText)
28
 
        I_DeclaringFile("osgText/FadeText");
29
 
        I_BaseType(osgText::Text);
30
 
        I_Constructor0(____FadeText,
31
 
                       "",
32
 
                       "");
33
 
        I_ConstructorWithDefaults2(IN, const osgText::Text &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
34
 
                                   ____FadeText__C5_Text_R1__C5_osg_CopyOp_R1,
35
 
                                   "",
36
 
                                   "");
37
 
        I_Method0(osg::Object *, cloneType,
38
 
                  Properties::VIRTUAL,
39
 
                  __osg_Object_P1__cloneType,
40
 
                  "Clone the type of an object, with Object* return type. ",
41
 
                  "Must be defined by derived classes. ");
42
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
43
 
                  Properties::VIRTUAL,
44
 
                  __osg_Object_P1__clone__C5_osg_CopyOp_R1,
45
 
                  "Clone an object, with Object* return 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(const char *, libraryName,
53
 
                  Properties::VIRTUAL,
54
 
                  __C5_char_P1__libraryName,
55
 
                  "return the name of the object's library. ",
56
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
57
 
        I_Method0(const char *, className,
58
 
                  Properties::VIRTUAL,
59
 
                  __C5_char_P1__className,
60
 
                  "return the name of the object's class type. ",
61
 
                  "Must be defined by derived classes. ");
62
 
        I_Method1(void, setFadeSpeed, IN, float, fadeSpeed,
63
 
                  Properties::NON_VIRTUAL,
64
 
                  __void__setFadeSpeed__float,
65
 
                  "Set the speed that the alpha value changes as the text is occluded or becomes visible. ",
66
 
                  "");
67
 
        I_Method0(float, getFadeSpeed,
68
 
                  Properties::NON_VIRTUAL,
69
 
                  __float__getFadeSpeed,
70
 
                  "Get the speed that the alpha value changes. ",
71
 
                  "");
72
 
        I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
73
 
                  Properties::VIRTUAL,
74
 
                  __void__drawImplementation__osg_RenderInfo_R1,
75
 
                  "Draw the text. ",
76
 
                  "");
77
 
        I_ProtectedMethod0(void, init,
78
 
                           Properties::NON_VIRTUAL,
79
 
                           Properties::NON_CONST,
80
 
                           __void__init,
81
 
                           "",
82
 
                           "");
83
 
 
84
 
 
85
 
        I_SimpleProperty(float, FadeSpeed, 
86
 
                         __float__getFadeSpeed, 
87
 
                         __void__setFadeSpeed__float);
88
 
END_REFLECTOR
89