15#ifndef PERSPECTIVECONTROL_H_6014714286
16#define PERSPECTIVECONTROL_H_6014714286
49 const std::unique_ptr< Details > pimpl;
Contains forward-declarations.
Defines LibCarna::base::ProjectionControl.
Controls projection matrices.
Controls projection matrices that induce frustum-shaped visible volume.
PerspectiveControl()
Instantiates.
void setFovHorizontal(float radians)
Sets the half angle between the left and the right frustum planes.
static const float DEFAULT_FOV_HORIZONTAL
Holds the default half angle betwen the left and the right frustum planes.
float fovHorizontal() const
Tells the half angle between the left and the right frustum planes.
virtual ~PerspectiveControl()
Deletes.
virtual void updateProjection(base::math::Matrix4f &perspectiveProjection) const override
Creates perspectiveProjection matrix using base::math::frustum4f.
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
#define NON_COPYABLE
Marks the class that it is placed in as non-copyable.