image.cpp
来自「最新osg包」· C++ 代码 · 共 479 行 · 第 1/2 页
CPP
479 行
""); I_Method0(unsigned int, getTotalSizeInBytesIncludingMipmaps, Properties::NON_VIRTUAL, __unsigned_int__getTotalSizeInBytesIncludingMipmaps, "Return the number of bytes the whole row/image/volume of pixels occupies, including all mip maps if included. ", ""); I_Method0(bool, valid, Properties::NON_VIRTUAL, __bool__valid, "Return true if the Image represent a valid and usable imagery. ", ""); I_Method0(unsigned char *, data, Properties::NON_VIRTUAL, __unsigned_char_P1__data, "Raw image data. ", ""); I_Method0(const unsigned char *, data, Properties::NON_VIRTUAL, __C5_unsigned_char_P1__data, "Raw const image data. ", ""); I_MethodWithDefaults3(unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0, Properties::NON_VIRTUAL, __unsigned_char_P1__data__int__int__int, "", ""); I_MethodWithDefaults3(const unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0, Properties::NON_VIRTUAL, __C5_unsigned_char_P1__data__int__int__int, "", ""); I_MethodWithDefaults3(osg::Vec4, getColor, IN, unsigned int, s, , IN, unsigned, t, 0, IN, unsigned, r, 0, Properties::NON_VIRTUAL, __Vec4__getColor__unsigned_int__unsigned__unsigned, "Get the color value for specified texcoord. ", ""); I_Method1(osg::Vec4, getColor, IN, const osg::Vec2 &, texcoord, Properties::NON_VIRTUAL, __Vec4__getColor__C5_Vec2_R1, "Get the color value for specified texcoord. ", ""); I_Method1(osg::Vec4, getColor, IN, const osg::Vec3 &, texcoord, Properties::NON_VIRTUAL, __Vec4__getColor__C5_Vec3_R1, "Get the color value for specified texcoord. ", ""); I_Method0(void, flipHorizontal, Properties::NON_VIRTUAL, __void__flipHorizontal, "Flip the image horizontally. ", ""); I_Method0(void, flipVertical, Properties::NON_VIRTUAL, __void__flipVertical, "Flip the image vertically. ", ""); I_Method1(void, ensureValidSizeForTexturing, IN, GLint, maxTextureSize, Properties::NON_VIRTUAL, __void__ensureValidSizeForTexturing__GLint, "Ensure image dimensions are a power of two. ", "Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. "); I_Method0(void, dirty, Properties::NON_VIRTUAL, __void__dirty, "Dirty the image, which increments the modified count, to force osg::Texture to reload the image. ", ""); I_Method1(void, setModifiedCount, IN, unsigned int, value, Properties::NON_VIRTUAL, __void__setModifiedCount__unsigned_int, "Set the modified count value. ", "Used by osg::Texture when using texture subloading. "); I_Method0(unsigned int, getModifiedCount, Properties::NON_VIRTUAL, __unsigned_int__getModifiedCount, "Get modified count value. ", "Used by osg::Texture when using texture subloading. "); I_Method0(bool, isMipmap, Properties::NON_VIRTUAL, __bool__isMipmap, "", ""); I_Method0(unsigned int, getNumMipmapLevels, Properties::NON_VIRTUAL, __unsigned_int__getNumMipmapLevels, "", ""); I_Method1(void, setMipmapLevels, IN, const osg::Image::MipmapDataType &, mipmapDataVector, Properties::NON_VIRTUAL, __void__setMipmapLevels__C5_MipmapDataType_R1, "Send offsets into data. ", "It is assumed that first mipmap offset (index 0) is 0. "); I_Method0(const osg::Image::MipmapDataType &, getMipmapLevels, Properties::NON_VIRTUAL, __C5_MipmapDataType_R1__getMipmapLevels, "", ""); I_Method1(unsigned int, getMipmapOffset, IN, unsigned int, mipmapLevel, Properties::NON_VIRTUAL, __unsigned_int__getMipmapOffset__unsigned_int, "", ""); I_Method1(unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel, Properties::NON_VIRTUAL, __unsigned_char_P1__getMipmapData__unsigned_int, "", ""); I_Method1(const unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel, Properties::NON_VIRTUAL, __C5_unsigned_char_P1__getMipmapData__unsigned_int, "", ""); I_Method0(bool, isImageTranslucent, Properties::NON_VIRTUAL, __bool__isImageTranslucent, "Return true if this image is translucent - i.e. ", "it has alpha values that are less 1.0 (when normalized). "); I_Method1(void, setPixelBufferObject, IN, osg::PixelBufferObject *, buffer, Properties::NON_VIRTUAL, __void__setPixelBufferObject__PixelBufferObject_P1, "Set the optional PixelBufferObject used to map the image memory efficiently to graphics memory. ", ""); I_Method0(osg::PixelBufferObject *, getPixelBufferObject, Properties::NON_VIRTUAL, __PixelBufferObject_P1__getPixelBufferObject, "Get the PixelBufferObject. ", ""); I_Method0(const osg::PixelBufferObject *, getPixelBufferObject, Properties::NON_VIRTUAL, __C5_PixelBufferObject_P1__getPixelBufferObject, "Get the const PixelBufferObject. ", ""); I_Method1(void, update, IN, osg::NodeVisitor *, nv, Properties::VIRTUAL, __void__update__NodeVisitor_P1, "", ""); I_Method3(void, sendPointerEvent, IN, int, x, IN, int, y, IN, int, buttonMask, Properties::VIRTUAL, __void__sendPointerEvent__int__int__int, "method for sending pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", ""); I_Method2(void, sendKeyEvent, IN, int, key, IN, bool, keyDown, Properties::VIRTUAL, __void__sendKeyEvent__int__bool, "method for sending key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", ""); I_StaticMethod1(bool, isPackedType, IN, GLenum, type, __bool__isPackedType__GLenum_S, "", ""); I_StaticMethod1(GLenum, computePixelFormat, IN, GLenum, pixelFormat, __GLenum__computePixelFormat__GLenum_S, "", ""); I_StaticMethod1(unsigned int, computeNumComponents, IN, GLenum, pixelFormat, __unsigned_int__computeNumComponents__GLenum_S, "", ""); I_StaticMethod2(unsigned int, computePixelSizeInBits, IN, GLenum, pixelFormat, IN, GLenum, type, __unsigned_int__computePixelSizeInBits__GLenum__GLenum_S, "", ""); I_StaticMethod4(unsigned int, computeRowWidthInBytes, IN, int, width, IN, GLenum, pixelFormat, IN, GLenum, type, IN, int, packing, __unsigned_int__computeRowWidthInBytes__int__GLenum__GLenum__int_S, "", ""); I_StaticMethodWithDefaults2(int, computeNearestPowerOfTwo, IN, int, s, , IN, float, bias, 0.5f, __int__computeNearestPowerOfTwo__int__float_S, "", ""); I_StaticMethodWithDefaults3(int, computeNumberOfMipmapLevels, IN, int, s, , IN, int, t, 1, IN, int, r, 1, __int__computeNumberOfMipmapLevels__int__int__int_S, "", ""); I_ProtectedMethod0(void, deallocateData, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__deallocateData, "", ""); I_ProtectedMethod2(void, setData, IN, unsigned char *, data, IN, osg::Image::AllocationMode, allocationMode, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__setData__unsigned_char_P1__AllocationMode, "", ""); I_SimpleProperty(osg::Image::AllocationMode, AllocationMode, __AllocationMode__getAllocationMode, __void__setAllocationMode__AllocationMode); I_SimpleProperty(GLenum, DataType, __GLenum__getDataType, __void__setDataType__GLenum); I_SimpleProperty(const std::string &, FileName, __C5_std_string_R1__getFileName, __void__setFileName__C5_std_string_R1); I_SimpleProperty(unsigned int, ImageSizeInBytes, __unsigned_int__getImageSizeInBytes, 0); I_SimpleProperty(GLint, InternalTextureFormat, __GLint__getInternalTextureFormat, __void__setInternalTextureFormat__GLint); I_SimpleProperty(const osg::Image::MipmapDataType &, MipmapLevels, __C5_MipmapDataType_R1__getMipmapLevels, __void__setMipmapLevels__C5_MipmapDataType_R1); I_SimpleProperty(unsigned int, ModifiedCount, __unsigned_int__getModifiedCount, __void__setModifiedCount__unsigned_int); I_SimpleProperty(osg::Image::Origin, Origin, __Origin__getOrigin, __void__setOrigin__Origin); I_SimpleProperty(unsigned int, Packing, __unsigned_int__getPacking, __void__setPacking__unsigned_int); I_SimpleProperty(osg::PixelBufferObject *, PixelBufferObject, __PixelBufferObject_P1__getPixelBufferObject, __void__setPixelBufferObject__PixelBufferObject_P1); I_SimpleProperty(GLenum, PixelFormat, __GLenum__getPixelFormat, __void__setPixelFormat__GLenum); I_SimpleProperty(unsigned int, PixelSizeInBits, __unsigned_int__getPixelSizeInBits, 0); I_SimpleProperty(unsigned int, RowSizeInBytes, __unsigned_int__getRowSizeInBytes, 0); I_SimpleProperty(unsigned int, TotalSizeInBytes, __unsigned_int__getTotalSizeInBytes, 0); I_SimpleProperty(unsigned int, TotalSizeInBytesIncludingMipmaps, __unsigned_int__getTotalSizeInBytesIncludingMipmaps, 0); I_SimpleProperty(osg::Image::WriteHint, WriteHint, __WriteHint__getWriteHint, __void__setWriteHint__WriteHint);END_REFLECTORSTD_VECTOR_REFLECTOR(std::vector< unsigned int >)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?