Files
OpenSceneGraph/src/osgWrappers/osgUtil/CubeMapGenerator.cpp
Robert Osfield 0e475106dc Updated wrappers
2007-08-10 17:44:54 +00:00

67 lines
2.8 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/TextureCubeMap>
#include <osgUtil/CubeMapGenerator>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator)
I_DeclaringFile("osgUtil/CubeMapGenerator");
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::EXPLICIT,
____CubeMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::CubeMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CubeMapGenerator__C5_CubeMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method1(osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_Method1(const osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_MethodWithDefaults1(void, generateMap, IN, bool, use_osg_system, true,
Properties::NON_VIRTUAL,
__void__generateMap__bool,
"Generate the six cube images. ",
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one. ");
I_ProtectedMethod4(void, set_pixel, IN, int, index, IN, int, c, IN, int, r, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__set_pixel__int__int__int__C5_osg_Vec4_R1,
"",
"");
I_ProtectedMethod1(osg::Vec4, compute_color, IN, const osg::Vec3 &, R,
Properties::PURE_VIRTUAL,
Properties::CONST,
__osg_Vec4__compute_color__C5_osg_Vec3_R1,
"Override this method to define how colors are computed. ",
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. ");
END_REFLECTOR