Follow this link to skip to the main content

a_camera.h

Go to the documentation of this file.
00001 // -*-c++-*-
00002 //---------------------------< /-/ CLARAty /-/ >------------------------------
00003 /**
00004  * @file  a_camera.h
00005  *
00006  * A camera that read images from files.
00007  *
00008  * <br>@b Designer(s):  Daniel Clouse, Clay Kunz, Issa Nesnas
00009  * <br>@b Author(s):    Daniel Clouse
00010  * <br>@b Date:         June 9, 2006
00011  *
00012  * <b>Software License:</b><br>
00013  * <code>  http://claraty.jpl.nasa.gov/license/open_src/  or
00014  *         file: license/open_src.txt  </code>
00015  *
00016  * &copy; 2007, Jet Propulsion Laboratory, California Institute of Technology<br>
00017  * &copy; 2007, NASA Ames Research Center
00018  *
00019  * $Revision: 1.5 $
00020  */
00021 //-----------------------------------------------------------------------------
00022 
00023 #ifndef A_CAMERA_H
00024 #define A_CAMERA_H
00025 
00026 #include "claraty/share.h"
00027 #include "claraty/camera.h"
00028 
00029 namespace claraty {
00030 
00031 //----------------------------------------------------------------------------
00032 
00033 class A_Camera : public Camera {
00034 public:
00035 
00036   // @name Constructor
00037   // @{
00038   
00039   A_Camera(const char* filename)
00040     : Camera(filename)
00041   { }
00042   
00043   // @}
00044 
00045   // @name Observers / Mutators
00046   // @{
00047   int  get_width()  const { return 1024; }
00048   int  get_height() const { return 1024; }
00049   // @}
00050 
00051   // @name Acquire an Image
00052   // @{
00053   
00054   void acquire(Image<uint8_t> & image,
00055                Time * timestamp_ptr = NULL,
00056                Feature_Map * feature_map_ptr = NULL) throw (std::exception);
00057 
00058   void acquire(Image<uint16_t> & image,
00059                Time * timestamp_ptr = NULL,
00060                Feature_Map * feature_map_ptr = NULL) throw (std::exception);
00061   // @}
00062 };
00063 
00064 //-----------------------------------------------------------------------------
00065 
00066 } // namespace claraty
00067 
00068 #endif  // A_CAMERA_H