63GU::Camera::Camera(centimetres_d t_height, centimetres_d t_centerOffset, degrees_d t_vDirection, degrees_d t_vFov, degrees_d t_hFov) NOEXCEPT
66 set_centerOffset(t_centerOffset);
67 set_vDirection(t_vDirection);
74 set_height(other.height());
75 set_centerOffset(other.centerOffset());
76 set_vDirection(other.vDirection());
77 set_vFov(other.vFov());
78 set_hFov(other.hFov());
83 set_height(other.height);
84 set_centerOffset(other.centerOffset);
85 set_vDirection(other.vDirection);
90#if __cplusplus >= 201103L
93 set_height(other.height());
94 set_centerOffset(other.centerOffset());
95 set_vDirection(other.vDirection());
96 set_vFov(other.vFov());
97 set_hFov(other.hFov());
102 set_height(other.height);
103 set_centerOffset(other.centerOffset);
104 set_vDirection(other.vDirection);
105 set_vFov(other.vFov);
106 set_hFov(other.hFov);
118 set_height(other.height());
119 set_centerOffset(other.centerOffset());
120 set_vDirection(other.vDirection());
121 set_vFov(other.vFov());
122 set_hFov(other.hFov());
132 set_height(other.height);
133 set_centerOffset(other.centerOffset);
134 set_vDirection(other.vDirection);
135 set_vFov(other.vFov);
136 set_hFov(other.hFov);
140#if __cplusplus >= 201103L
143 if (&other ==
this) {
146 set_height(other.height());
147 set_centerOffset(other.centerOffset());
148 set_vDirection(other.vDirection());
149 set_vFov(other.vFov());
150 set_hFov(other.hFov());
156 if (&other ==
this) {
159 set_height(other.height);
160 set_centerOffset(other.centerOffset);
161 set_vDirection(other.vDirection);
162 set_vFov(other.vFov);
163 set_hFov(other.hFov);
225 return !(*
this == other);
235 return !(*
this == other);
bool gu_camera_equals(const gu_camera lhs, const gu_camera rhs, const double tolerance)
degrees_d vDirection() const NOEXCEPT
void set_hFov(const degrees_d) NOEXCEPT
void set_centerOffset(const centimetres_d) NOEXCEPT
centimetres_d height() const NOEXCEPT
void set_vFov(const degrees_d) NOEXCEPT
bool operator==(const Camera &other) const NOEXCEPT
void set_height(const centimetres_d) NOEXCEPT
centimetres_d centerOffset() const NOEXCEPT
bool operator!=(const Camera &other) const NOEXCEPT
degrees_d hFov() const NOEXCEPT
Camera & operator=(const Camera &other) NOEXCEPT
degrees_d vFov() const NOEXCEPT
void set_vDirection(const degrees_d) NOEXCEPT
centimetres_d centerOffset
The distance the camera is from the center point.
centimetres_d height
The height from the pivot of the camera to the middle of the camera.
degrees_d hFov
The horizontal field of view.
degrees_d vFov
The vertical field of view.
degrees_d vDirection
The degree in which the camera is facing in the vertical direction.