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 
20  {
21  private:
22  bool initializeSFImage();
23  bool loadPNG( string & filePath );
24  bool loadJPEG( string & filePath );
25 
26  public:
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 
config.h
hrp::ImageConverter::ImageConverter
ImageConverter(void)
Definition: ImageConverter.h:28
hrp::ImageConverter::image
SFImage * image
Definition: ImageConverter.h:27
hrp::ImageConverter
Definition: ImageConverter.h:19
hrp
Definition: ColdetModel.h:28
VrmlNodes.h
image
png_bytepp image
Definition: png.h:1769
hrp::SFImage
Definition: VrmlNodes.h:61
HRP_UTIL_EXPORT
#define HRP_UTIL_EXPORT
Definition: hrplib/hrpUtil/config.h:21
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 Wed Sep 7 2022 02:51:03