root / src / osgWrappers / introspection / VideoTexture.cpp @ a46d1c46
History | View | Annotate | Download (4.3 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 <VideoTexture.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(VideoTexture) |
| 25 |
I_DeclaringFile("VideoTexture.h");
|
| 26 |
I_BaseType(ReferencedStateSet); |
| 27 |
I_Constructor2(IN, SceneManager *, sceneManager, IN, const char *, initID, |
| 28 |
____VideoTexture__SceneManager_P1__C5_char_P1, |
| 29 |
"",
|
| 30 |
"");
|
| 31 |
I_Method0(void, debug,
|
| 32 |
Properties::VIRTUAL, |
| 33 |
__void__debug, |
| 34 |
"",
|
| 35 |
"");
|
| 36 |
I_Method1(void, setPath, IN, const char *, newPath, |
| 37 |
Properties::NON_VIRTUAL, |
| 38 |
__void__setPath__C5_char_P1, |
| 39 |
"",
|
| 40 |
"Creates a video from a path on disk. This can either be a single movie file (ie, a format that OSG knows how to read), or a folder name that contains a sequence of images to stitch into a video. ");
|
| 41 |
I_Method0(const char *, getPath, |
| 42 |
Properties::VIRTUAL, |
| 43 |
__C5_char_P1__getPath, |
| 44 |
"",
|
| 45 |
"Abstract method getPath needs to be implemented ");
|
| 46 |
I_Method1(void, setLoop, IN, int, i, |
| 47 |
Properties::NON_VIRTUAL, |
| 48 |
__void__setLoop__int, |
| 49 |
"",
|
| 50 |
"Enable (1) or disable (0) looping of the video ");
|
| 51 |
I_Method0(int, getLoop,
|
| 52 |
Properties::NON_VIRTUAL, |
| 53 |
__int__getLoop, |
| 54 |
"",
|
| 55 |
"");
|
| 56 |
I_Method1(void, setIndex, IN, float, f, |
| 57 |
Properties::NON_VIRTUAL, |
| 58 |
__void__setIndex__float, |
| 59 |
"",
|
| 60 |
"Normalized seek to a part of the video. ie, index in range [0,1] ");
|
| 61 |
I_Method0(float, getIndex,
|
| 62 |
Properties::NON_VIRTUAL, |
| 63 |
__float__getIndex, |
| 64 |
"",
|
| 65 |
"");
|
| 66 |
I_Method1(void, setFrameRate, IN, float, f, |
| 67 |
Properties::NON_VIRTUAL, |
| 68 |
__void__setFrameRate__float, |
| 69 |
"",
|
| 70 |
"Only for image sequences; tells OSG how fast to play the sequence ");
|
| 71 |
I_Method0(float, getFrameRate,
|
| 72 |
Properties::NON_VIRTUAL, |
| 73 |
__float__getFrameRate, |
| 74 |
"",
|
| 75 |
"");
|
| 76 |
I_Method1(void, setPlay, IN, int, i, |
| 77 |
Properties::NON_VIRTUAL, |
| 78 |
__void__setPlay__int, |
| 79 |
"",
|
| 80 |
"Play (1) or Pause (0) the video ");
|
| 81 |
I_Method0(int, getPlay,
|
| 82 |
Properties::NON_VIRTUAL, |
| 83 |
__int__getPlay, |
| 84 |
"",
|
| 85 |
"");
|
| 86 |
I_Method0(void, rewind,
|
| 87 |
Properties::NON_VIRTUAL, |
| 88 |
__void__rewind, |
| 89 |
"",
|
| 90 |
"Seek to beginning of video (quivalent to setIndex(0); ");
|
| 91 |
I_Method0(void, flipHorizontal,
|
| 92 |
Properties::NON_VIRTUAL, |
| 93 |
__void__flipHorizontal, |
| 94 |
"",
|
| 95 |
"");
|
| 96 |
I_Method0(void, flipVertical,
|
| 97 |
Properties::NON_VIRTUAL, |
| 98 |
__void__flipVertical, |
| 99 |
"",
|
| 100 |
"");
|
| 101 |
I_Method0(bool, isValid,
|
| 102 |
Properties::NON_VIRTUAL, |
| 103 |
__bool__isValid, |
| 104 |
"",
|
| 105 |
"Returns whether there is a currently valid video ");
|
| 106 |
I_Method0(std::vector< lo_message >, getState, |
| 107 |
Properties::VIRTUAL, |
| 108 |
__std_vectorT1_lo_message___getState, |
| 109 |
"",
|
| 110 |
"Just like a ReferencedNode, each subclass of ReferencedStateSet must override the getState() method to pass it's current state. ");
|
| 111 |
I_SimpleProperty(float, FrameRate,
|
| 112 |
__float__getFrameRate, |
| 113 |
__void__setFrameRate__float); |
| 114 |
I_SimpleProperty(float, Index,
|
| 115 |
__float__getIndex, |
| 116 |
__void__setIndex__float); |
| 117 |
I_SimpleProperty(int, Loop,
|
| 118 |
__int__getLoop, |
| 119 |
__void__setLoop__int); |
| 120 |
I_SimpleProperty(const char *, Path, |
| 121 |
__C5_char_P1__getPath, |
| 122 |
__void__setPath__C5_char_P1); |
| 123 |
I_SimpleProperty(int, Play,
|
| 124 |
__int__getPlay, |
| 125 |
__void__setPlay__int); |
| 126 |
I_SimpleProperty(std::vector< lo_message >, State, |
| 127 |
__std_vectorT1_lo_message___getState, |
| 128 |
0);
|
| 129 |
END_REFLECTOR |
| 130 |
|
