12#ifndef CAMERA_H_6014714286
13#define CAMERA_H_6014714286
46 bool orthogonalProjectionHint;
Defines Carna::base::Spatial.
Represents an association.
Represents the point-of-view and defines the 3D to 2D projection.
Camera()
Instantiates with setOrthogonalProjectionHint set to false.
const math::Matrix4f & projection() const
References the projection matrix of this camera. The projection matrix maps from view space to clippi...
virtual void updateWorldTransform() override
Updates the viewTransform matrix.
void setProjection(const math::Matrix4f &)
Sets the matrix that is to be used for mapping view space to clipping coordinates....
bool isOrthogonalProjectionHintSet() const
Tells whether projection is likely to be orthogonal or perspectival.
void setOrthogonalProjectionHint(bool isOrthogonalProjection)
Sets hint whether projection is orthogonal or perspectival.
const math::Matrix4f & viewTransform() const
References the view matrix, that is the inverse worldTransform matrix.
Represents a spatial scene element. It's location is determined relatively to another spatial that is...
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.