Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_OCULUS_OCULUSDISPLAYSETTINGS_H
17 #define SURGSIM_DEVICES_OCULUS_OCULUSDISPLAYSETTINGS_H
19 #include <osg/DisplaySettings>
77 #endif // SURGSIM_DEVICES_OCULUS_OCULUSDISPLAYSETTINGS_H
void setLeftEyeProjectionMatrix(const SurgSim::Math::Matrix44d &matrix)
Set the projection matrix of the left eye.
Definition: OculusDisplaySettings.cpp:37
osg::Matrixd m_rightEyeProjectionMatrix
Right eye projection matrix.
Definition: OculusDisplaySettings.h:71
osg::Matrixd m_leftEyeProjectionMatrix
Left eye projection matrix.
Definition: OculusDisplaySettings.h:68
SurgSim::Math::Matrix44d getRightEyeProjectionMatrix() const
Get the projection matrix of the right eye.
Definition: OculusDisplaySettings.cpp:52
void setRightEyeProjectionMatrix(const SurgSim::Math::Matrix44d &matrix)
Set the projection matrix of the right eye.
Definition: OculusDisplaySettings.cpp:47
Definition: CompoundShapeToGraphics.cpp:29
OculusDisplaySettings()
Constructor.
Definition: OculusDisplaySettings.cpp:25
Eigen::Matrix< double, 4, 4, Eigen::RowMajor > Matrix44d
A 4x4 matrix of doubles.
Definition: Matrix.h:55
osg::Matrixd computeRightEyeProjectionImplementation(const osg::Matrixd &) const override
This method returns the projection matrix set by setRighttEyeProjectionMatrix() method.
Definition: OculusDisplaySettings.cpp:62
A customized osg::DisplaySettings, to be used with Oculus device.
Definition: OculusDisplaySettings.h:30
osg::Matrixd computeLeftEyeProjectionImplementation(const osg::Matrixd &) const override
This method returns the projection matrix set by setLeftEyeProjectionMatrix() method.
Definition: OculusDisplaySettings.cpp:57
SurgSim::Math::Matrix44d getLeftEyeProjectionMatrix() const
Get the projection matrix of the left eye.
Definition: OculusDisplaySettings.cpp:42