Added preliminary work on osg::TransferFunction

This commit is contained in:
Robert Osfield
2007-03-10 11:53:31 +00:00
parent 16ba0a2fa1
commit bff1b51361
7 changed files with 263 additions and 3 deletions

View File

@@ -0,0 +1,112 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Image>
#include <osg/Shader>
#include <osg/Texture>
#include <osg/TransferFunction>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TransferFunction)
I_BaseType(osg::Object);
I_Constructor0(____TransferFunction,
"",
"");
I_Method0(osg::Image *, getImage,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage,
"",
"");
I_Method0(const osg::Image *, getImage,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage,
"",
"");
I_Method0(osg::Texture *, getTexture,
Properties::NON_VIRTUAL,
__osg_Texture_P1__getTexture,
"",
"");
I_Method0(const osg::Texture *, getTexture,
Properties::NON_VIRTUAL,
__C5_osg_Texture_P1__getTexture,
"",
"");
I_Method0(osg::Shader *, getShader,
Properties::NON_VIRTUAL,
__osg_Shader_P1__getShader,
"",
"");
I_Method0(const osg::Shader *, getShader,
Properties::NON_VIRTUAL,
__C5_osg_Shader_P1__getShader,
"",
"");
I_SimpleProperty(osg::Image *, Image,
__osg_Image_P1__getImage,
0);
I_SimpleProperty(osg::Shader *, Shader,
__osg_Shader_P1__getShader,
0);
I_SimpleProperty(osg::Texture *, Texture,
__osg_Texture_P1__getTexture,
0);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TransferFunction1D)
I_BaseType(osg::TransferFunction);
I_Constructor0(____TransferFunction1D,
"",
"");
I_Method2(void, setInputRange, IN, float, minimum, IN, float, maximum,
Properties::NON_VIRTUAL,
__void__setInputRange__float__float,
"",
"");
I_Method1(void, allocate, IN, unsigned int, numX,
Properties::NON_VIRTUAL,
__void__allocate__unsigned_int,
"",
"");
I_MethodWithDefaults1(void, clear, IN, const osg::Vec4 &, color, osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f),
Properties::NON_VIRTUAL,
__void__clear__C5_osg_Vec4_R1,
"",
"");
I_Method0(unsigned int, getNumberCellsX,
Properties::NON_VIRTUAL,
__unsigned_int__getNumberCellsX,
"",
"");
I_MethodWithDefaults3(osg::Vec4 &, getValue, IN, unsigned int, i, , IN, unsigned int, j, 0, IN, unsigned int, k, 0,
Properties::NON_VIRTUAL,
__osg_Vec4_R1__getValue__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_MethodWithDefaults3(const osg::Vec4 &, getValue, IN, unsigned int, i, , IN, unsigned int, j, 0, IN, unsigned int, k, 0,
Properties::NON_VIRTUAL,
__C5_osg_Vec4_R1__getValue__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_SimpleProperty(unsigned int, NumberCellsX,
__unsigned_int__getNumberCellsX,
0);
END_REFLECTOR