Jpp
|
Dynamic orientation calibration. More...
#include <JBallarat.hh>
Public Types | |
enum | { NUMBER_OF_POINTS = 20, NUMBER_OF_DEGREES = 1 } |
typedef JTOOLS::JElement2D < double, JGEOMETRY3D::JQuaternion3D > | element_type |
typedef JTOOLS::JPolfitFunction1D < NUMBER_OF_POINTS, NUMBER_OF_DEGREES, element_type, JTOOLS::JCollection > | function_type |
typedef function_type::collection_type::container_type | container_type |
typedef JTOOLS::JHashMap< int, function_type > | data_type |
typedef data_type::const_iterator | const_iterator |
typedef data_type::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
JBallarat (const JDetector &detector, const double Tmax_s) | |
Constructor. More... | |
void | load (JObjectIterator< JCOMPASS::JOrientation > &input) |
Load calibration data. More... | |
bool | is_valid () const |
Check validity of calibration. More... | |
double | getXmin () const |
Get minimal abscissa. More... | |
double | getXmax () const |
Get maximal abscissa. More... | |
const_iterator | begin () const |
begin of calibration data More... | |
const_iterator | end () const |
end of calibration data More... | |
const_reverse_iterator | rbegin () const |
begin of reverse of calibration data More... | |
const_reverse_iterator | rend () const |
begin of reverse of calibration data More... | |
const JDetector & | operator() (const double t1_s) |
Get detector calibrated at given time. More... | |
Protected Attributes | |
data_type | calibration |
JDetector | detector |
double | Tmax_s |
Private Attributes | |
double | t0_s |
Dynamic orientation calibration.
Note that the quaternion data of the internal detector are used to track the consecutive rotations.
Definition at line 39 of file JBallarat.hh.
Definition at line 46 of file JBallarat.hh.
typedef JTOOLS::JPolfitFunction1D<NUMBER_OF_POINTS, NUMBER_OF_DEGREES, element_type, JTOOLS::JCollection> JCOMPASS::JBallarat::function_type |
Definition at line 49 of file JBallarat.hh.
typedef function_type::collection_type::container_type JCOMPASS::JBallarat::container_type |
Definition at line 50 of file JBallarat.hh.
typedef JTOOLS::JHashMap<int, function_type> JCOMPASS::JBallarat::data_type |
Definition at line 52 of file JBallarat.hh.
Definition at line 54 of file JBallarat.hh.
Definition at line 55 of file JBallarat.hh.
anonymous enum |
Enumerator | |
---|---|
NUMBER_OF_POINTS |
number of points for interpolation |
NUMBER_OF_DEGREES |
number of degrees for interpolation |
Definition at line 41 of file JBallarat.hh.
|
inline |
Constructor.
detector | detector |
Tmax_s | applicability period [s] |
Definition at line 64 of file JBallarat.hh.
|
inline |
Load calibration data.
input | detector calibration data |
Definition at line 92 of file JBallarat.hh.
|
inline |
Check validity of calibration.
Definition at line 117 of file JBallarat.hh.
|
inline |
Get minimal abscissa.
Definition at line 134 of file JBallarat.hh.
|
inline |
Get maximal abscissa.
Definition at line 153 of file JBallarat.hh.
|
inline |
begin of calibration data
Definition at line 167 of file JBallarat.hh.
|
inline |
end of calibration data
Definition at line 168 of file JBallarat.hh.
|
inline |
begin of reverse of calibration data
Definition at line 169 of file JBallarat.hh.
|
inline |
begin of reverse of calibration data
Definition at line 170 of file JBallarat.hh.
|
inline |
Get detector calibrated at given time.
t1_s | time [s] |
Definition at line 179 of file JBallarat.hh.
|
protected |
Definition at line 217 of file JBallarat.hh.
|
protected |
Definition at line 218 of file JBallarat.hh.
|
protected |
Definition at line 219 of file JBallarat.hh.
|
private |
Definition at line 222 of file JBallarat.hh.