HuginBase::PTScriptParsing::ImgInfo Struct Reference

#include <PTScriptParsing.h>

List of all members.

Public Member Functions

 ImgInfo ()
 ImgInfo (const std::string &line)
void parse (const std::string &line)

Public Attributes

std::string filename
std::string flatfieldname
std::map< std::string, double > vars
std::map< std::string, int > links
int f
int width
int height
int vigcorrMode
int responseType
vigra::Rect2D crop
bool autoCenterCrop
double cropFactor
bool enabled

Static Public Attributes

const char * varnames []
double defaultValues []

Protected Member Functions

void init ()


Constructor & Destructor Documentation

HuginBase::PTScriptParsing::ImgInfo::ImgInfo  )  [inline]
 

Definition at line 82 of file PTScriptParsing.h.

HuginBase::PTScriptParsing::ImgInfo::ImgInfo const std::string line  )  [inline]
 

Definition at line 87 of file PTScriptParsing.h.

References Parser::parse().


Member Function Documentation

void HuginBase::PTScriptParsing::ImgInfo::init  )  [protected]
 

Definition at line 222 of file PTScriptParsing.cpp.

References autoCenterCrop, cropFactor, enabled, f, height, links, responseType, vars, vigcorrMode, and width.

void HuginBase::PTScriptParsing::ImgInfo::parse const std::string line  ) 
 

Definition at line 241 of file PTScriptParsing.cpp.

References crop, DEBUG_WARN, f, filename, flatfieldname, HuginBase::PTScriptParsing::getIntParam(), HuginBase::PTScriptParsing::getPTDoubleParam(), HuginBase::PTScriptParsing::getPTParam(), height, links, responseType, vars, vigcorrMode, and width.


Member Data Documentation

bool HuginBase::PTScriptParsing::ImgInfo::autoCenterCrop
 

Definition at line 76 of file PTScriptParsing.h.

Referenced by init().

vigra::Rect2D HuginBase::PTScriptParsing::ImgInfo::crop
 

Definition at line 75 of file PTScriptParsing.h.

Referenced by parse().

double HuginBase::PTScriptParsing::ImgInfo::cropFactor
 

Definition at line 77 of file PTScriptParsing.h.

Referenced by init().

double HuginBase::PTScriptParsing::ImgInfo::defaultValues [static]
 

Initial value:

 {51.0,  0.0, 0.0, 0.0,  0.0, 0.0,  0.0, 0.0,  0.0, 0.0, 0.0,  0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
                                   1.0, 0.0, 0.0, 0.0,   0.0, 0.0, 
                                   0.0, 1.0,  1.0, 
                                   0.0, 0.0, 0.0, 0.0, 0.0}

Definition at line 216 of file PTScriptParsing.cpp.

bool HuginBase::PTScriptParsing::ImgInfo::enabled
 

Definition at line 78 of file PTScriptParsing.h.

Referenced by init().

int HuginBase::PTScriptParsing::ImgInfo::f
 

Definition at line 70 of file PTScriptParsing.h.

Referenced by init(), and parse().

std::string HuginBase::PTScriptParsing::ImgInfo::filename
 

Definition at line 66 of file PTScriptParsing.h.

Referenced by parse().

std::string HuginBase::PTScriptParsing::ImgInfo::flatfieldname
 

Definition at line 67 of file PTScriptParsing.h.

Referenced by parse().

int HuginBase::PTScriptParsing::ImgInfo::height
 

Definition at line 72 of file PTScriptParsing.h.

Referenced by init(), and parse().

std::map<std::string, int> HuginBase::PTScriptParsing::ImgInfo::links
 

Definition at line 69 of file PTScriptParsing.h.

Referenced by init(), and parse().

int HuginBase::PTScriptParsing::ImgInfo::responseType
 

Definition at line 74 of file PTScriptParsing.h.

Referenced by init(), and parse().

const char * HuginBase::PTScriptParsing::ImgInfo::varnames [static]
 

Initial value:

 {"v", "a","b","c", "d","e", "g","t", "r","p","y","j","TrX", "TrY", "TrZ", "Tpy", "Tpp",
                                    "Va", "Vb", "Vc", "Vd",  "Vx", "Vy",
                                    "Eev", "Er",  "Eb",
                                    "Ra", "Rb", "Rc", "Rd", "Re",  0}
Todo:
Use information from image_variables.h and ImageVariableTranslate.h instead?

Definition at line 211 of file PTScriptParsing.cpp.

std::map<std::string, double> HuginBase::PTScriptParsing::ImgInfo::vars
 

Definition at line 68 of file PTScriptParsing.h.

Referenced by init(), and parse().

int HuginBase::PTScriptParsing::ImgInfo::vigcorrMode
 

Definition at line 73 of file PTScriptParsing.h.

Referenced by init(), and parse().

int HuginBase::PTScriptParsing::ImgInfo::width
 

Definition at line 72 of file PTScriptParsing.h.

Referenced by init(), and parse().


The documentation for this struct was generated from the following files:
Generated on Tue Sep 2 01:25:54 2014 for Hugintrunk by  doxygen 1.3.9.1