MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / getPose

Method getPose

src/osvr/Client/ViewerEye.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 return transformedPose;
53 }
54 OSVR_Pose3 ViewerEye::getPose() const {
55 Eigen::Isometry3d transformedPose = getPoseIsometry();
56 OSVR_Pose3 pose;
57 util::toPose(transformedPose, pose);
58 return pose;
59 }
60
61 bool ViewerEye::hasPose() const {
62 return m_pose->hasStateForReportType<OSVR_PoseReport>();

Callers

nothing calls this directly

Calls 1

toPoseFunction · 0.85

Tested by

no test coverage detected