PointClasses.H

Go to the documentation of this file.
00001 /*! @file VFAT/PointClasses.H [put description here] */
00002 
00003 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/VFAT/PointClasses.H $
00004 // $Id: PointClasses.H 6182 2006-01-31 18:41:41Z rjpeters $
00005 
00006 class PixelPoint
00007 {
00008 public:
00009         float x;
00010         float y;
00011 
00012         PixelPoint(float xval, float yval)
00013         {
00014                 x = xval;
00015                 y = yval;
00016         }
00017 };
00018 
00019 class Point3D
00020 {
00021 public:
00022         float x;
00023         float y;
00024         float z;
00025 
00026         Point3D(float xval, float yval, float zval)
00027         {
00028                 x = xval;
00029                 y = yval;
00030                 z = zval;
00031         }
00032 };
00033 
00034 class CameraParams
00035 {
00036 public:
00037         float x;
00038         float y;
00039         float z;
00040         float theta;
00041         float phi;
00042         float f;
00043         float r; //this param is the distance between the camera center and the image center
00044         CameraParams(float xval, float yval, float zval, float thetaval, float phival, float fval, float rval)
00045         {
00046                 x = xval;
00047                 y = yval;
00048                 z = zval;
00049                 theta = thetaval;
00050                 phi = phival;
00051                 f = fval;
00052                 r = rval;
00053         }
00054 };
Generated on Sun May 8 08:42:34 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3