PanoramaMemento.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _Hgn1_PANORAMAMEMENTO_H
00025 #define _Hgn1_PANORAMAMEMENTO_H
00026 
00027 #include <panodata/PanoramaVariable.h>
00028 #include <panodata/Lens.h>
00029 #include <panodata/ControlPoint.h>
00030 #include <panodata/PanoramaOptions.h>
00031 #include <panodata/Panorama.h>
00032 
00033 #include "PT/PanoImage.h"
00034 
00035 
00036 namespace PT {
00037 
00038 
00039 using HuginBase::Variable;
00040 using HuginBase::LinkedVariable;
00041 using HuginBase::LensVariable;
00042 
00043 using HuginBase::PrintVar;
00044 
00045 using HuginBase::VariableMap;
00046 using HuginBase::VariableMapVector;
00047 using HuginBase::LensVarMap;
00048 
00049 using HuginBase::fillVariableMap;
00050 using HuginBase::fillLensVarMap;
00051 using HuginBase::printVariableMap;
00052 
00053 using HuginBase::Lens;
00054 using HuginBase::ControlPoint;
00055 using HuginBase::PanoramaOptions;
00056 
00057 using HuginBase::CPVector;
00058 using HuginBase::ImageVector;
00059 using HuginBase::LensVector;
00060 using HuginBase::OptimizeVector;
00061 
00062 
00063 class PanoramaMemento : public HuginBase::PanoramaMemento
00064 {
00065 public:
00066     PanoramaMemento()
00067       : HuginBase::PanoramaMemento()
00068     {}
00069     
00070     PanoramaMemento(const HuginBase::PanoramaMemento& mem)
00071       : HuginBase::PanoramaMemento(mem)
00072     {}
00073     
00074     virtual ~PanoramaMemento() {};
00075     
00076 public:
00078     enum PTFileFormat { PTFILE_HUGIN, PTFILE_PTGUI, PTFILE_PTA };
00079 
00084     bool loadPTScript(std::istream & i, int & ptoVersion, const std::string & prefix = "")
00085     {
00086         return HuginBase::PanoramaMemento::loadPTScript(i, ptoVersion, prefix);
00087     }
00088 
00089 };
00090 
00091 
00092 } // namespace
00093 #endif // _PANORAMAMEMENTO_H

Generated on 24 Nov 2014 for Hugintrunk by  doxygen 1.4.7