139 lines
5.3 KiB
C++
139 lines
5.3 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/Object>
|
|
#include <osgDB/ImageOptions>
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
#ifdef IN
|
|
#undef IN
|
|
#endif
|
|
#ifdef OUT
|
|
#undef OUT
|
|
#endif
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageWindowMode)
|
|
I_EnumLabel(osgDB::ImageOptions::ALL_IMAGE);
|
|
I_EnumLabel(osgDB::ImageOptions::RATIO_WINDOW);
|
|
I_EnumLabel(osgDB::ImageOptions::PIXEL_WINDOW);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageSamplingMode)
|
|
I_EnumLabel(osgDB::ImageOptions::NEAREST);
|
|
I_EnumLabel(osgDB::ImageOptions::LINEAR);
|
|
I_EnumLabel(osgDB::ImageOptions::CUBIC);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::ImageOptions)
|
|
I_BaseType(osgDB::ReaderWriter::Options);
|
|
I_Constructor0(____ImageOptions,
|
|
"",
|
|
"");
|
|
I_Constructor1(IN, const std::string &, str,
|
|
Properties::NON_EXPLICIT,
|
|
____ImageOptions__C5_std_string_R1,
|
|
"",
|
|
"");
|
|
I_ConstructorWithDefaults2(IN, const osgDB::ImageOptions &, options, , IN, const osg::CopyOp, copyop, osg::CopyOp::SHALLOW_COPY,
|
|
____ImageOptions__C5_ImageOptions_R1__C5_osg_CopyOp,
|
|
"",
|
|
"");
|
|
I_Method0(osg::Object *, cloneType,
|
|
Properties::VIRTUAL,
|
|
__osg_Object_P1__cloneType,
|
|
"Clone the type of an object, with Object* return type. ",
|
|
"Must be defined by derived classes. ");
|
|
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
|
Properties::VIRTUAL,
|
|
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
|
"Clone an object, with Object* return type. ",
|
|
"Must be defined by derived classes. ");
|
|
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
|
Properties::VIRTUAL,
|
|
__bool__isSameKindAs__C5_osg_Object_P1,
|
|
"",
|
|
"");
|
|
I_Method0(const char *, libraryName,
|
|
Properties::VIRTUAL,
|
|
__C5_char_P1__libraryName,
|
|
"return the name of the object's library. ",
|
|
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
|
I_Method0(const char *, className,
|
|
Properties::VIRTUAL,
|
|
__C5_char_P1__className,
|
|
"return the name of the object's class type. ",
|
|
"Must be defined by derived classes. ");
|
|
I_Method0(void, init,
|
|
Properties::NON_VIRTUAL,
|
|
__void__init,
|
|
"",
|
|
"");
|
|
I_PublicMemberProperty(osgDB::ImageOptions::ImageSamplingMode, _sourceImageSamplingMode);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::ImageWindowMode, _sourceImageWindowMode);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::RatioWindow, _sourceRatioWindow);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::PixelWindow, _sourcePixelWindow);
|
|
I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _destinationImage);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::ImageWindowMode, _destinationImageWindowMode);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::RatioWindow, _destinationRatioWindow);
|
|
I_PublicMemberProperty(osgDB::ImageOptions::PixelWindow, _destinationPixelWindow);
|
|
I_PublicMemberProperty(GLenum, _destinationDataType);
|
|
I_PublicMemberProperty(GLenum, _destinationPixelFormat);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::PixelWindow)
|
|
I_Constructor0(____PixelWindow,
|
|
"",
|
|
"");
|
|
I_Method4(void, set, IN, unsigned int, x, IN, unsigned int, y, IN, unsigned int, w, IN, unsigned int, h,
|
|
Properties::NON_VIRTUAL,
|
|
__void__set__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
|
"",
|
|
"");
|
|
I_PublicMemberProperty(unsigned int, windowX);
|
|
I_PublicMemberProperty(unsigned int, windowY);
|
|
I_PublicMemberProperty(unsigned int, windowWidth);
|
|
I_PublicMemberProperty(unsigned int, windowHeight);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::RatioWindow)
|
|
I_Constructor0(____RatioWindow,
|
|
"",
|
|
"");
|
|
I_Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h,
|
|
Properties::NON_VIRTUAL,
|
|
__void__set__double__double__double__double,
|
|
"",
|
|
"");
|
|
I_PublicMemberProperty(double, windowX);
|
|
I_PublicMemberProperty(double, windowY);
|
|
I_PublicMemberProperty(double, windowWidth);
|
|
I_PublicMemberProperty(double, windowHeight);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::ImageOptions::TexCoordRange)
|
|
I_BaseType(osg::Referenced);
|
|
I_Constructor0(____TexCoordRange,
|
|
"",
|
|
"");
|
|
I_Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h,
|
|
Properties::NON_VIRTUAL,
|
|
__void__set__double__double__double__double,
|
|
"",
|
|
"");
|
|
I_PublicMemberProperty(double, _x);
|
|
I_PublicMemberProperty(double, _y);
|
|
I_PublicMemberProperty(double, _w);
|
|
I_PublicMemberProperty(double, _h);
|
|
END_REFLECTOR
|
|
|