PanoCommand.cpp File Reference

#include "PanoCommand.h"
#include <fstream>
#include <panotools/PanoToolsUtils.h>
#include <algorithms/nona/CenterHorizontally.h>
#include <algorithms/nona/FitPanorama.h>
#include <algorithms/basic/RotatePanorama.h>
#include <algorithms/basic/TranslatePanorama.h>
#include <algorithms/basic/CalculateMeanExposure.h>
#include <algorithms/basic/StraightenPanorama.h>
#include <panodata/ParseExp.h>
#include <panodata/image_variables.h>

Include dependency graph for PanoCommand.cpp:

Go to the source code of this file.

Namespaces

namespace  PanoCommand

Defines

#define image_variable(name, type, default_value)
#define image_variable(name, type, default_value)


Detailed Description

Author:
Pablo d'Angelo <pablo.dangelo@web.de>

Definition in file PanoCommand.cpp.


Define Documentation

#define image_variable ( name,
type,
default_value   ) 

Value:

case HuginBase::ImageVariableGroup::IVE_##name:\
                        pano.unlinkImageVariable##name(image_index);\
                        break;
Todo:
avoid copying image data in processPanorama

Definition at line 444 of file PanoCommand.cpp.

#define image_variable ( name,
type,
default_value   ) 

Value:

bool ChangeImage##name##Cmd::processPanorama(HuginBase::Panorama& pano)\
        {\
        for (HuginBase::UIntSet::iterator it = image_numbers.begin(); it != image_numbers.end(); it++)\
        {\
            HuginBase::SrcPanoImage img = pano.getSrcImage(*it);\
            img.set##name(value);\
            pano.setSrcImage(*it, img);\
        }\
        return true;\
        };
Todo:
avoid copying image data in processPanorama

Definition at line 444 of file PanoCommand.cpp.


Generated on 20 Apr 2018 for Hugintrunk by  doxygen 1.4.7