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

Memento class for a Panorama object. More...

#include <Panorama.h>

Inheritance diagram for HuginBase::PanoramaMemento:
Inheritance graph

Public Member Functions

 PanoramaMemento ()
 
 PanoramaMemento (const PanoramaMemento &o)
 copy ctor. More...
 
PanoramaMementooperator= (const PanoramaMemento &o)
 assignment operator More...
 
virtual ~PanoramaMemento ()
 
bool loadPTScript (std::istream &i, int &ptoVersion, const std::string &prefix="")
 load a Hugin file More...
 
- Public Member Functions inherited from HuginBase::PanoramaDataMemento
virtual ~PanoramaDataMemento ()
 

Private Types

enum  PTParseState {
  P_NONE, P_OUTPUT, P_MODIFIER, P_IMAGE,
  P_OPTIMIZE, P_CP
}
 

Private Member Functions

void deleteAllImages ()
 

Private Attributes

std::vector< SrcPanoImage * > images
 The images inside the panorama. More...
 
std::string iccProfileDesc
 description of the icc profile More...
 
int bands = 0
 number of bands of first image (without alpha channel), currently we can't mix grayscale and RGB images More...
 
CPVector ctrlPoints
 
PanoramaOptions options
 
OptimizeVector optvec
 
int optSwitch
 stores the optimizer switch, use OR of HuginBase::OptimizerSwitches More...
 
int optPhotoSwitch
 stores the photometric optimizer switch, use OR of HuginBase::OptimizerSwitches More...
 
bool needsOptimization
 

Friends

class Panorama
 

Additional Inherited Members

- Protected Member Functions inherited from HuginBase::PanoramaDataMemento
 PanoramaDataMemento ()
 force pure abstract behaviour More...
 

Detailed Description

Memento class for a Panorama object.

Holds the internal state of a Panorama. Used when other objects need to get/set the state without knowing anything about the internals.

Definition at line 49 of file Panorama.h.

Member Enumeration Documentation

Enumerator
P_NONE 
P_OUTPUT 
P_MODIFIER 
P_IMAGE 
P_OPTIMIZE 
P_CP 

Definition at line 74 of file Panorama.h.

Constructor & Destructor Documentation

HuginBase::PanoramaMemento::PanoramaMemento ( )
inline

Definition at line 55 of file Panorama.h.

HuginBase::PanoramaMemento::PanoramaMemento ( const PanoramaMemento o)

copy ctor.

Definition at line 2240 of file Panorama.cpp.

References data.

HuginBase::PanoramaMemento::~PanoramaMemento ( )
virtual

Definition at line 2305 of file Panorama.cpp.

References deleteAllImages().

Member Function Documentation

void HuginBase::PanoramaMemento::deleteAllImages ( )
private

Definition at line 2310 of file Panorama.cpp.

References images.

Referenced by HuginBase::Panorama::reset(), and ~PanoramaMemento().

bool HuginBase::PanoramaMemento::loadPTScript ( std::istream &  i,
int &  ptoVersion,
const std::string &  prefix = "" 
)
PanoramaMemento& HuginBase::PanoramaMemento::operator= ( const PanoramaMemento o)

assignment operator

Friends And Related Function Documentation

friend class Panorama
friend

Definition at line 52 of file Panorama.h.

Member Data Documentation

int HuginBase::PanoramaMemento::bands = 0
private

number of bands of first image (without alpha channel), currently we can't mix grayscale and RGB images

Definition at line 95 of file Panorama.h.

Referenced by HuginBase::Panorama::getNrOfBands(), and HuginBase::Panorama::setNrOfBands().

CPVector HuginBase::PanoramaMemento::ctrlPoints
private
std::string HuginBase::PanoramaMemento::iccProfileDesc
private

description of the icc profile

Definition at line 92 of file Panorama.h.

Referenced by HuginBase::Panorama::getICCProfileDesc(), and HuginBase::Panorama::setICCProfileDesc().

std::vector<SrcPanoImage *> HuginBase::PanoramaMemento::images
private
bool HuginBase::PanoramaMemento::needsOptimization
private
PanoramaOptions HuginBase::PanoramaMemento::options
private
int HuginBase::PanoramaMemento::optPhotoSwitch
private
int HuginBase::PanoramaMemento::optSwitch
private
OptimizeVector HuginBase::PanoramaMemento::optvec
private

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