HuginBase::LensDB Namespace Reference


Classes

class  LensDBList
 class to save a list of lenses More...
class  LensDB
 main wrapper class for lensfun database More...

Typedefs

typedef boost::filesystem::basic_path<
std::string, boost::filesystem::path_traits > 
basic_path

Functions

bool TranslateProjectionLF2Hugin (const lfLens *lens, BaseSrcPanoImage::Projection &projection)
 translates the projection names from lensfun form into Hugin form
bool TranslateProjectionHugin2LF (BaseSrcPanoImage::Projection projection, lfLens *lens)
 translates the projection names from Hugin form into lensfun form


Typedef Documentation

typedef boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> HuginBase::LensDB::basic_path

Definition at line 40 of file LensDB.cpp.


Function Documentation

bool HuginBase::LensDB::TranslateProjectionLF2Hugin ( const lfLens *  lens,
BaseSrcPanoImage::Projection projection 
)

translates the projection names from lensfun form into Hugin form

Returns:
true, if conversion was sucessful

Definition at line 409 of file LensDB.cpp.

References HuginBase::BaseSrcPanoImage::CIRCULAR_FISHEYE, HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, HuginBase::BaseSrcPanoImage::FISHEYE_EQUISOLID, HuginBase::BaseSrcPanoImage::FISHEYE_ORTHOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_STEREOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_THOBY, HuginBase::BaseSrcPanoImage::FULL_FRAME_FISHEYE, HuginBase::BaseSrcPanoImage::PANORAMIC, and HuginBase::BaseSrcPanoImage::RECTILINEAR.

Referenced by HuginBase::LensDB::LensDB::BeginSaveLens(), and HuginBase::LensDB::LensDB::GetProjection().

bool HuginBase::LensDB::TranslateProjectionHugin2LF ( BaseSrcPanoImage::Projection  projection,
lfLens *  lens 
)

translates the projection names from Hugin form into lensfun form

Returns:
true, if conversion was sucessful

Definition at line 469 of file LensDB.cpp.

References HuginBase::BaseSrcPanoImage::CIRCULAR_FISHEYE, HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, HuginBase::BaseSrcPanoImage::FISHEYE_EQUISOLID, HuginBase::BaseSrcPanoImage::FISHEYE_ORTHOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_STEREOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_THOBY, HuginBase::BaseSrcPanoImage::FULL_FRAME_FISHEYE, HuginBase::BaseSrcPanoImage::PANORAMIC, and HuginBase::BaseSrcPanoImage::RECTILINEAR.

Referenced by HuginBase::LensDB::LensDB::BeginSaveLens().


Generated on 22 Oct 2014 for Hugintrunk by  doxygen 1.4.7