Jpp
17.2.0
the software that should make you happy
|
Model. More...
#include <JModel.hh>
Public Member Functions | |
JModel () | |
Default constructor. More... | |
JModel (const JQuaternion3D &Q0, const JQuaternion3D &Q1) | |
Constructor. More... | |
template<class T > | |
JModel (T __begin, T __end) | |
Constructor. More... | |
JModel & | add (const JModel &model) |
Add model. More... | |
JModel & | sub (const JModel &model) |
Subtract model. More... | |
JModel & | mul (const double factor) |
Scale model. More... | |
JQuaternion3D | operator() (const double z) const |
Get quaternion at given z-position. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
Public Attributes | |
JQuaternion3D | Q0 |
tilt More... | |
JQuaternion3D | Q1 |
twist More... | |
Static Public Attributes | |
static const int | NUMBER_OF_PARAMETERS = 4 |
number of parameters of fit per quaternion More... | |
Model.
Definition at line 32 of file JCompass/JModel.hh.
|
inline |
Default constructor.
Definition at line 38 of file JCompass/JModel.hh.
|
inline |
Constructor.
The data type corresponding to the hits should provide for the following policy methods.
double getZ(); // get z-position JQuaternion3D getQuaternion(); // get quaternion
Note that the input data should be ordered with increasing z-positions.
__begin | begin of data |
__end | end of data |
Definition at line 71 of file JCompass/JModel.hh.
Add model.
model | model |
Definition at line 121 of file JCompass/JModel.hh.
Subtract model.
model | model |
Definition at line 139 of file JCompass/JModel.hh.
|
inline |
Scale model.
factor | multiplication factor |
Definition at line 157 of file JCompass/JModel.hh.
|
inline |
Get quaternion at given z-position.
z | z-position. |
Definition at line 172 of file JCompass/JModel.hh.
|
inlineinherited |
|
static |
number of parameters of fit per quaternion
Definition at line 179 of file JCompass/JModel.hh.
JQuaternion3D JCOMPASS::JModel::Q0 |
tilt
Definition at line 181 of file JCompass/JModel.hh.
JQuaternion3D JCOMPASS::JModel::Q1 |
twist
Definition at line 182 of file JCompass/JModel.hh.