pto_lensstack.cpp File Reference

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

#include <hugin_version.h>
#include <fstream>
#include <sstream>
#include <getopt.h>
#include <unistd.h>
#include <panodata/Panorama.h>
#include <panodata/StandardImageVariableGroups.h>
#include <boost/algorithm/string.hpp>
#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
#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, std::string s, std::string regExpression)
void ParseImageLensStackString (ParseImgVec &parseVec, std::string input, std::string regExpression)
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 51 of file pto_lensstack.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 148 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(), HuginBase::ImageVariableGroup::switchParts(), and usage().

void ParseImageLensStackString ( ParseImgVec parseVec,
std::string  input,
std::string  regExpression 

Definition at line 96 of file pto_lensstack.cpp.

References ParseSingleImage().

Referenced by main().

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

Definition at line 54 of file pto_lensstack.cpp.

Referenced by ParseImageLensStackString().

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

Definition at line 123 of file pto_lensstack.cpp.

References cout.

Generated on 24 May 2015 for Hugintrunk by  doxygen 1.4.7