00001
00002
00003
00004
00005 #ifndef MICRO_H
00006 #define MICRO_H
00007
00008 #include "opencvext.h"
00009 #include <ostream>
00010
00011 namespace seemicro
00012 {
00013
00014 extern int DEBUGLEVEL;
00015
00020 class Micro
00021 {
00022
00023 public:
00024
00029 virtual void draw(IplImage* where,
00030 const bool filled=0,
00031 const double useColor=0,
00032 const bool setzero=1,
00033 const bool arm_auch=1);
00040 virtual Micro* clone()
00041 {
00042 return new Micro(*this);
00043 }
00044
00046 public:
00050 mypoint mitte;
00051 bool mitteValid;
00055 float radius;
00056 bool radiusValid;
00061 float alpha;
00062 bool alphaValid;
00063 };
00064
00068 std::ostream& operator<<(std::ostream& s, const Micro& m);
00069
00070 }
00071
00072 #endif // MICRO_H