SO3Engine
|
#include <SO3ConversionTools.h>
Classes | |
class | SConvertBuffer |
Static Public Member Functions | |
static std::string | GetValidImageExtension (std::string ext) |
static bool | SaveOgreImage (Ogre::Image &image, boost::filesystem::path &path) |
static bool | SaveImage (const std::string &filename, int w, int h, int comp, const void *data, int quality=90) |
static int | OgreToScolColorRGBA (const Ogre::ColourValue &ogreColor) |
static Ogre::ColourValue | ScolToOgreColorRGBA (const int &scolColor) |
static int | OgreToScolColorRGB (const Ogre::ColourValue &ogreColor) |
static Ogre::ColourValue | ScolToOgreColorRGB (const int &scolColor) |
static void | bitmapToBuff (const int start, const int end, const SConvertBuffer &conv) |
static void | bitmapsToBuffPf (const int start, const int end, const SConvertBuffer &conv, const Ogre::PixelFormat format) |
static void | bitmapsToScaleBuffNearest (const int start, const int end, const SConvertBuffer &conv, const Ogre::PixelFormat format, const int x_ratio, const int y_ratio) |
static void | bitmapsToScaleBuffBilinear (const int start, const int end, const SConvertBuffer &conv, const Ogre::PixelFormat format, const float x_ratio, const float y_ratio) |
static void | ScolBitmapGetRGB (PtrObjBitmap scolBitmap, unsigned char *buff) |
static void | ScolBitmapGetRGBA (PtrObjBitmap scolBitmap, PtrObjBitmap alphaBitmap, const Ogre::PixelBox &pixelbox) |
static void | ScolBitmapGetRGBA (PtrObjBitmap scolBitmap, PtrObjBitmap alphaBitmap, void *buff) |
static void | ScolBitmapGetRGBA (PtrObjBitmap scolBitmap, PtrObjBitmap alphaBitmap, Ogre::PixelFormat format, void *buff) |
static void | ScolBitmapGetRGBA (PtrObjBitmap scolBitmap, PtrObjBitmap alphaBitmap, unsigned int nwidth, unsigned int nheight, Ogre::PixelFormat format, void *buff) |
static void | ScolBitmapGetRGBA (const uchar *sbuff, const int swidth, const int sheight, const int sbpp, const int sbpl, unsigned int nwidth, unsigned int nheight, Ogre::PixelFormat format, void *buff) |
static float | formatFloat (float val) |
static std::string | formatFloatToString (double val) |
static std::string | formatFloatToString (float val) |
static double | formatFloat (double val) |
static double | Roundn (double dValue, int nDecimales) |
static bool | fequal (float a, float b) |
Detailed Description
This class do not need to be instanciated, as all her member functions are static.
Definition at line 48 of file SO3ConversionTools.h.
Member Function Documentation
◆ bitmapsToBuffPf()
|
static |
Definition at line 177 of file SO3ConversionTools.cpp.
◆ bitmapsToScaleBuffBilinear()
|
static |
Definition at line 228 of file SO3ConversionTools.cpp.
◆ bitmapsToScaleBuffNearest()
|
static |
Definition at line 201 of file SO3ConversionTools.cpp.
◆ bitmapToBuff()
|
static |
Definition at line 157 of file SO3ConversionTools.cpp.
◆ fequal()
|
static |
Definition at line 652 of file SO3ConversionTools.cpp.
◆ formatFloat() [1/2]
|
static |
Definition at line 687 of file SO3ConversionTools.cpp.
◆ formatFloat() [2/2]
|
static |
Definition at line 682 of file SO3ConversionTools.cpp.
◆ formatFloatToString() [1/2]
|
static |
Definition at line 700 of file SO3ConversionTools.cpp.
◆ formatFloatToString() [2/2]
|
static |
Definition at line 692 of file SO3ConversionTools.cpp.
◆ GetValidImageExtension()
|
static |
Definition at line 34 of file SO3ConversionTools.cpp.
◆ OgreToScolColorRGB()
|
static |
Definition at line 137 of file SO3ConversionTools.cpp.
◆ OgreToScolColorRGBA()
|
static |
Definition at line 115 of file SO3ConversionTools.cpp.
◆ Roundn()
|
static |
Definition at line 668 of file SO3ConversionTools.cpp.
◆ SaveImage()
|
static |
Definition at line 75 of file SO3ConversionTools.cpp.
◆ SaveOgreImage()
|
static |
Definition at line 42 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGB()
|
static |
Definition at line 288 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGBA() [1/5]
|
static |
Definition at line 587 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGBA() [2/5]
|
static |
Definition at line 326 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGBA() [3/5]
|
static |
Definition at line 468 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGBA() [4/5]
|
static |
Definition at line 512 of file SO3ConversionTools.cpp.
◆ ScolBitmapGetRGBA() [5/5]
|
static |
Definition at line 432 of file SO3ConversionTools.cpp.
◆ ScolToOgreColorRGB()
|
static |
Definition at line 147 of file SO3ConversionTools.cpp.
◆ ScolToOgreColorRGBA()
|
static |
Definition at line 126 of file SO3ConversionTools.cpp.
The documentation for this class was generated from the following files:
- include/SO3Utils/SO3ConversionTools.h
- src/SO3Utils/SO3ConversionTools.cpp
Generated by 1.9.8