Jpp
|
Auxiliary data structure for module rotation. More...
#include <JDetectorCalibration.hh>
Public Member Functions | |
JModuleRotation_t () | |
Default constructor. More... | |
JModuleRotation_t (const JObjectID &id, const JQuaternion3D &rotation) | |
Constructor. More... | |
int | getID () const |
Get identifier. More... | |
void | setID (const int id) |
Set identifier. More... | |
bool | less (const JObjectID &object) const |
Less than method. More... | |
bool | less (const int id) const |
Less than method. More... | |
bool | more (const int id) const |
More than method. More... | |
const JQuaternion3D & | getQuaternion () const |
Get quaternion. More... | |
JQuaternion3D & | getQuaternion () |
Get quaternion. More... | |
void | setQuaternion (const JQuaternion3D &quaternion) |
Set quaternion. More... | |
operator JVector3D () const | |
Type conversion operator. More... | |
operator JVersor3D () const | |
Type conversion operator. More... | |
double | getA () const |
Get a value. More... | |
double | getB () const |
Get b value. More... | |
double | getC () const |
Get c value. More... | |
double | getD () const |
Get d value. More... | |
JQuaternion3D & | setIdentity () |
Set to identity matrix. More... | |
JQuaternion3D & | conjugate () |
Conjugate quaternion. More... | |
JQuaternion3D & | negate () |
Negate quaternion. More... | |
JQuaternion3D & | add (const JQuaternion3D &quaternion) |
Add quaternion. More... | |
JQuaternion3D & | sub (const JQuaternion3D &quaternion) |
Subtract quaternion. More... | |
JQuaternion3D & | mul (const double factor) |
Scale quaternion. More... | |
JQuaternion3D & | mul (const JQuaternion3D &first, const JQuaternion3X &second) |
Quaternion multiplicaion. More... | |
JQuaternion3D & | mul (const JQuaternion3D &first, const JQuaternion3Y &second) |
Quaternion multiplicaion. More... | |
JQuaternion3D & | mul (const JQuaternion3D &first, const JQuaternion3Z &second) |
Quaternion multiplicaion. More... | |
JQuaternion3D & | mul (const JQuaternion3D &first, const JQuaternion3D &second) |
Quaternion multiplicaion. More... | |
JQuaternion3D & | mul (const JQuaternion3X &qx, const JQuaternion3Y &qy, const JQuaternion3Z &qz) |
Quaternion multiplicaion. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
JQuaternion3D & | div (const double factor) |
Scale quaternion. More... | |
void | rotate (double &__x, double &__y, double &__z) const |
Rotate. More... | |
void | rotate_back (double &__x, double &__y, double &__z) const |
Rotate back. More... | |
bool | equals (const JQuaternion3D &quaternion, const double precision=std::numeric_limits< double >::min()) const |
Check equality. More... | |
double | getLengthSquared () const |
Get length squared. More... | |
double | getLength () const |
Get length. More... | |
double | getDistanceSquared (const JQuaternion3D &quaternion) const |
Get squared of distance to quaternion. More... | |
double | getDistance (const JQuaternion3D &quaternion) const |
Get distance to quaternion. More... | |
double | getDot (const JQuaternion3D &quaternion) const |
Get dot product. More... | |
Protected Attributes | |
int | __id |
double | __a |
double | __b |
double | __c |
double | __d |
Auxiliary data structure for module rotation.
Definition at line 184 of file JDetectorCalibration.hh.
|
inline |
|
inline |
Constructor.
id | module identifier |
rotation | module rotation |
Definition at line 201 of file JDetectorCalibration.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
object | object identifier |
Definition at line 78 of file JObjectID.hh.
|
inlineinherited |
Less than method.
id | identifier |
Definition at line 90 of file JObjectID.hh.
|
inlineinherited |
More than method.
id | identifier |
Definition at line 102 of file JObjectID.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Quaternion multiplicaion.
This method evaluates the Hamilton product (also called cross product).
first | first quaternion |
second | second quaternion |
Definition at line 548 of file JQuaternion3D.hh.
|
inlineinherited |
Quaternion multiplicaion.
This method evaluates the Hamilton product (or cross product).
first | first quaternion |
second | second quaternion |
Definition at line 568 of file JQuaternion3D.hh.
|
inlineinherited |
Quaternion multiplicaion.
This method evaluates the Hamilton product (or cross product).
first | first quaternion |
second | second quaternion |
Definition at line 589 of file JQuaternion3D.hh.
|
inlineinherited |
Quaternion multiplicaion.
This method evaluates the Hamilton product (or cross product).
first | first quaternion |
second | second quaternion |
Definition at line 610 of file JQuaternion3D.hh.
|
inlineinherited |
Quaternion multiplicaion.
qx | rotation around x-axis |
qy | rotation around y-axis |
qz | rotation around x-axis |
Definition at line 630 of file JQuaternion3D.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
inlineinherited |
|
inlineinherited |
Rotate.
__x | x value |
__y | y value |
__z | z value |
Definition at line 645 of file JQuaternion3D.hh.
|
inlineinherited |
Rotate back.
__x | x value |
__y | y value |
__z | z value |
Definition at line 668 of file JQuaternion3D.hh.
|
inlineinherited |
Check equality.
quaternion | quaternion |
precision | numerical precision |
Definition at line 691 of file JQuaternion3D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get squared of distance to quaternion.
quaternion | quaternion |
Definition at line 729 of file JQuaternion3D.hh.
|
inlineinherited |
Get distance to quaternion.
quaternion | quaternion |
Definition at line 741 of file JQuaternion3D.hh.
|
inlineinherited |
|
protectedinherited |
Definition at line 160 of file JObjectID.hh.
|
protectedinherited |
Definition at line 835 of file JQuaternion3D.hh.
|
protectedinherited |
Definition at line 836 of file JQuaternion3D.hh.
|
protectedinherited |
Definition at line 837 of file JQuaternion3D.hh.
|
protectedinherited |
Definition at line 838 of file JQuaternion3D.hh.