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

Method ViewerEye

src/osvr/Client/ViewerEye.cpp:187–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 util::Rectd ViewerEye::getRect() const { return m_getRect(1.0); }
186
187 ViewerEye::ViewerEye(
188 OSVR_ClientContext ctx, Eigen::Vector3d const &offset,
189 const char path[], Viewport &&viewport, util::Rectd &&unitBounds,
190 bool rot180, double pitchTilt,
191 boost::optional<OSVR_RadialDistortionParameters> radDistortParams,
192 OSVR_DisplayInputCount displayInputIdx, util::Angle opticalAxisOffsetY)
193 : m_pose(ctx, path), m_offset(offset), m_viewport(viewport),
194 m_unitBounds(unitBounds), m_rot180(rot180), m_pitchTilt(pitchTilt),
195 m_radDistortParams(radDistortParams),
196 m_displayInputIdx(displayInputIdx),
197 m_opticalAxisOffsetY(opticalAxisOffsetY) {}
198
199} // namespace client
200} // namespace osvr

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected