#include <ImageConverter.h>
Definition at line 19 of file ImageConverter.h.
hrp::ImageConverter::ImageConverter |
( |
void |
| ) |
|
|
inline |
virtual hrp::ImageConverter::~ImageConverter |
( |
void |
| ) |
|
|
inlinevirtual |
SFImage * ImageConverter::convert |
( |
string |
url | ) |
|
convert ImageTexture node to PixelTexture node
- Note
- read image data from VrmlImageTexture::url and store pixel data to VrmlPixelTexture::image. .png and *.jpg are supported. Currentry, multi url is not supported.
- Date
- 2008-04-14 K.FUKUDA
- Returns
- bool true : succeeded / false : failed
Definition at line 60 of file ImageConverter.cpp.
bool ImageConverter::initializeSFImage |
( |
| ) |
|
|
private |
initialize "SFImage"
- Note
- use before using "SFImage" structure
- Date
- 2008-04-14 K.FUKUDA
- Returns
- bool true : succeeded / false : failed
Definition at line 34 of file ImageConverter.cpp.
bool ImageConverter::loadJPEG |
( |
string & |
filePath | ) |
|
|
private |
bool ImageConverter::loadPNG |
( |
string & |
filePath | ) |
|
|
private |
SFImage* hrp::ImageConverter::image |
The documentation for this class was generated from the following files: