71 set_cameras(t_cameras);
72 set_numCameras(t_numCameras);
77 set_pitch(other.pitch());
79 set_height(other.height());
80 set_cameras(other.cameras());
81 set_numCameras(other.numCameras());
86 set_pitch(other.pitch);
88 set_height(other.height);
89 set_cameras(other.cameras);
90 set_numCameras(other.numCameras);
93#if __cplusplus >= 201103L
96 set_pitch(other.pitch());
98 set_height(other.height());
99 set_cameras(other.cameras());
100 set_numCameras(other.numCameras());
105 set_pitch(other.pitch);
107 set_height(other.height);
108 set_cameras(other.cameras);
109 set_numCameras(other.numCameras);
121 set_pitch(other.pitch());
122 set_yaw(other.yaw());
123 set_height(other.height());
124 set_cameras(other.cameras());
125 set_numCameras(other.numCameras());
135 set_pitch(other.pitch);
137 set_height(other.height);
138 set_cameras(other.cameras);
139 set_numCameras(other.numCameras);
143#if __cplusplus >= 201103L
146 if (&other ==
this) {
149 set_pitch(other.pitch());
150 set_yaw(other.yaw());
151 set_height(other.height());
152 set_cameras(other.cameras());
153 set_numCameras(other.numCameras());
159 if (&other ==
this) {
162 set_pitch(other.pitch);
164 set_height(other.height);
165 set_cameras(other.cameras);
166 set_numCameras(other.numCameras);
239 return !(*
this == other);
249 return !(*
this == other);
bool gu_camera_pivot_equals(const gu_camera_pivot lhs, const gu_camera_pivot rhs, const double tolerance)
#define GU_CAMERA_PIVOT_NUM_CAMERAS
const gu_camera * cameras() const NOEXCEPT
void set_yaw(const degrees_d) NOEXCEPT
int numCameras() const NOEXCEPT
void set_camera(const int, const Camera) NOEXCEPT
void set_pitch(const degrees_d) NOEXCEPT
bool operator!=(const CameraPivot &other) const NOEXCEPT
void set_height(const centimetres_d) NOEXCEPT
degrees_d yaw() const NOEXCEPT
void set_numCameras(const int) NOEXCEPT
degrees_d pitch() const NOEXCEPT
bool operator==(const CameraPivot &other) const NOEXCEPT
Camera camera(const int) const NOEXCEPT
void set_cameras(const gu_camera[2]) NOEXCEPT
centimetres_d height() const NOEXCEPT
CameraPivot & operator=(const CameraPivot &other) NOEXCEPT
A gu_camera_pivot represents the pivot point which a gu_camera is attached to.
degrees_d pitch
The vertical orientation of the pivot point.
degrees_d yaw
The horizontal orientation of the pivot point.
centimetres_d height
The vertical distance from the ground to the pivot point.
gu_camera cameras[2]
The gu_cameras attached to this pivot point.
int numCameras
The number of elements in cameras.