ImageConverter.h
Go to the documentation of this file.
00001 
00007 #ifndef OPENHRP_UTIL_IMAGECONVERTER_H_INCLUDED
00008 #define OPENHRP_UTIL_IMAGECONVERTER_H_INCLUDED
00009 
00010 #include "config.h"
00011 
00012 #include "VrmlNodes.h"
00013 
00014 using namespace std;
00015 
00016 namespace hrp
00017 {
00018 
00019     class ImageConverter
00020     {
00021     private:
00022         bool    initializeSFImage();
00023         bool    loadPNG( string & filePath );
00024         bool    loadJPEG( string & filePath );
00025 
00026     public:
00027         SFImage* image;
00028         ImageConverter(void){
00029             image = new SFImage;
00030         };
00031         virtual ~ImageConverter(void){
00032             delete image;
00033         };
00034 
00035         HRP_UTIL_EXPORT SFImage* convert( string url );
00036     };
00037 
00038 };
00039 
00040 #endif
00041 


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:17