28 #ifndef _PANODATA_LENS_H
29 #define _PANODATA_LENS_H
57 {
return m_projectionFormat; }
61 { m_projectionFormat = l; }
64 double getHFOV()
const;
67 void setHFOV(
double d);
70 double getFocalLength()
const;
74 {
return m_cropFactor; };
78 { m_cropFactor=newCropFactor; };
82 double getAspectRatio()
const;
86 bool isLandscape()
const;
90 {
return m_imageSize; }
97 void update(
const Lens & l);
110 static const char *variableNames[];
vigra::Size2D getImageSize() const
get the image size, in pixels
void setImageSize(const vigra::Size2D &sz)
set image size in pixels
misc math function & classes used by other parts of the program
void setProjection(LensProjectionFormat l)
set projection type
std::map< std::string, LensVariable > LensVarMap
vigra::Size2D m_imageSize
LensProjectionFormat getProjection() const
get projection type
std::vector< Lens > LensVector
void setCropFactor(double newCropFactor)
sets the crop factor
double getCropFactor() const
get crop factor, d35mm/dreal
LensProjectionFormat m_projectionFormat
BaseSrcPanoImage::Projection LensProjectionFormat