Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
HuginBase::PTScriptParsing::ImgInfo Struct Reference

#include <PTScriptParsing.h>

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

static const char * varnames []
 
static double defaultValues []
 

Protected Member Functions

void init ()
 

Detailed Description

Definition at line 64 of file PTScriptParsing.h.

Constructor & Destructor Documentation

HuginBase::PTScriptParsing::ImgInfo::ImgInfo ( )
inline

Definition at line 82 of file PTScriptParsing.h.

References init().

HuginBase::PTScriptParsing::ImgInfo::ImgInfo ( const std::string &  line)
inlineexplicit

Definition at line 87 of file PTScriptParsing.h.

References init(), and parse().

Member Function Documentation

void HuginBase::PTScriptParsing::ImgInfo::init ( )
protected

Definition at line 228 of file PTScriptParsing.cpp.

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

Referenced by ImgInfo().

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

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 101 of file PTScriptParsing.h.

Referenced by parse().

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 100 of file PTScriptParsing.h.

Referenced by init(), and parse().

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: