Choreonoid  1.1
ImageConverter.h
説明を見る。
1 
7 #ifndef CNOID_UTIL_IMAGECONVERTER_H_INCLUDED
8 #define CNOID_UTIL_IMAGECONVERTER_H_INCLUDED
9 
10 #include "VrmlNodes.h"
11 #include "exportdecl.h"
12 
13 namespace cnoid
14 {
16  {
17  private:
18  bool initializeSFImage();
19  bool loadPNG(const std::string & filePath);
20  bool loadJPEG(const std::string & filePath);
21 
22  public:
24  ImageConverter(void);
25  ~ImageConverter(void);
26 
27  CNOID_EXPORT SFImage* convert(const std::string& url);
28  };
29 };
30 
31 #endif
32