15#ifndef CAMERA_H_6014714286
16#define CAMERA_H_6014714286
49 bool orthogonalProjectionHint;
Defines LibCarna::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 & viewTransform() const
References the view matrix, that is the inverse worldTransform matrix.
void setProjection(const math::Matrix4f &)
Sets the matrix that is to be used for mapping view space to clipping coordinates....
virtual void updateWorldTransform() override
Updates the viewTransform matrix.
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 & projection() const
References the projection matrix of this camera. The projection matrix maps from view space to clippi...
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.