The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

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

eyeobject.h

Go to the documentation of this file.
00001 /* 
00002  *  EYEOBJECT.h
00003  *
00004  *  Created by Bret Fortenberry on Aug 27, 2003.
00005  *  Fixes: 
00006  * 
00007  *  Copyright (c) 2003 Machine Perception Laboratory 
00008  *  University of California San Diego.
00009  * 
00010  * Please read the disclaimer and notes about redistribution 
00011  * at the end of this file.
00012  *  
00013  */
00014 
00015 #ifndef _EYEOBJECT_H_
00016 #define _EYEOBJECT_H_
00017 
00018 #include "visualobject.h"
00019 #include <algorithm>
00020 #include <list>
00021 #include <math.h>
00022 
00023 using namespace std;
00024 
00025 
00026 class EyeObject : public VisualObject
00027 {
00028  public:
00029         //double activation;
00030         double cascade_level;
00031         int flag;
00032 
00033 
00034         EyeObject(feature_type eye);//eye = righteye || lefteye
00035         EyeObject(feature_type eye, float x_in, float y_in, float xSize_in, float ySize_in, float scale_in);
00036         EyeObject(feature_type eye, float x_in, float y_in, float scale_in, double activation_in, double cascade_in);
00037         EyeObject(const EyeObject &thelist);
00038         EyeObject(TSquare<float> &square, feature_type eye);
00039         ~EyeObject();
00040 
00041         bool operator>(const EyeObject &b ) const {
00042                 return (this->activation > b.activation);
00043         }
00044         bool operator<(const EyeObject &b) const {
00045                 return (this->activation < b.activation);
00046         }
00047 
00048 };
00049 
00050 
00051 
00052 
00053 
00054 #endif
00055 
00056 /*
00057  * 
00058  * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
00059  * 
00060  *    1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
00061  *    2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
00062  *    3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
00063  * 
00064  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00065  * 
00066  */

Generated on Mon Nov 8 17:07:33 2004 for MPT by  doxygen 1.3.9.1