8#ifndef META_OCEAN_RENDERING_STEREO_VIEW_H
9#define META_OCEAN_RENDERING_STEREO_VIEW_H
ObjectType
Definition of different object type.
Definition Object.h:63
This class is the base class for all perspective views.
Definition PerspectiveView.h:37
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
This class is the base class for all stereo views.
Definition StereoView.h:35
~StereoView() override
Destructs a stereo view object.
virtual void setRightTransformation(const HomogenousMatrix4 &world_T_rightView)
Sets the position and orientation of the right view in world coordinates (the right extrinsic camera ...
virtual HomogenousMatrix4 rightTransformation() const
Returns the position and orientation of the right view in world coordinates (the right extrinsic came...
virtual void setRightProjectionMatrix(const SquareMatrix4 &rightClip_T_rightView_)
Sets the right projection matrix.
void setTransformation(const HomogenousMatrix4 &world_T_device) override
Sets the position and orientation of the center between left and right view (device) in world coordin...
virtual Scalar focusDistance() const
Returns the focus distance of this view.
virtual bool setStereoType(const StereoType type)
Sets the stereo visualization type of this stereo view.
ObjectType type() const override
Returns the type of this object.
virtual void setFocusDistance(const Scalar focus)
Sets the focus distance of this view.
StereoView()
Creates a new stereo view object.
virtual void setEyesReversed(const bool reverse)
Sets whether left and right image will be reversed.
StereoType
Definition of different stereo visualization types.
Definition StereoView.h:42
@ STEREO_TYPE_ANAGLYPH
Anaglyph stereo visualization type.
Definition StereoView.h:48
@ STEREO_TYPE_INVALID
Invalid stereo type.
Definition StereoView.h:44
@ STEREO_TYPE_QUADBUFFERED
Quadbuffered stereo visualization type.
Definition StereoView.h:46
virtual void setLeftTransformation(const HomogenousMatrix4 &world_T_leftView)
Sets the position and orientation of the left view in world coordinates (the left extrinsic camera da...
virtual bool eyesReversed() const
Returns whether left and right image is reversed.
SquareMatrix4 projectionMatrix() const override
Returns the projection matrix of this view.
virtual SquareMatrix4 leftProjectionMatrix() const
Returns the left projection matrix.
virtual StereoType stereoType() const
Returns the stereo visualization type of this stereo view.
virtual void setLeftProjectionMatrix(const SquareMatrix4 &leftClip_T_leftView_)
Sets the left projection matrix.
HomogenousMatrix4 transformation() const override
Returns the transformation between the center of both views (device) and world.
virtual HomogenousMatrix4 leftTransformation() const
Returns the position and orientation of the left view in world coordinates (the left extrinsic camera...
virtual SquareMatrix4 rightProjectionMatrix() const
Returns the right projection matrix.
float Scalar
Definition of a scalar type.
Definition Math.h:129
SmartObjectRef< StereoView > StereoViewRef
Definition of a smart object reference holding a stereo view node.
Definition StereoView.h:28
The namespace covering the entire Ocean framework.
Definition Accessor.h:15