gusimplewhiteboard
|
Provides a C++ wrapper around wb_pixel_coordinate_line
.
More...
#include <PixelCoordinateLine.hpp>
Public Member Functions | |
PixelCoordinateLine (struct wb_pixel_coordinate t_start=wb_pixel_coordinate(), struct wb_pixel_coordinate t_end=wb_pixel_coordinate()) | |
Create a new PixelCoordinateLine . More... | |
PixelCoordinateLine (const PixelCoordinateLine &t_other) | |
Copy Constructor. More... | |
PixelCoordinateLine (const struct wb_pixel_coordinate_line &t_other) | |
Copy Constructor. More... | |
PixelCoordinateLine & | operator= (const PixelCoordinateLine &t_other) |
Copy Assignment Operator. More... | |
PixelCoordinateLine & | operator= (const struct wb_pixel_coordinate_line &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const PixelCoordinateLine &t_other) const |
bool | operator!= (const PixelCoordinateLine &t_other) const |
bool | operator== (const wb_pixel_coordinate_line &t_other) const |
bool | operator!= (const wb_pixel_coordinate_line &t_other) const |
PixelCoordinate & | start () |
const PixelCoordinate & | start () const |
void | set_start (const PixelCoordinate &t_newValue) |
PixelCoordinate & | end () |
const PixelCoordinate & | end () const |
void | set_end (const PixelCoordinate &t_newValue) |
PixelCoordinateLine (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
GU::PixelCoordinate | startPixelCoordinate (const uint16_t resWidth, const uint16_t resHeight) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
GU::PixelCoordinate | endPixelCoordinate (const uint16_t resWidth, const uint16_t resHeight) |
Additional Inherited Members | |
![]() | |
struct wb_pixel_coordinate | start |
Start point of the line. More... | |
struct wb_pixel_coordinate | end |
End point of the line. More... | |
Provides a C++ wrapper around wb_pixel_coordinate_line
.
Definition at line 92 of file PixelCoordinateLine.hpp.
|
inline |
Create a new PixelCoordinateLine
.
Definition at line 109 of file PixelCoordinateLine.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file PixelCoordinateLine.hpp.
|
inline |
Copy Constructor.
Definition at line 123 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::end, and wb_pixel_coordinate_line::start.
|
inline |
String Constructor.
Definition at line 198 of file PixelCoordinateLine.hpp.
References from_string().
|
inline |
USE_WB_PIXEL_COORDINATE_LINE_C_CONVERSION
Definition at line 203 of file PixelCoordinateLine.hpp.
References guWhiteboard::PixelCoordinate::description(), end(), PIXEL_COORDINATE_LINE_DESC_BUFFER_SIZE, start(), and wb_pixel_coordinate_line_description().
Referenced by guWhiteboard::VisionLine::description().
|
inline |
Definition at line 179 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::end.
Referenced by PixelCoordinateLine(), description(), endPixelCoordinate(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 184 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::end.
|
inline |
Definition at line 344 of file PixelCoordinateLine.hpp.
References end(), and guWhiteboard::PixelCoordinate::pixelCoordinate().
|
inline |
USE_WB_PIXEL_COORDINATE_LINE_C_CONVERSION
Definition at line 237 of file PixelCoordinateLine.hpp.
References guWhiteboard::PixelCoordinate::from_string(), PIXEL_COORDINATE_LINE_DESC_BUFFER_SIZE, set_end(), and set_start().
Referenced by PixelCoordinateLine(), guWhiteboard::VisionDetectionLineArray::from_string(), and guWhiteboard::VisionLine::from_string().
|
inline |
Definition at line 149 of file PixelCoordinateLine.hpp.
|
inline |
Definition at line 159 of file PixelCoordinateLine.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file PixelCoordinateLine.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 138 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::end, and wb_pixel_coordinate_line::start.
|
inline |
Definition at line 143 of file PixelCoordinateLine.hpp.
|
inline |
Definition at line 154 of file PixelCoordinateLine.hpp.
References PixelCoordinateLine().
|
inline |
Definition at line 189 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::end.
Referenced by from_string().
|
inline |
Definition at line 174 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::start.
Referenced by from_string().
|
inline |
Definition at line 164 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::start.
Referenced by PixelCoordinateLine(), description(), operator=(), operator==(), startPixelCoordinate(), and to_string().
|
inline |
Definition at line 169 of file PixelCoordinateLine.hpp.
References wb_pixel_coordinate_line::start.
|
inline |
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 340 of file PixelCoordinateLine.hpp.
References guWhiteboard::PixelCoordinate::pixelCoordinate(), and start().
|
inline |
USE_WB_PIXEL_COORDINATE_LINE_C_CONVERSION
Definition at line 218 of file PixelCoordinateLine.hpp.
References end(), PIXEL_COORDINATE_LINE_TO_STRING_BUFFER_SIZE, start(), guWhiteboard::PixelCoordinate::to_string(), and wb_pixel_coordinate_line_to_string().
Referenced by guWhiteboard::VisionLine::to_string().