Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
HuginBase::BaseSrcPanoImage Class Reference

Base class containing all the variables, but missing some of the other important functions and with some daft accessors. More...

#include <SrcPanoImage.h>

Inheritance diagram for HuginBase::BaseSrcPanoImage:
Inheritance graph

Public Types

enum  Projection {
  RECTILINEAR = 0, PANORAMIC = 1, CIRCULAR_FISHEYE = 2, FULL_FRAME_FISHEYE = 3,
  EQUIRECTANGULAR = 4, FISHEYE_ORTHOGRAPHIC = 8, FISHEYE_STEREOGRAPHIC = 10, FISHEYE_EQUISOLID = 21,
  FISHEYE_THOBY = 20
}
 
enum  CropMode { NO_CROP =0, CROP_RECTANGLE =1, CROP_CIRCLE =2 }
 
enum  VignettingCorrMode { VIGCORR_NONE = 0, VIGCORR_RADIAL = 1, VIGCORR_FLATFIELD = 2, VIGCORR_DIV = 4 }
 vignetting correction mode (bitflags, no real enum) More...
 
enum  ResponseType {
  RESPONSE_EMOR =0, RESPONSE_LINEAR, RESPONSE_GAMMA, RESPONSE_FILE,
  RESPONSE_ICC
}
 

Public Member Functions

bool operator== (const BaseSrcPanoImage &other) const
 Check that the variables match. More...
 
 BaseSrcPanoImage ()
 
virtual ~BaseSrcPanoImage ()
 

Detailed Description

Base class containing all the variables, but missing some of the other important functions and with some daft accessors.

Used for lazy metaprogramming, we include image_variables.h several times with different defintions of image_variable to get all the repetitive bits out the way. This should reduce typos and cut and paste errors.

Definition at line 67 of file SrcPanoImage.h.

Member Enumeration Documentation

Enumerator
NO_CROP 
CROP_RECTANGLE 
CROP_CIRCLE 

Definition at line 84 of file SrcPanoImage.h.

Enumerator
RECTILINEAR 
PANORAMIC 
CIRCULAR_FISHEYE 
FULL_FRAME_FISHEYE 
EQUIRECTANGULAR 
FISHEYE_ORTHOGRAPHIC 
FISHEYE_STEREOGRAPHIC 
FISHEYE_EQUISOLID 
FISHEYE_THOBY 

Definition at line 71 of file SrcPanoImage.h.

Enumerator
RESPONSE_EMOR 

empirical model of response

RESPONSE_LINEAR 

linear response

RESPONSE_GAMMA 

a simple gamma response curve

RESPONSE_FILE 

load response curve from file (not implemented yet)

RESPONSE_ICC 

use ICC for transformation into linear data (not implemented yet)

Definition at line 99 of file SrcPanoImage.h.

vignetting correction mode (bitflags, no real enum)

Enumerator
VIGCORR_NONE 

no vignetting correction

VIGCORR_RADIAL 

radial vignetting correction

VIGCORR_FLATFIELD 

flatfield correction

VIGCORR_DIV 

correct by division.

Definition at line 91 of file SrcPanoImage.h.

Constructor & Destructor Documentation

HuginBase::BaseSrcPanoImage::BaseSrcPanoImage ( )
inline

Definition at line 113 of file SrcPanoImage.h.

virtual HuginBase::BaseSrcPanoImage::~BaseSrcPanoImage ( )
inlinevirtual

Definition at line 116 of file SrcPanoImage.h.

Member Function Documentation

bool HuginBase::BaseSrcPanoImage::operator== ( const BaseSrcPanoImage other) const

Check that the variables match.


The documentation for this class was generated from the following file: