Updated wrappers

This commit is contained in:
Robert Osfield
2007-03-01 11:58:36 +00:00
parent 6c56383ba9
commit 9b70538264
98 changed files with 1873 additions and 257 deletions

View File

@@ -73,6 +73,14 @@ BEGIN_OBJECT_REFLECTOR(osgText::FadeText)
__void__drawImplementation__osg_RenderInfo_R1,
"Draw the text. ",
"");
I_ProtectedMethod0(void, init,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__init,
"",
"");
I_SimpleProperty(float, FadeSpeed,
__float__getFadeSpeed,
__void__setFadeSpeed__float);

View File

@@ -200,6 +200,12 @@ BEGIN_OBJECT_REFLECTOR(osgText::Font)
__void__releaseGLObjects__osg_State_P1,
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
I_ProtectedMethod4(void, addGlyph, IN, unsigned int, width, IN, unsigned int, height, IN, unsigned int, charcode, IN, osgText::Font::Glyph *, glyph,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addGlyph__unsigned_int__unsigned_int__unsigned_int__Glyph_P1,
"",
"");
I_SimpleProperty(std::string, FileName,
__std_string__getFileName,
0);

View File

@@ -496,6 +496,138 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text)
__osg_BoundingBox__computeBound,
"Compute the bounding box around Drawables's geometry. ",
"");
I_ProtectedMethod0(osgText::Font *, getActiveFont,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__Font_P1__getActiveFont,
"",
"");
I_ProtectedMethod0(const osgText::Font *, getActiveFont,
Properties::NON_VIRTUAL,
Properties::CONST,
__C5_Font_P1__getActiveFont,
"",
"");
I_ProtectedMethod3(osgText::String::iterator, computeLastCharacterOnLine, IN, osg::Vec2 &, cursor, IN, osgText::String::iterator, first, IN, osgText::String::iterator, last,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__String_iterator__computeLastCharacterOnLine__osg_Vec2_R1__String_iterator__String_iterator,
"",
"");
I_ProtectedMethod0(void, computeGlyphRepresentation,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computeGlyphRepresentation,
"",
"");
I_ProtectedMethod2(bool, computeAverageGlypthWidthAndHeight, IN, float &, avg_width, IN, float &, avg_height,
Properties::NON_VIRTUAL,
Properties::CONST,
__bool__computeAverageGlypthWidthAndHeight__float_R1__float_R1,
"",
"");
I_ProtectedMethod0(void, computePositions,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computePositions,
"",
"");
I_ProtectedMethod1(void, computePositions, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computePositions__unsigned_int,
"",
"");
I_ProtectedMethod1(void, computeBackdropPositions, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeBackdropPositions__unsigned_int,
"",
"");
I_ProtectedMethod0(void, computeBackdropBoundingBox,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeBackdropBoundingBox,
"",
"");
I_ProtectedMethod0(void, computeColorGradients,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeColorGradients,
"",
"");
I_ProtectedMethod0(void, computeColorGradientsOverall,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeColorGradientsOverall,
"",
"");
I_ProtectedMethod0(void, computeColorGradientsPerCharacter,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeColorGradientsPerCharacter,
"",
"");
I_ProtectedMethod2(void, drawImplementation, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__drawImplementation__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod3(void, drawForegroundText, IN, osg::State &, state, IN, const osgText::Text::GlyphQuads &, glyphquad, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__drawForegroundText__osg_State_R1__C5_GlyphQuads_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod2(void, renderOnlyForegroundText, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__renderOnlyForegroundText__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod2(void, renderWithPolygonOffset, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__renderWithPolygonOffset__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod2(void, renderWithNoDepthBuffer, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__renderWithNoDepthBuffer__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod2(void, renderWithDepthRange, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__renderWithDepthRange__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod2(void, renderWithStencilBuffer, IN, osg::State &, state, IN, const osg::Vec4 &, colorMultiplier,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__renderWithStencilBuffer__osg_State_R1__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod10(float, bilinearInterpolate, IN, float, x1, IN, float, x2, IN, float, y1, IN, float, y2, IN, float, x, IN, float, y, IN, float, q11, IN, float, q12, IN, float, q21, IN, float, q22,
Properties::NON_VIRTUAL,
Properties::CONST,
__float__bilinearInterpolate__float__float__float__float__float__float__float__float__float__float,
"",
"");
I_ProtectedMethod2(void, convertHsvToRgb, IN, float, hsv, IN, float, rgb,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__convertHsvToRgb__float__float,
"",
"");
I_ProtectedMethod2(void, convertRgbToHsv, IN, float, rgb, IN, float, hsv,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__convertRgbToHsv__float__float,
"",
"");
I_SimpleProperty(osgText::Text::AlignmentType, Alignment,
__AlignmentType__getAlignment,
__void__setAlignment__AlignmentType);