Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
HuginBase::LensDB Namespace Reference

Classes

class  LensDB
 main database class More...
 

Typedefs

typedef std::vector< std::string > LensList
 vector storing a list of lens names More...
 

Functions

double InterpolateValue (double x, double x0, double y0, double x1, double y1)
 
double InterpolateValueTriangle (double x, double y, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
 
int fsign (double a)
 
bool IsFocallengthNearRange (const double focal, const double limit1, const double limit2, const double tol)
 check if value is inside limit1...limit2 or it is nearer to limit1 than value*tol More...
 
bool SaveLensDataFromPano (const HuginBase::Panorama &pano)
 routine for automatically saving information from pano into database More...
 

Typedef Documentation

typedef std::vector<std::string> HuginBase::LensDB::LensList

vector storing a list of lens names

Definition at line 41 of file LensDB.h.

Function Documentation

int HuginBase::LensDB::fsign ( double  a)
inline

Definition at line 2058 of file LensDB.cpp.

Referenced by IsFocallengthNearRange().

double HuginBase::LensDB::InterpolateValue ( double  x,
double  x0,
double  y0,
double  x1,
double  y1 
)
double HuginBase::LensDB::InterpolateValueTriangle ( double  x,
double  y,
double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
double  x3,
double  y3,
double  z3 
)

Definition at line 1958 of file LensDB.cpp.

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

bool HuginBase::LensDB::IsFocallengthNearRange ( const double  focal,
const double  limit1,
const double  limit2,
const double  tol 
)

check if value is inside limit1...limit2 or it is nearer to limit1 than value*tol

Definition at line 2064 of file LensDB.cpp.

References fsign().

Referenced by HuginBase::LensDB::LensDB::GetCrop(), HuginBase::LensDB::LensDB::GetDistortion(), HuginBase::LensDB::LensDB::GetFov(), HuginBase::LensDB::LensDB::GetTCA(), and HuginBase::LensDB::LensDB::GetVignetting().

IMPEX bool HuginBase::LensDB::SaveLensDataFromPano ( const HuginBase::Panorama pano)