Struct ILLIXR::data_format::pose_data
ClassList > ILLIXR > data_format > pose_data
#include <pose.hpp>
Inherited by the following classes: ILLIXR::data_format::pose_type
Public Attributes
Type | Name |
---|---|
coordinates::frame | co_frame the coordinate reference frame (e.g. left handed y up) |
float | confidence confidence rating of the pose data 0. - 1. with 1. being 100% |
Eigen::Quaternionf | orientation quaternion representing the rotation of the pose from the reference frame origin |
Eigen::Vector3f | position x, y, and z of the translation |
coordinates::reference_space | ref_space the reference space (VIEWER = origin is camera, WORLD = origin is specified at startup of system |
units::measurement_unit | unit units for the translation portion of the pose |
bool | valid whether the pose contains valid data |
Public Functions
Type | Name |
---|---|
pose_data () |
|
pose_data (Eigen::Vector3f position_, Eigen::Quaternionf orientation_, units::measurement_unit unit_=units::UNSET, coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP, coordinates::reference_space ref=coordinates::VIEWER, const float confidence_=0., bool valid_=true) |
Detailed Description
struct containing basic pose data
Public Attributes Documentation
variable co_frame
the coordinate reference frame (e.g. left handed y up)
coordinates::frame ILLIXR::data_format::pose_data::co_frame;
variable confidence
confidence rating of the pose data 0. - 1. with 1. being 100%
float ILLIXR::data_format::pose_data::confidence;
variable orientation
quaternion representing the rotation of the pose from the reference frame origin
Eigen::Quaternionf ILLIXR::data_format::pose_data::orientation;
variable position
x, y, and z of the translation
Eigen::Vector3f ILLIXR::data_format::pose_data::position;
variable ref_space
the reference space (VIEWER = origin is camera, WORLD = origin is specified at startup of system
coordinates::reference_space ILLIXR::data_format::pose_data::ref_space;
variable unit
units for the translation portion of the pose
units::measurement_unit ILLIXR::data_format::pose_data::unit;
variable valid
whether the pose contains valid data
bool ILLIXR::data_format::pose_data::valid;
Public Functions Documentation
function pose_data [1/2]
inline ILLIXR::data_format::pose_data::pose_data ()
Basic constructor
function pose_data [2/2]
inline ILLIXR::data_format::pose_data::pose_data (
Eigen::Vector3f position_,
Eigen::Quaternionf orientation_,
units::measurement_unit unit_=units::UNSET,
coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP,
coordinates::reference_space ref=coordinates::VIEWER,
const float confidence_=0.,
bool valid_=true
)
Create an instance based on the given data
Parameters:
position_
The positional part of the poseorientation_
RThe rotational part of the poseunit_
The units for the pose, default is UNSETfrm
The reference frame, default is RIGHT_HANDED_Y_UPref
The reference space, default is VIEWERconfidence_
The confidence of the pose (0..1, where 0 means no confidence)valid_
The validity of the pose
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/data_format/pose.hpp