Antkeeper  0.0.1
Public Attributes | List of all members
autofocus_component Struct Reference

Modulates a camera's field of view and spring arm length. More...

#include <autofocus-component.hpp>

Public Attributes

double near_focal_plane_height {1.0}
 Height of the focal plane at maximum zoom. More...
 
double far_focal_plane_height {50.0}
 Height of the focal plane at minimum zoom. More...
 
double near_hfov {math::radians(90.0)}
 Horizontal FoV at maximum zoom. More...
 
double far_hfov {math::radians(45.0)}
 Horizontal FoV at minimum zoom. More...
 
double zoom {}
 Zoom factor, on [0, 1]. More...
 
math::dvec2 focal_plane_size
 Dimensions of the focal plane. More...
 
double hfov {}
 Horizontal FoV of the camera, in radians. More...
 
double vfov {}
 Vertical FoV of the camera, in radians. More...
 
math::dvec3 focal_point_offset {}
 Position of the focal point, relative to the subject. More...
 

Detailed Description

Modulates a camera's field of view and spring arm length.

Definition at line 30 of file autofocus-component.hpp.

Member Data Documentation

◆ far_focal_plane_height

double autofocus_component::far_focal_plane_height {50.0}

Height of the focal plane at minimum zoom.

Definition at line 36 of file autofocus-component.hpp.

◆ far_hfov

double autofocus_component::far_hfov {math::radians(45.0)}

Horizontal FoV at minimum zoom.

Definition at line 42 of file autofocus-component.hpp.

◆ focal_plane_size

math::dvec2 autofocus_component::focal_plane_size

Dimensions of the focal plane.

Definition at line 48 of file autofocus-component.hpp.

◆ focal_point_offset

math::dvec3 autofocus_component::focal_point_offset {}

Position of the focal point, relative to the subject.

Definition at line 57 of file autofocus-component.hpp.

◆ hfov

double autofocus_component::hfov {}

Horizontal FoV of the camera, in radians.

Definition at line 51 of file autofocus-component.hpp.

◆ near_focal_plane_height

double autofocus_component::near_focal_plane_height {1.0}

Height of the focal plane at maximum zoom.

Definition at line 33 of file autofocus-component.hpp.

◆ near_hfov

double autofocus_component::near_hfov {math::radians(90.0)}

Horizontal FoV at maximum zoom.

Definition at line 39 of file autofocus-component.hpp.

◆ vfov

double autofocus_component::vfov {}

Vertical FoV of the camera, in radians.

Definition at line 54 of file autofocus-component.hpp.

◆ zoom

double autofocus_component::zoom {}

Zoom factor, on [0, 1].

Definition at line 45 of file autofocus-component.hpp.


The documentation for this struct was generated from the following file: