Homepage Demos Overview Downloads Tutorials Reference
Credits

LoadCalibration< ROWS, COLS > Class Template Reference

#include <LoadCalibration.h>

Inheritance diagram for LoadCalibration< ROWS, COLS >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<unsigned int ROWS, unsigned int COLS>
class LoadCalibration< ROWS, COLS >

will load calibration parameters from a text file into a forward and backward matrix

Definition at line 9 of file LoadCalibration.h.

Public Member Functions

 LoadCalibration (float f_cal[ROWS][COLS], float b_cal[ROWS][COLS])
 Constructor.

 LoadCalibration (const std::string &n, float f_cal[ROWS][COLS], float b_cal[ROWS][COLS])
 Constructor.

 LoadCalibration (const std::string &n, const std::string &d, float f_cal[ROWS][COLS], float b_cal[ROWS][COLS])
 Constructor.


Protected Member Functions

virtual ControlBaseselectedFile (const std::string &f)
 calls readData() for each of the matrices

bool readData (FILE *f, float mat[ROWS][COLS])
 does the actual loading once a file is selected


Protected Attributes

float(* forw_cal )[COLS]
 pointer to the forward calibration matrix

float(* back_cal )[COLS]
 pointer to the backward calibration matrix


Private Member Functions

 LoadCalibration (const LoadCalibration &)
 don't call

LoadCalibrationoperator= (const LoadCalibration &)
 don't call


Constructor & Destructor Documentation

template<unsigned int ROWS, unsigned int COLS>
LoadCalibration< ROWS, COLS >::LoadCalibration float  f_cal[ROWS][COLS],
float  b_cal[ROWS][COLS]
[inline]
 

Constructor.

Definition at line 13 of file LoadCalibration.h.

template<unsigned int ROWS, unsigned int COLS>
LoadCalibration< ROWS, COLS >::LoadCalibration const std::string &  n,
float  f_cal[ROWS][COLS],
float  b_cal[ROWS][COLS]
[inline]
 

Constructor.

Definition at line 17 of file LoadCalibration.h.

template<unsigned int ROWS, unsigned int COLS>
LoadCalibration< ROWS, COLS >::LoadCalibration const std::string &  n,
const std::string &  d,
float  f_cal[ROWS][COLS],
float  b_cal[ROWS][COLS]
[inline]
 

Constructor.

Definition at line 21 of file LoadCalibration.h.

template<unsigned int ROWS, unsigned int COLS>
LoadCalibration< ROWS, COLS >::LoadCalibration const LoadCalibration< ROWS, COLS > &   )  [private]
 

don't call


Member Function Documentation

template<unsigned int ROWS, unsigned int COLS>
LoadCalibration& LoadCalibration< ROWS, COLS >::operator= const LoadCalibration< ROWS, COLS > &   )  [private]
 

don't call

template<unsigned int ROWS, unsigned int COLS>
bool LoadCalibration< ROWS, COLS >::readData FILE *  f,
float  mat[ROWS][COLS]
[inline, protected]
 

does the actual loading once a file is selected

Definition at line 37 of file LoadCalibration.h.

Referenced by LoadCalibration< ROWS, COLS >::selectedFile().

template<unsigned int ROWS, unsigned int COLS>
virtual ControlBase* LoadCalibration< ROWS, COLS >::selectedFile const std::string &  f  )  [inline, protected, virtual]
 

calls readData() for each of the matrices

Reimplemented from FileBrowserControl.

Definition at line 27 of file LoadCalibration.h.


Member Data Documentation

template<unsigned int ROWS, unsigned int COLS>
float(* LoadCalibration< ROWS, COLS >::back_cal)[COLS] [protected]
 

pointer to the backward calibration matrix

Definition at line 55 of file LoadCalibration.h.

Referenced by LoadCalibration< ROWS, COLS >::LoadCalibration(), and LoadCalibration< ROWS, COLS >::selectedFile().

template<unsigned int ROWS, unsigned int COLS>
float(* LoadCalibration< ROWS, COLS >::forw_cal)[COLS] [protected]
 

pointer to the forward calibration matrix

Definition at line 54 of file LoadCalibration.h.

Referenced by LoadCalibration< ROWS, COLS >::LoadCalibration(), LoadCalibration< ROWS, COLS >::readData(), and LoadCalibration< ROWS, COLS >::selectedFile().


The documentation for this class was generated from the following file:
Tekkotsu v2.0
Generated Wed Jan 21 03:23:16 2004 by Doxygen 1.3.4