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

beyesobject.h

Go to the documentation of this file.
00001 /* 
00002  *  BEYESOBJECT.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 _BEYESOBJECT_H_
00016 #define _BEYESOBJECT_H_
00017 
00018 
00019 
00020 class bEyesObject
00021 {
00022  public:
00023         float x;
00024         float y;
00025         float xSize;
00026         float ySize;
00027         float scale;
00028 
00029         float xLeft;
00030         float yLeft;
00031         float xRight;
00032         float yRight;
00033         float leftScale;
00034         float rightScale;
00035         bool leftEye;
00036         bool rightEye;
00037         double degrees;
00038 
00039         bEyesObject();
00040         bEyesObject(float xLeft_in, float yLeft_in, float xRight_in, float yRight_in);
00041         bEyesObject(bEyesObject &thelist);
00042         ~bEyesObject();
00043 
00044         double findEucDis();
00045         int findBox();
00046 
00047  private:
00048         float getAbs(float x);
00049 
00050 };
00051 
00052 
00053 
00054 
00055 #endif
00056 
00057 /*
00058  * 
00059  * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
00060  * 
00061  *    1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
00062  *    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.
00063  *    3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
00064  * 
00065  * 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.
00066  * 
00067  */

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