gusimplewhiteboard
|
Provides a C++ wrapper around wb_vision_line
.
More...
#include <VisionLine.hpp>
Public Member Functions | |
VisionLine (struct wb_pixel_coordinate_line t_lineEdgeTop=wb_pixel_coordinate_line(), struct wb_pixel_coordinate_line t_lineEdgeBottom=wb_pixel_coordinate_line()) | |
Create a new VisionLine . More... | |
VisionLine (const VisionLine &t_other) | |
Copy Constructor. More... | |
VisionLine (const struct wb_vision_line &t_other) | |
Copy Constructor. More... | |
VisionLine & | operator= (const VisionLine &t_other) |
Copy Assignment Operator. More... | |
VisionLine & | operator= (const struct wb_vision_line &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const VisionLine &t_other) const |
bool | operator!= (const VisionLine &t_other) const |
bool | operator== (const wb_vision_line &t_other) const |
bool | operator!= (const wb_vision_line &t_other) const |
PixelCoordinateLine & | lineEdgeTop () |
const PixelCoordinateLine & | lineEdgeTop () const |
void | set_lineEdgeTop (const PixelCoordinateLine &t_newValue) |
PixelCoordinateLine & | lineEdgeBottom () |
const PixelCoordinateLine & | lineEdgeBottom () const |
void | set_lineEdgeBottom (const PixelCoordinateLine &t_newValue) |
VisionLine (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
Additional Inherited Members | |
![]() | |
struct wb_pixel_coordinate_line | lineEdgeTop |
line object representing the top edge of an SPL line. More... | |
struct wb_pixel_coordinate_line | lineEdgeBottom |
line object representing the bottom edge of an SPL line. More... | |
Provides a C++ wrapper around wb_vision_line
.
Definition at line 85 of file VisionLine.hpp.
|
inline |
|
inline |
Copy Constructor.
Definition at line 109 of file VisionLine.hpp.
References lineEdgeBottom(), and lineEdgeTop().
|
inline |
Copy Constructor.
Definition at line 116 of file VisionLine.hpp.
References wb_vision_line::lineEdgeBottom, and wb_vision_line::lineEdgeTop.
|
inline |
|
inline |
USE_WB_VISION_LINE_C_CONVERSION
Definition at line 196 of file VisionLine.hpp.
References guWhiteboard::PixelCoordinateLine::description(), lineEdgeBottom(), lineEdgeTop(), VISION_LINE_DESC_BUFFER_SIZE, and wb_vision_line_description().
|
inline |
USE_WB_VISION_LINE_C_CONVERSION
Definition at line 230 of file VisionLine.hpp.
References guWhiteboard::PixelCoordinateLine::from_string(), set_lineEdgeBottom(), set_lineEdgeTop(), and VISION_LINE_DESC_BUFFER_SIZE.
Referenced by VisionLine(), and guWhiteboard::VisionLines::from_string().
|
inline |
Definition at line 172 of file VisionLine.hpp.
References wb_vision_line::lineEdgeBottom.
Referenced by VisionLine(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 177 of file VisionLine.hpp.
References wb_vision_line::lineEdgeBottom.
|
inline |
Definition at line 157 of file VisionLine.hpp.
References wb_vision_line::lineEdgeTop.
Referenced by VisionLine(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 162 of file VisionLine.hpp.
References wb_vision_line::lineEdgeTop.
|
inline |
Definition at line 142 of file VisionLine.hpp.
|
inline |
Definition at line 152 of file VisionLine.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 131 of file VisionLine.hpp.
References wb_vision_line::lineEdgeBottom, and wb_vision_line::lineEdgeTop.
|
inline |
Copy Assignment Operator.
Definition at line 123 of file VisionLine.hpp.
References lineEdgeBottom(), and lineEdgeTop().
|
inline |
Definition at line 136 of file VisionLine.hpp.
References lineEdgeBottom(), and lineEdgeTop().
|
inline |
Definition at line 147 of file VisionLine.hpp.
References VisionLine().
|
inline |
Definition at line 182 of file VisionLine.hpp.
References wb_vision_line::lineEdgeBottom.
Referenced by from_string().
|
inline |
Definition at line 167 of file VisionLine.hpp.
References wb_vision_line::lineEdgeTop.
Referenced by from_string().
|
inline |
USE_WB_VISION_LINE_C_CONVERSION
Definition at line 211 of file VisionLine.hpp.
References lineEdgeBottom(), lineEdgeTop(), guWhiteboard::PixelCoordinateLine::to_string(), VISION_LINE_TO_STRING_BUFFER_SIZE, and wb_vision_line_to_string().