00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __FIREVISION_FVUTILS_RECTIFICATION_RECTFILE_H_
00025 #define __FIREVISION_FVUTILS_RECTIFICATION_RECTFILE_H_
00026
00027 #include <fvutils/rectification/rectinfo.h>
00028 #include <fvutils/fileformat/fvfile.h>
00029 #include <vector>
00030
00031 namespace firevision {
00032 #if 0
00033 }
00034 #endif
00035
00036 class RectificationInfoBlock;
00037
00038 class RectificationInfoFile : public FireVisionDataFile
00039 {
00040 public:
00041 RectificationInfoFile();
00042 RectificationInfoFile(uint64_t cam_guid, const char *model);
00043 ~RectificationInfoFile();
00044
00045
00046
00047
00048
00049 class RectInfoBlockVector : public std::vector<RectificationInfoBlock *>
00050 {
00051 public:
00052 ~RectInfoBlockVector();
00053 };
00054
00055 uint64_t guid();
00056 const char * model();
00057
00058 void add_rectinfo_block(RectificationInfoBlock *block);
00059
00060 RectInfoBlockVector * rectinfo_blocks();
00061
00062 virtual void read(const char *filename);
00063
00064 private:
00065 rectinfo_header_t *_header;
00066 uint64_t _cam_guid;
00067 char *_model;
00068 };
00069
00070 }
00071
00072 #endif