gucoordinates
Public Attributes | List of all members
gu_camera_coordinate Struct Reference

A gu_camera_coordinate represents the coordinate of a pixel within an image where the (0, 0) coordinate is in the top left corner. More...

#include <camera_coordinate.h>

Inheritance diagram for gu_camera_coordinate:
Inheritance graph
Collaboration diagram for gu_camera_coordinate:
Collaboration graph

Public Attributes

pixels_u x
 The x coordinate of the pixel within the image. More...
 
pixels_u y
 The y coordinate of the pixel within the image. More...
 
pixels_u res_width
 The width of the resolution of the image. More...
 
pixels_u res_height
 The height of the resolution of the image. More...
 

Detailed Description

A gu_camera_coordinate represents the coordinate of a pixel within an image where the (0, 0) coordinate is in the top left corner.

Definition at line 73 of file camera_coordinate.h.

Member Data Documentation

◆ res_height

pixels_u gu_camera_coordinate::res_height

◆ res_width

pixels_u gu_camera_coordinate::res_width

◆ x

pixels_u gu_camera_coordinate::x

The x coordinate of the pixel within the image.

The x coordinate must be in the range of: 0 <= x < res_width

Definition at line 81 of file camera_coordinate.h.

Referenced by cam_coord_to_px_coord(), CGTEST::GUCoordinatesTests< Class >::camera_equal(), CGTEST::CameraCoordinateCPPTests::cchange(), gu_camera_coordinate_equals(), GU::CameraCoordinate::set_x(), and GU::CameraCoordinate::x().

◆ y

pixels_u gu_camera_coordinate::y

The y coordinate of the pixel within the image.

The y coordinate must be in the range of: 0 <= y < res_height

Definition at line 89 of file camera_coordinate.h.

Referenced by cam_coord_to_px_coord(), CGTEST::GUCoordinatesTests< Class >::camera_equal(), CGTEST::CameraCoordinateCPPTests::cchange(), gu_camera_coordinate_equals(), GU::CameraCoordinate::set_y(), and GU::CameraCoordinate::y().


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