hrplib
hrpUtil
ImageConverter.h
Go to the documentation of this file.
1
7
#ifndef OPENHRP_UTIL_IMAGECONVERTER_H_INCLUDED
8
#define OPENHRP_UTIL_IMAGECONVERTER_H_INCLUDED
9
10
#include "
config.h
"
11
12
#include "
VrmlNodes.h
"
13
14
using namespace
std
;
15
16
namespace
hrp
17
{
18
19
class
ImageConverter
20
{
21
private
:
22
bool
initializeSFImage();
23
bool
loadPNG(
string
& filePath );
24
bool
loadJPEG(
string
& filePath );
25
26
public
:
27
SFImage
*
image
;
28
ImageConverter
(
void
){
29
image =
new
SFImage
;
30
};
31
virtual
~ImageConverter
(
void
){
32
delete
image
;
33
};
34
35
HRP_UTIL_EXPORT
SFImage
* convert(
string
url );
36
};
37
38
};
39
40
#endif
41
hrp::ImageConverter
Definition:
ImageConverter.h:19
config.h
hrp::ImageConverter::ImageConverter
ImageConverter(void)
Definition:
ImageConverter.h:28
std
image
png_bytepp image
Definition:
png.h:1772
VrmlNodes.h
HRP_UTIL_EXPORT
#define HRP_UTIL_EXPORT
Definition:
hrplib/hrpUtil/config.h:21
hrp::ImageConverter::image
SFImage * image
Definition:
ImageConverter.h:27
hrp
Definition:
ColdetModel.h:28
hrp::SFImage
Definition:
VrmlNodes.h:61
hrp::ImageConverter::~ImageConverter
virtual ~ImageConverter(void)
Definition:
ImageConverter.h:31
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:03