mi_object_type.hh

00001 #ifndef __MI_OBJECT_TYPE_H
00002 #define __MI_OBJECT_TYPE_H
00003 
00004 #include <boost/smart_ptr.hpp>
00005 #include <mimas/mm_object.h>
00006 #include <mimas/mm_xml_reference.h>
00007 #include "mi_pose.hh"
00008 
00014 class mi_object_type: public mimas::mm_object
00015 {
00016  public:
00020   mi_object_type( const mimas::mm_xml_reference< XalanElement >
00021                   &configuration );
00022   // Get offset.
00023   // const mi_pose &get_offset(void) const { return offset; }
00024   // Set offset.
00025   // void set_offset( const mi_pose &_offset ) { offset = _offset; }
00027   const std::string get_recognition_method(void) const
00028     { return recognition; }
00030   const std::string get_tracking_method(void) const
00031     { return tracking; }
00032  protected:
00033   // Offset.
00034   // mi_pose offset;
00036   std::string recognition;
00038   std::string tracking;
00039 };
00040 
00042 typedef boost::shared_ptr< mi_object_type > mi_object_type_ptr;
00043 
00045 
00046 #endif

doxygen-1.4.5 documentation for micron-vision - Tue Jan 17 15:29:15 2006