|
gucoordinates
|
A gu_pixel_coordinate represents the coordinate of a pixel within an image.
More...
#include <pixel_coordinate.h>
Public Attributes | |
| pixels_t | x |
| The x coordinate of the pixel within the image. More... | |
| pixels_t | 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... | |
A gu_pixel_coordinate represents the coordinate of a pixel within an image.
Definition at line 73 of file pixel_coordinate.h.
| pixels_u gu_pixel_coordinate::res_height |
The height of the resolution of the image.
Definition at line 101 of file pixel_coordinate.h.
Referenced by CGTEST::PixelCoordinateCPPTests::cchange(), gu_pixel_coordinate_equals(), gu_pixel_coordinate_y_lower_bound(), gu_pixel_coordinate_y_upper_bound(), CGTEST::GUCoordinatesTests< Class >::pixel_equal(), px_coord_to_cam_coord(), px_coord_to_pct_coord(), GU::PixelCoordinate::resHeight(), and GU::PixelCoordinate::set_resHeight().
| pixels_u gu_pixel_coordinate::res_width |
The width of the resolution of the image.
Definition at line 96 of file pixel_coordinate.h.
Referenced by CGTEST::PixelCoordinateCPPTests::cchange(), gu_pixel_coordinate_equals(), gu_pixel_coordinate_x_lower_bound(), gu_pixel_coordinate_x_upper_bound(), CGTEST::GUCoordinatesTests< Class >::pixel_equal(), px_coord_to_cam_coord(), px_coord_to_pct_coord(), GU::PixelCoordinate::resWidth(), and GU::PixelCoordinate::set_resWidth().
| pixels_t gu_pixel_coordinate::x |
The x coordinate of the pixel within the image.
The x coordinate must be in the range of:
-floor((res_width - 1) / 2) <= x <= ceil((res_width - 1) / 2)
Definition at line 82 of file pixel_coordinate.h.
Referenced by CGTEST::PixelCoordinateCPPTests::cchange(), gu_pixel_coordinate_equals(), CGTEST::GUCoordinatesTests< Class >::pixel_equal(), px_coord_to_cam_coord(), px_coord_to_pct_coord(), GU::PixelCoordinate::set_x(), and GU::PixelCoordinate::x().
| pixels_t gu_pixel_coordinate::y |
The y coordinate of the pixel within the image.
The y coordinate must be in the range of:
-floor((res_height - 1) / 2) <= x <= ceil((res_height - 1) / 2)
Definition at line 91 of file pixel_coordinate.h.
Referenced by CGTEST::PixelCoordinateCPPTests::cchange(), gu_pixel_coordinate_equals(), CGTEST::GUCoordinatesTests< Class >::pixel_equal(), px_coord_to_cam_coord(), px_coord_to_pct_coord(), GU::PixelCoordinate::set_y(), and GU::PixelCoordinate::y().