![]() |
VR-Link API Documentation for HLA 1.3
|
DtCoordTransform is used to transform locations, vectors and orientations from one Cartesian coordinate system to another. More...
Collaboration diagram for DtCoordTransform:Public Member Functions | |
| DtCoordTransform () | |
| DtCoordTransform (const DtVector &toOriginInFromCoord, const DtDcm &from2to) | |
| void | setOffset (const DtVector &toOriginInFromCoord) |
| void | setRotation (const DtDcm &from2to) |
| void | setByInverse (const DtCoordTransform &to2from) |
| DtVector | offset () const |
| DtDcm | rotation () const |
| void | getOrientation (DtDcmRef from_to) const |
| void | coordTrans (const DtVector &from, DtVector &to) const |
| void | vecTrans (const DtVector &from, DtVector &to) const |
| void | vecTrans (const DtVector32 &from, DtVector32 &to) const |
| void | eulerTrans (const DtTaitBryan &from, DtTaitBryan *to) const |
| void | getOffset (DtVector &toOriginInFromCoord) const |
| getOffset is deprecated and should not be used | |
Protected Attributes | |
| DtVector | myOffset |
| DtDcm | myRotation |
| "to" origin in base coordinates | |
DtCoordTransform is used to transform locations, vectors and orientations from one Cartesian coordinate system to another.
This class is typically used to convert between geocentric and topographic coordinates.
More information about this class, as well as examples are provided in the VR-Link Developers Guide in section 11.3.3 (Topographic Coordinates)
| DtCoordTransform::DtCoordTransform | ( | ) |
| void DtCoordTransform::eulerTrans | ( | const DtTaitBryan & | from, |
| DtTaitBryan * | to | ||
| ) | const |
| void DtCoordTransform::getOffset | ( | DtVector & | toOriginInFromCoord | ) | const |
getOffset is deprecated and should not be used
| void DtCoordTransform::getOrientation | ( | DtDcmRef | from_to | ) | const |
| DtVector DtCoordTransform::offset | ( | ) | const |
| DtDcm DtCoordTransform::rotation | ( | ) | const |
| void DtCoordTransform::setByInverse | ( | const DtCoordTransform & | to2from | ) |
| void DtCoordTransform::setOffset | ( | const DtVector & | toOriginInFromCoord | ) |
| void DtCoordTransform::setRotation | ( | const DtDcm & | from2to | ) |
| void DtCoordTransform::vecTrans | ( | const DtVector32 & | from, |
| DtVector32 & | to | ||
| ) | const |
|
protected |
|
protected |
"to" origin in base coordinates