root / src / osgWrappers / introspection / Menu3D.cpp @ c38d81dd
History | View | Annotate | Download (6.9 kB)
| 1 |
// ***************************************************************************
|
|---|---|
| 2 |
//
|
| 3 |
// Generated automatically by genwrapper.
|
| 4 |
// Please DO NOT EDIT this file!
|
| 5 |
//
|
| 6 |
// ***************************************************************************
|
| 7 |
|
| 8 |
#include <cppintrospection/ReflectionMacros> |
| 9 |
#include <cppintrospection/TypedMethodInfo> |
| 10 |
#include <cppintrospection/StaticMethodInfo> |
| 11 |
#include <cppintrospection/Attributes> |
| 12 |
|
| 13 |
#include <Menu3D.h> |
| 14 |
#include <SceneManager.h> |
| 15 |
#include <TextNode.h> |
| 16 |
|
| 17 |
// Must undefine IN and OUT macros defined in Windows headers
|
| 18 |
#ifdef IN
|
| 19 |
#undef IN
|
| 20 |
#endif
|
| 21 |
#ifdef OUT
|
| 22 |
#undef OUT
|
| 23 |
#endif
|
| 24 |
|
| 25 |
BEGIN_OBJECT_REFLECTOR(spin::Menu3D) |
| 26 |
I_DeclaringFile("Menu3D.h");
|
| 27 |
I_BaseType(spin::GroupNode); |
| 28 |
I_Constructor2(IN, spin::SceneManager *, sceneManager, IN, char *, initID,
|
| 29 |
____Menu3D__SceneManager_P1__char_P1, |
| 30 |
"",
|
| 31 |
"");
|
| 32 |
I_Method0(void, updateNodePath,
|
| 33 |
Properties::VIRTUAL, |
| 34 |
__void__updateNodePath, |
| 35 |
"",
|
| 36 |
"This should likely be a private function. TO_BE_VERIFIED. ");
|
| 37 |
I_Method1(void, setEnabled, IN, int, i, |
| 38 |
Properties::NON_VIRTUAL, |
| 39 |
__void__setEnabled__int, |
| 40 |
"",
|
| 41 |
"Toggle whether this menu node is enabled or disabled. ");
|
| 42 |
I_Method0(int, getEnabled,
|
| 43 |
Properties::NON_VIRTUAL, |
| 44 |
__int__getEnabled, |
| 45 |
"",
|
| 46 |
"Returns a boolean (int) indicating whether this menu node is enabled or disabled. ");
|
| 47 |
I_Method1(void, addItem, IN, const char *, itemText, |
| 48 |
Properties::NON_VIRTUAL, |
| 49 |
__void__addItem__C5_char_P1, |
| 50 |
"",
|
| 51 |
"Add an item (TextNode) to the list (server-side only) ");
|
| 52 |
I_Method1(void, removeItem, IN, int, itemIndex, |
| 53 |
Properties::NON_VIRTUAL, |
| 54 |
__void__removeItem__int, |
| 55 |
"",
|
| 56 |
"Remove an item (textNode) from the list by its itemIndex. ");
|
| 57 |
I_Method1(void, removeItem, IN, const char *, itemID, |
| 58 |
Properties::NON_VIRTUAL, |
| 59 |
__void__removeItem__C5_char_P1, |
| 60 |
"",
|
| 61 |
"Remove an item (textNode) from the list by its ID. ");
|
| 62 |
I_Method1(int, doRemoveItem, IN, osg::observer_ptr< spin::TextNode >, n,
|
| 63 |
Properties::NON_VIRTUAL, |
| 64 |
__int__doRemoveItem__osg_observer_ptrT1_TextNode_, |
| 65 |
"",
|
| 66 |
"This should be a private function. ");
|
| 67 |
I_Method0(void, clearItems,
|
| 68 |
Properties::NON_VIRTUAL, |
| 69 |
__void__clearItems, |
| 70 |
"",
|
| 71 |
"Removes all text nodes from the menu. ");
|
| 72 |
I_Method0(void, redraw,
|
| 73 |
Properties::NON_VIRTUAL, |
| 74 |
__void__redraw, |
| 75 |
"",
|
| 76 |
"Redraws the menu after items are removed to eliminate the space left by the recently removed item(s). ");
|
| 77 |
I_Method1(void, setHighlighted, IN, int, itemIndex, |
| 78 |
Properties::NON_VIRTUAL, |
| 79 |
__void__setHighlighted__int, |
| 80 |
"",
|
| 81 |
"Highlight an item from the list by its itemIndex. ");
|
| 82 |
I_Method1(void, setHighlighted, IN, const char *, itemID, |
| 83 |
Properties::NON_VIRTUAL, |
| 84 |
__void__setHighlighted__C5_char_P1, |
| 85 |
"",
|
| 86 |
"Highlight an item from the list by its itemID. ");
|
| 87 |
I_Method1(int, doHighlight, IN, osg::observer_ptr< spin::TextNode >, n,
|
| 88 |
Properties::NON_VIRTUAL, |
| 89 |
__int__doHighlight__osg_observer_ptrT1_TextNode_, |
| 90 |
"",
|
| 91 |
"This should be a private function. ");
|
| 92 |
I_Method0(const char *, getHighlighted, |
| 93 |
Properties::NON_VIRTUAL, |
| 94 |
__C5_char_P1__getHighlighted, |
| 95 |
"",
|
| 96 |
"Returns the id of the currently highlighted menu item. ");
|
| 97 |
I_Method4(void, setHighlightColor, IN, float, r, IN, float, g, IN, float, b, IN, float, a, |
| 98 |
Properties::NON_VIRTUAL, |
| 99 |
__void__setHighlightColor__float__float__float__float, |
| 100 |
"",
|
| 101 |
"Set the color of the font in RGBA values when highlighted ");
|
| 102 |
I_Method0(osg::Vec4, getHighlightColor, |
| 103 |
Properties::NON_VIRTUAL, |
| 104 |
__osg_Vec4__getHighlightColor, |
| 105 |
"",
|
| 106 |
"Returns the color of the font in RGBA values when highlighted. ");
|
| 107 |
I_Method0(void, highlightNext,
|
| 108 |
Properties::NON_VIRTUAL, |
| 109 |
__void__highlightNext, |
| 110 |
"",
|
| 111 |
"Highlights the item that follows the currently highlighted item. ");
|
| 112 |
I_Method0(void, highlightPrev,
|
| 113 |
Properties::NON_VIRTUAL, |
| 114 |
__void__highlightPrev, |
| 115 |
"",
|
| 116 |
"Highlights the item previous to the currently highlighted item. ");
|
| 117 |
I_Method0(void, select,
|
| 118 |
Properties::NON_VIRTUAL, |
| 119 |
__void__select, |
| 120 |
"",
|
| 121 |
"");
|
| 122 |
I_Method3(void, setItemOffset, IN, float, x, IN, float, y, IN, float, z, |
| 123 |
Properties::NON_VIRTUAL, |
| 124 |
__void__setItemOffset__float__float__float, |
| 125 |
"",
|
| 126 |
"Each successive menu item will appear at an offset from the previous ");
|
| 127 |
I_Method0(osg::Vec3, getItemOffset, |
| 128 |
Properties::NON_VIRTUAL, |
| 129 |
__osg_Vec3__getItemOffset, |
| 130 |
"",
|
| 131 |
"Returns the Vector3 value used to offset successive menu entries. ");
|
| 132 |
I_Method1(void, setFont, IN, const char *, s, |
| 133 |
Properties::NON_VIRTUAL, |
| 134 |
__void__setFont__C5_char_P1, |
| 135 |
"",
|
| 136 |
"wrapped from TextNode: sets font type ");
|
| 137 |
I_Method1(void, setBillboard, IN, spin::TextNode::billboardType, t,
|
| 138 |
Properties::NON_VIRTUAL, |
| 139 |
__void__setBillboard__TextNode_billboardType, |
| 140 |
"",
|
| 141 |
"wrapped from TextNode: types come from billboardType enum: RELATIVE, POINT_EYE, STAY_UP ");
|
| 142 |
I_Method4(void, setColor, IN, float, red, IN, float, green, IN, float, blue, IN, float, alpha, |
| 143 |
Properties::NON_VIRTUAL, |
| 144 |
__void__setColor__float__float__float__float, |
| 145 |
"",
|
| 146 |
"wrapped from TextNode: sets color in RGBA values ");
|
| 147 |
I_Method0(std::vector< lo_message >, getState, |
| 148 |
Properties::VIRTUAL, |
| 149 |
__std_vectorT1_lo_message___getState, |
| 150 |
"",
|
| 151 |
"For each subclass of ReferencedNode, we override the getState() method to fill the vector with the correct set of methods for this particular node ");
|
| 152 |
I_SimpleProperty(spin::TextNode::billboardType, Billboard, |
| 153 |
0,
|
| 154 |
__void__setBillboard__TextNode_billboardType); |
| 155 |
I_SimpleProperty(int, Enabled,
|
| 156 |
__int__getEnabled, |
| 157 |
__void__setEnabled__int); |
| 158 |
I_SimpleProperty(const char *, Font, |
| 159 |
0,
|
| 160 |
__void__setFont__C5_char_P1); |
| 161 |
I_SimpleProperty(osg::Vec4, HighlightColor, |
| 162 |
__osg_Vec4__getHighlightColor, |
| 163 |
0);
|
| 164 |
I_SimpleProperty(const char *, Highlighted, |
| 165 |
__C5_char_P1__getHighlighted, |
| 166 |
__void__setHighlighted__C5_char_P1); |
| 167 |
I_SimpleProperty(osg::Vec3, ItemOffset, |
| 168 |
__osg_Vec3__getItemOffset, |
| 169 |
0);
|
| 170 |
I_SimpleProperty(std::vector< lo_message >, State, |
| 171 |
__std_vectorT1_lo_message___getState, |
| 172 |
0);
|
| 173 |
END_REFLECTOR |
| 174 |
|
