struct mrpt::opengl::CompiledViewport::CameraParams

Overview

Current camera configuration.

A copy of the parameters only: copying a CCamera object would count as a change in the scene.

struct CameraParams
{
    // fields

    bool noProjection = false;
    bool projective = true;
    bool is6DOF = false;
    float fovDeg = 30.0f;
    float zoomDistance = 10.0f;
    float azimuthDeg = 0;
    float elevationDeg = 0;
    mrpt::math::TPoint3D pointingAt {0, 0, 0};
    mrpt::math::TPose3D pose;
    std::optional<mrpt::img::TCamera> pinhole;
};