Class ILLIXR::switchboard::coordinate_system
Base coordinate system. More...
Public Functions
Type | Name |
---|---|
coordinate_system () |
|
const Eigen::Quaternionf & | orientation () const |
const Eigen::Vector3f & | position () const |
Detailed Description
This class reads in and hold the world coordinate system origin. The origin can be provided by the WCS_ORIGIN environment/yaml variable and can be specified in one of three ways
- a set of 3 comma separated values, representing only the origin in x, y, and z coordinates
- a set of 4 comma separated values, representing only the quaternion of the origin in w, x, y, z
- a set of 7 comma seperated values, representing both the origin and its quaternion in the form x, y, z, w, wx, wy, wz
Any component which is not given defaults to 0 (except w which is set to 1)
Public Functions Documentation
function coordinate_system
inline coordinate_system::coordinate_system ()
function orientation
inline const Eigen::Quaternionf & coordinate_system::orientation () const
Get the orientation portion of the WCS origin
Returns:
Eigen::Quaternionf
function position
inline const Eigen::Vector3f & coordinate_system::position () const
Get the position portion of the WCS origin
Returns:
Eigen::Vector3f
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/switchboard.hpp