• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

include/FCam/F2/Shot.h

Go to the documentation of this file.
00001 #ifndef FCAM_F2_SHOT
00002 #define FCAM_F2_SHOT
00003 #include "../Shot.h"
00004 
00009 
00010 namespace FCam {
00011     namespace F2 {
00014     namespace RowSkip { 
00015         enum e {
00016         none = 1,
00017         x2   = 2,
00018         x3   = 3,
00019         x4   = 4,
00020         x5   = 5,
00021         x6   = 6,
00022         x7   = 7,
00023         x8   = 8
00024         };
00025     }
00028     namespace ColSkip {
00029         enum e {
00030         none = 1,
00031         x2   = 2,
00032         x3   = 3,
00033         x4   = 4,
00034         x5   = 5,
00035         x6   = 6,
00036         x7   = 7
00037         };
00038     }
00041     namespace RowBin {
00042         enum e {
00043         none = 1,
00044         x2   = 2,
00045         x3   = 3,
00046         x4   = 4
00047         };
00048     }
00051     namespace ColBin {
00052         enum e {
00053         none = 1,
00054         x2   = 2,
00055         x4   = 4
00056         };
00057     }
00058     
00063     class Shot:public FCam::Shot {
00064       public:
00067         RowSkip::e rowSkip;
00068 
00071         ColSkip::e colSkip;
00072 
00075         RowBin::e rowBin;
00076 
00079         ColBin::e colBin;
00080 
00084         bool roiCentered;
00085 
00091         int roiStartX;
00092 
00098         int roiStartY;
00099 
00106         void roiRegionSmaller(const Rect &maxRegion, bool useBinning = true);
00107 
00115         void roiRegionSmaller(const Size &maxSize, bool useBinning = true);
00116 
00123         void roiRegionLarger(const Rect &minRegion, bool useBinning = true);
00124 
00132         void roiRegionLarger(const Size &minSize, bool useBinning = true);
00133         
00134 
00135         Shot();
00136         Shot(const FCam::Shot &shot);
00137         Shot(const Shot &shot);
00138 
00139         const Shot &operator=(const FCam::Shot &);
00140         const Shot &operator=(const Shot &);
00141 
00142     };
00143     
00144     }
00145 }
00146 
00147 #endif

Generated on Thu Jul 15 2010 17:51:28 for FCam by  doxygen 1.7.1