Hugin trunk 0.1
Loading...
Searching...
No Matches
Classes | Functions
HuginBase::PTScriptParsing Namespace Reference

Classes

struct  ImgInfo
 

Functions

bool getPTParam (std::string &output, const std::string &line, const std::string &parameter)
 helper functions for parsing of a script line
 
bool getDoubleParam (double &d, const std::string &line, const std::string &name)
 
bool getPTDoubleParam (double &value, int &link, const std::string &line, const std::string &var)
 
bool readVar (Variable &var, int &link, const std::string &line)
 
template<class T >
bool getIntParam (T &value, const std::string &line, const std::string &name)
 

Function Documentation

◆ getDoubleParam()

bool HuginBase::PTScriptParsing::getDoubleParam ( double d,
const std::string &  line,
const std::string &  name 
)

◆ getIntParam()

template<class T >
bool HuginBase::PTScriptParsing::getIntParam ( T &  value,
const std::string &  line,
const std::string &  name 
)

◆ getPTDoubleParam()

bool HuginBase::PTScriptParsing::getPTDoubleParam ( double value,
int link,
const std::string &  line,
const std::string &  var 
)

◆ getPTParam()

IMPEX bool HuginBase::PTScriptParsing::getPTParam ( std::string &  output,
const std::string &  line,
const std::string &  parameter 
)

helper functions for parsing of a script line

helper functions for parsing a script line

Definition at line 37 of file PTScriptParsing.cpp.

References threshold().

Referenced by getDoubleParam(), getIntParam(), getPTDoubleParam(), HuginBase::LoadMaskFromStream(), HuginBase::PanoramaMemento::loadPTScript(), HuginBase::PTScriptParsing::ImgInfo::parse(), and readVar().

◆ readVar()

bool HuginBase::PTScriptParsing::readVar ( Variable var,
int link,
const std::string &  line 
)