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:

Include dependency graph

Go to the source code of this file.

Classes

struct  ParsedImg

Defines

#define image_variable(name, type, default_value)

Typedefs

typedef std::vector< ParsedImgParseImgVec

Functions

void ParseSingleImage (ParseImgVec &varVec, std::string s, std::string regExpression)
void ParseImageLensStackString (ParseImgVec &parseVec, std::string input, std::string regExpression)
void NewPart (Panorama &pano, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > vars, unsigned int imgNr)
void usage (const char *name)
int main (int argc, char *argv[])


Detailed Description

program to manipulate lens and stack assignment in pto files

Author:
T. Modes

Definition in file pto_lensstack.cpp.


Define Documentation

#define image_variable name,
type,
default_value   ) 
 

Value:

case HuginBase::ImageVariableGroup::IVE_##name:\
                pano.unlinkImageVariable##name(imgNr);\
                break;


Typedef Documentation

typedef std::vector<ParsedImg> ParseImgVec
 

Definition at line 51 of file pto_lensstack.cpp.

Referenced by main().


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 148 of file pto_lensstack.cpp.

References cerr, cout, fill_set(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), HuginBase::StandardImageVariableGroups::getStacks(), makefile::ifstream, NewPart(), makefile::ofstream, ParseImageLensStackString(), ParseImgVec, HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), HuginBase::Panorama::setFilePrefix(), makefile::string, HuginBase::ImageVariableGroup::switchParts(), HuginBase::UIntSet, and usage().

void NewPart Panorama pano,
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum vars,
unsigned int  imgNr
 

Definition at line 107 of file pto_lensstack.cpp.

Referenced by main().

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.

References ParsedImg::imgNr, ParsedImg::lensStackNr, and makefile::string.

Referenced by ParseImageLensStackString().

void usage const char *  name  )  [static]
 

Definition at line 123 of file pto_lensstack.cpp.

References cout.


Generated on Thu Apr 17 01:25:46 2014 for Hugintrunk by  doxygen 1.3.9.1