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 
png_bytepp image
Definition: png.h:1772
#define HRP_UTIL_EXPORT
virtual ~ImageConverter(void)


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