62#if __cplusplus >= 201703L
72 set_resWidth(t_resWidth);
73 set_resHeight(t_resHeight);
80 set_resWidth(other.resWidth());
81 set_resHeight(other.resHeight());
88 set_resWidth(other.res_width);
89 set_resHeight(other.res_height);
92#if __cplusplus >= 201103L
97 set_resWidth(other.resWidth());
98 set_resHeight(other.resHeight());
105 set_resWidth(other.res_width);
106 set_resHeight(other.res_height);
120 set_resWidth(other.resWidth());
121 set_resHeight(other.resHeight());
133 set_resWidth(other.res_width);
134 set_resHeight(other.res_height);
138#if __cplusplus >= 201103L
141 if (&other ==
this) {
146 set_resWidth(other.resWidth());
147 set_resHeight(other.resHeight());
153 if (&other ==
this) {
158 set_resWidth(other.res_width);
159 set_resHeight(other.res_height);
171 return pixelCoordinate().percentCoordinate();
176 return percentCoordinate().relativeCoordinate(cameraPivot, cameraOffset);
246 return !(*
this == other);
256 return !(*
this == other);
bool gu_camera_coordinate_equals(const gu_camera_coordinate lhs, const gu_camera_coordinate rhs)
pixels_t gu_camera_coordinate_y_upper_bound(const gu_camera_coordinate coord)
pixels_t gu_camera_coordinate_x_upper_bound(const gu_camera_coordinate coord)
pixels_t gu_camera_coordinate_x_lower_bound(const gu_camera_coordinate coord)
pixels_t gu_camera_coordinate_y_lower_bound(const gu_camera_coordinate coord)
gu_pixel_coordinate cam_coord_to_px_coord(const gu_camera_coordinate coord)
RelativeCoordinate relativeCoordinate(const GU::CameraPivot &, const int) const NOEXCEPT
GU::PixelCoordinate pixelCoordinate() const NOEXCEPT
pixels_u y() const NOEXCEPT
void set_resWidth(const pixels_u) NOEXCEPT
bool operator==(const CameraCoordinate &other) const NOEXCEPT
pixels_t xLowerBound() const NOEXCEPT
pixels_u resWidth() const NOEXCEPT
void set_x(const pixels_u) NOEXCEPT
pixels_t yUpperBound() const NOEXCEPT
void set_resHeight(const pixels_u) NOEXCEPT
~CameraCoordinate() NOEXCEPT
pixels_t yLowerBound() const NOEXCEPT
pixels_u resHeight() const NOEXCEPT
void set_y(const pixels_u) NOEXCEPT
bool operator!=(const CameraCoordinate &other) const NOEXCEPT
pixels_t xUpperBound() const NOEXCEPT
CameraCoordinate() NOEXCEPT
GU::PercentCoordinate percentCoordinate() const NOEXCEPT
CameraCoordinate & operator=(const CameraCoordinate &other) NOEXCEPT
pixels_u x() const NOEXCEPT
A gu_camera_coordinate represents the coordinate of a pixel within an image where the (0,...
pixels_u x
The x coordinate of the pixel within the image.
pixels_u res_height
The height of the resolution of the image.
pixels_u res_width
The width of the resolution of the image.
pixels_u y
The y coordinate of the pixel within the image.