Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Modules/ImageProcessor/VLCImageProcessor/VLCTypes.h

Go to the documentation of this file.
00001 /**
00002 * @file VLCTypes.h
00003 * 
00004 * This file contains types for Image Processing.
00005 *
00006 * @author Tobias Wegner
00007 */
00008 
00009 #ifndef __VLCTypes_h_
00010 #define __VLCTypes_h_
00011 
00012 #include <iostream>
00013 
00014 #include "LocalDefinitions.h"
00015 #include "Tools/Math/Vector2.h"
00016 #include "Tools/ColorClasses.h"
00017 
00018 struct GreenChangeEvent
00019 {
00020   bool      startEvent;
00021   Vector2<int>  positionOnImage;
00022   int       distanceToHorizon;
00023   int       lineID;
00024 };
00025 
00026 struct VLCRectangle
00027 {
00028   int x1, x2, y1, y2;
00029 };
00030 
00031 struct PerceptInfo
00032 {
00033   Vector2<int>  position;
00034   double      direction;
00035   double      validity;
00036 
00037   colorClass    color;
00038 
00039   double      gradient;
00040 
00041   Vector2<int>  minBounding;
00042   Vector2<int>  maxBounding;
00043   Vector2<int>  bottomLine;
00044 
00045   int       count;
00046 
00047   unsigned int  flags;
00048   unsigned int  lines;
00049 };
00050 
00051 #define DEBUG
00052 
00053 #ifdef DEBUG
00054 #define CRASH_CHECK(I)  if (I > 10000) { cout << "possible endless loop in " << __FILE__ << ":" << __LINE__ << "\n"; };
00055 #else
00056 #define CRASH_CHECK(I)
00057 #endif
00058 
00059 #endif

Generated on Mon Mar 20 21:59:54 2006 for GT2005 by doxygen 1.3.6