Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
HuginBase::Lens Class Reference
#include <Lens.h>
Public Types | |
| typedef BaseSrcPanoImage::Projection | LensProjectionFormat |
Public Member Functions | |
| Lens () | |
| construct a new lens. | |
| LensProjectionFormat | getProjection () const |
| get projection type | |
| void | setProjection (LensProjectionFormat l) |
| set projection type | |
| double | getHFOV () const |
| get HFOV in degrees | |
| void | setHFOV (double d) |
| set HFOV in degrees | |
| double | getFocalLength () const |
| get focal length of lens, it is calculated from the HFOV | |
| double | getCropFactor () const |
| get crop factor, d35mm/dreal | |
| void | setCropFactor (double newCropFactor) |
| sets the crop factor | |
| double | getAspectRatio () const |
| return the sensor ratio (width/height) | |
| bool | isLandscape () const |
| check if the image associated with this lens is in landscape orientation. | |
| void | setEV (double ev) |
| set the exposure value | |
| vigra::Size2D | getImageSize () const |
| get the image size, in pixels | |
| void | setImageSize (const vigra::Size2D &sz) |
| set image size in pixels | |
| void | update (const Lens &l) |
Public Attributes | |
| LensVarMap | variables |
| bool | m_hasExif |
Static Public Attributes | |
| const char * | variableNames [] |
Member Typedef Documentation
|
|
|
Constructor & Destructor Documentation
|
|
construct a new lens.
|
Member Function Documentation
|
|
return the sensor ratio (width/height)
|
|
|
get crop factor, d35mm/dreal
|
|
|
get focal length of lens, it is calculated from the HFOV
|
|
|
get HFOV in degrees
|
|
|
get the image size, in pixels
|
|
|
get projection type
|
|
|
check if the image associated with this lens is in landscape orientation.
|
|
|
sets the crop factor
|
|
|
set the exposure value
|
|
|
set HFOV in degrees
|
|
|
set image size in pixels
|
|
|
set projection type
|
|
|
|
Member Data Documentation
|
|
|
|
|
Initial value: { "v", "a", "b", "c", "d", "e", "g", "t",
"Va", "Vb", "Vc", "Vd", "Vx", "Vy",
"Eev", "Er", "Eb",
"Ra", "Rb", "Rc", "Rd", "Re", 0}
|
|
|
|
The documentation for this class was generated from the following files:
1.3.9.1