#include <ImageConverter.h>
Public Member Functions | |
HRP_UTIL_EXPORT SFImage * | convert (string url) |
convert ImageTexture node to PixelTexture node | |
ImageConverter (void) | |
virtual | ~ImageConverter (void) |
Public Attributes | |
SFImage * | image |
Private Member Functions | |
bool | initializeSFImage () |
initialize "SFImage" | |
bool | loadJPEG (string &filePath) |
load JPEG file | |
bool | loadPNG (string &filePath) |
load PNG file |
Definition at line 19 of file ImageConverter.h.
hrp::ImageConverter::ImageConverter | ( | void | ) | [inline] |
Definition at line 28 of file ImageConverter.h.
virtual hrp::ImageConverter::~ImageConverter | ( | void | ) | [inline, virtual] |
Definition at line 31 of file ImageConverter.h.
SFImage * ImageConverter::convert | ( | string | url | ) |
convert ImageTexture node to PixelTexture node
Definition at line 60 of file ImageConverter.cpp.
bool ImageConverter::initializeSFImage | ( | ) | [private] |
initialize "SFImage"
Definition at line 34 of file ImageConverter.cpp.
bool ImageConverter::loadJPEG | ( | string & | filePath | ) | [private] |
load JPEG file
Definition at line 251 of file ImageConverter.cpp.
bool ImageConverter::loadPNG | ( | string & | filePath | ) | [private] |
load PNG file
Definition at line 105 of file ImageConverter.cpp.
Definition at line 27 of file ImageConverter.h.