00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef MRPT_WX_UTILS_H
00029 #define MRPT_WX_UTILS_H
00030
00031 #include <mrpt/utils/utils_defs.h>
00032 #include <mrpt/config.h>
00033 #include <mrpt/synch.h>
00034
00035 #include <map>
00036 #include <queue>
00037
00038 #if MRPT_HAS_WXWIDGETS
00039
00040 #include <wx/sizer.h>
00041 #include <wx/statbmp.h>
00042 #include <wx/menu.h>
00043 #include <wx/toolbar.h>
00044 #include <wx/frame.h>
00045 #include <wx/timer.h>
00046 #include <wx/statusbr.h>
00047 #include <wx/msgdlg.h>
00048 #include <wx/artprov.h>
00049 #include <wx/bitmap.h>
00050 #include <wx/intl.h>
00051 #include <wx/image.h>
00052 #include <wx/string.h>
00053 #include <wx/msgdlg.h>
00054 #include <wx/filedlg.h>
00055 #include <wx/progdlg.h>
00056 #include <wx/imaglist.h>
00057 #include <wx/busyinfo.h>
00058 #include <wx/log.h>
00059 #include <wx/textdlg.h>
00060 #include <wx/dirdlg.h>
00061 #include <wx/colordlg.h>
00062 #include <wx/dcmemory.h>
00063 #include <wx/app.h>
00064 #include <wx/pen.h>
00065
00066 #endif
00067
00068 namespace mrpt
00069 {
00070 namespace utils { class CMRPTImage; }
00071
00072 namespace gui
00073 {
00074 #if MRPT_HAS_WXWIDGETS
00075
00079 wxImage MRPTDLLIMPEXP * MRPTImage2wxImage( const mrpt::utils::CMRPTImage &img );
00080
00081 #if MRPT_HAS_OPENCV
00082
00085 wxImage MRPTDLLIMPEXP * IplImage2wxImage( void* img );
00086 #endif
00087
00091 mrpt::utils::CMRPTImage MRPTDLLIMPEXP * wxImage2MRPTImage( const wxImage &img );
00092 #endif
00093
00094 }
00095 }
00096
00097 #endif