pol_scene.h

Go to the documentation of this file.
00001 #ifndef POL_SCENE_H
00002 #define POL_SCENE_H
00003 
00004 
00005 #include "mimasconfig.h"
00006 
00007 #include <boost/shared_ptr.hpp>
00008 #include "image.h"
00009 #include "pol_locator.h"
00010 #include "pol_model.h"
00011 
00012 namespace mimas {
00025 class pol_scene : public pol
00026 {
00027 private:
00028 //    image<int>    scene;
00029               // maybe
00030     int       im_width,im_height;
00031       pol_line_info_ptr_list  scene_line_info;   
00032 
00033     void      makeEntries( pol_model& m,pol_locator& locate);
00034 
00035 
00036 public:
00037     pol_scene()
00038     {
00039   im_width=im_height=0;
00040     }
00041 //     ~pol_scene()
00042 //     {
00043 //  pol_line_info_ptr_list::iterator  i;
00044 //  for(i=scene_line_info.begin(); i!=scene_line_info.end(); ++i)
00045 //  {
00046 //      delete (*i);
00047 //  }
00048 
00049 //  scene_line_info.clear();
00050 //     }
00051 
00055     void    createFromImageFile( const char *fn );
00059     void    createFromImage( image<int> & im );
00063     void  createFromLines( line_ptr_list &scene_lines, int , int );
00068     pol_match_ptr_list getMatches( pol_model& m );
00069 
00070     pol_match_ptr_list fastFind( pol_model& m,image<int>& im);
00071 };
00072 
00073 }
00074 #endif
00075 

[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:17 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...