This URL has Read-Only access.

Statistics
| Branch: | Tag: | Revision:

root / src / osgWrappers / introspection / UserNode.cpp @ 62b11a15

History | View | Annotate | Download (2.1 kB)

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 <SceneManager.h>
14
#include <UserNode.h>
15

    
16
// Must undefine IN and OUT macros defined in Windows headers
17
#ifdef IN
18
#undef IN
19
#endif
20
#ifdef OUT
21
#undef OUT
22
#endif
23

    
24
BEGIN_OBJECT_REFLECTOR(UserNode)
25
        I_DeclaringFile("UserNode.h");
26
        I_BaseType(ConstraintsNode);
27
        I_Constructor2(IN, SceneManager *, sceneManager, IN, char *, initID,
28
                       ____UserNode__SceneManager_P1__char_P1,
29
                       "",
30
                       "");
31
        I_Method0(void, updateNodePath,
32
                  Properties::VIRTUAL,
33
                  __void__updateNodePath,
34
                  "",
35
                  "The UserNode is used by OSG's NodeTrackerManipulator to position a camera for the user. However, NodeTrackerManipulator doesn't check if the nodepath has changed, so we override updateNodePath() and set an nodepathUpdate flag for the manipulator to see. ");
36
        I_Method1(void, setDescription, IN, const char *, s,
37
                  Properties::NON_VIRTUAL,
38
                  __void__setDescription__C5_char_P1,
39
                  "",
40
                  "");
41
        I_Method0(const char *, getDescription,
42
                  Properties::NON_VIRTUAL,
43
                  __C5_char_P1__getDescription,
44
                  "",
45
                  "");
46
        I_Method0(std::vector< lo_message >, getState,
47
                  Properties::VIRTUAL,
48
                  __std_vectorT1_lo_message___getState,
49
                  "",
50
                  "For each subclass of ReferencedNode, we override the getState() method to fill the vector with the correct set of methods for this particular node ");
51
        I_SimpleProperty(const char *, Description, 
52
                         __C5_char_P1__getDescription, 
53
                         __void__setDescription__C5_char_P1);
54
        I_SimpleProperty(std::vector< lo_message >, State, 
55
                         __std_vectorT1_lo_message___getState, 
56
                         0);
57
        I_PublicMemberProperty(bool, nodepathUpdate);
58
END_REFLECTOR
59