#include <ImageConverter.h>
Definition at line 19 of file ImageConverter.h.
◆ ImageConverter()
hrp::ImageConverter::ImageConverter |
( |
void |
| ) |
|
|
inline |
◆ ~ImageConverter()
virtual hrp::ImageConverter::~ImageConverter |
( |
void |
| ) |
|
|
inlinevirtual |
◆ convert()
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.
◆ initializeSFImage()
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.
◆ loadJPEG()
bool ImageConverter::loadJPEG |
( |
string & |
filePath | ) |
|
|
private |
◆ loadPNG()
bool ImageConverter::loadPNG |
( |
string & |
filePath | ) |
|
|
private |
◆ image
SFImage* hrp::ImageConverter::image |
The documentation for this class was generated from the following files: