pto_lensstack.cpp File Reference

program to manipulate lens and stack assignment in pto files More...

#include <fstream>
#include <sstream>
#include <getopt.h>
#include <panodata/Panorama.h>
#include <panodata/StandardImageVariableGroups.h>
#include "hugin_utils/utils.h"
#include <panodata/image_variables.h>

Include dependency graph for pto_lensstack.cpp:

Go to the source code of this file.


struct  ParsedImg


#define image_variable(name, type, default_value)


typedef std::vector< ParsedImgParseImgVec


void ParseSingleImage (ParseImgVec &varVec, const std::string &s)
void ParseImageLensStackString (ParseImgVec &parseVec, std::string input)
static void usage (const char *name)
int main (int argc, char *argv[])

Detailed Description

program to manipulate lens and stack assignment in pto files

T. Modes

Definition in file pto_lensstack.cpp.

Define Documentation

#define image_variable ( name,
default_value   ) 


case HuginBase::ImageVariableGroup::IVE_##name:\

Typedef Documentation

typedef std::vector<ParsedImg> ParseImgVec

Definition at line 41 of file pto_lensstack.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 138 of file pto_lensstack.cpp.

References HuginBase::append(), cerr, cout, fill_set(), HuginBase::ConstStandardImageVariableGroups::getLensVariables(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), HuginBase::ConstStandardImageVariableGroups::getStackVariables(), ParseImageLensStackString(), HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), HuginBase::Panorama::setFilePrefix(), hugin_utils::stripPath(), AppBase::DocumentData::SUCCESSFUL, HuginBase::ImageVariableGroup::switchParts(), and usage().

void ParseImageLensStackString ( ParseImgVec parseVec,
std::string  input 

Definition at line 87 of file pto_lensstack.cpp.

References ParseSingleImage(), and hugin_utils::SplitString().

Referenced by main().

void ParseSingleImage ( ParseImgVec varVec,
const std::string s 

Definition at line 44 of file pto_lensstack.cpp.

References ParsedImg::imgNr, ParsedImg::lensStackNr, and hugin_utils::stringToInt().

Referenced by ParseImageLensStackString().

static void usage ( const char *  name  )  [static]

Definition at line 113 of file pto_lensstack.cpp.

References cout, and hugin_utils::GetHuginVersion().

Generated on 22 May 2018 for Hugintrunk by  doxygen 1.4.7