gusimplewhiteboard
|
Provides a C++ wrapper around wb_vision_detection_lines
.
More...
#include <VisionDetectionLines.hpp>
Public Member Functions | |
VisionDetectionLines (uint64_t t_frameNumber=0, const struct wb_vision_detection_line_array t_lines[2]=NULLPTR, uint16_t t_res_width=0, uint16_t t_res_height=0) | |
Create a new VisionDetectionLines . More... | |
VisionDetectionLines (const VisionDetectionLines &t_other) | |
Copy Constructor. More... | |
VisionDetectionLines (const struct wb_vision_detection_lines &t_other) | |
Copy Constructor. More... | |
VisionDetectionLines & | operator= (const VisionDetectionLines &t_other) |
Copy Assignment Operator. More... | |
VisionDetectionLines & | operator= (const struct wb_vision_detection_lines &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const VisionDetectionLines &t_other) const |
bool | operator!= (const VisionDetectionLines &t_other) const |
bool | operator== (const wb_vision_detection_lines &t_other) const |
bool | operator!= (const wb_vision_detection_lines &t_other) const |
uint64_t & | frameNumber () |
const uint64_t & | frameNumber () const |
void | set_frameNumber (const uint64_t &t_newValue) |
const VisionDetectionLineArray * | lines () const |
size_t | lines_size () const |
VisionDetectionLineArray & | lines (int t_i) |
const VisionDetectionLineArray & | lines (int t_i) const |
void | set_lines (const VisionDetectionLineArray *t_newValue) |
void | set_lines (const VisionDetectionLineArray &t_newValue, int t_i) |
uint16_t & | res_width () |
const uint16_t & | res_width () const |
void | set_res_width (const uint16_t &t_newValue) |
uint16_t & | res_height () |
const uint16_t & | res_height () const |
void | set_res_height (const uint16_t &t_newValue) |
VisionDetectionLines (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 | |
![]() | |
uint64_t | frameNumber |
The frame number that these lines were seen in. More... | |
struct wb_vision_detection_line_array | lines [2] |
Lines reported for each camera. More... | |
uint16_t | res_width |
The resolution width. More... | |
uint16_t | res_height |
The resolution height. More... | |
Provides a C++ wrapper around wb_vision_detection_lines
.
Definition at line 85 of file VisionDetectionLines.hpp.
|
inline |
Create a new VisionDetectionLines
.
Definition at line 109 of file VisionDetectionLines.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file VisionDetectionLines.hpp.
References frameNumber(), lines(), res_height(), and res_width().
|
inline |
Copy Constructor.
Definition at line 123 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::frameNumber, wb_vision_detection_lines::lines, wb_vision_detection_lines::res_height, and wb_vision_detection_lines::res_width.
|
inline |
String Constructor.
Definition at line 252 of file VisionDetectionLines.hpp.
References from_string().
|
inline |
USE_WB_VISION_DETECTION_LINES_C_CONVERSION
Definition at line 257 of file VisionDetectionLines.hpp.
References description(), frameNumber(), lines(), res_height(), res_width(), VISION_DETECTION_LINES_DESC_BUFFER_SIZE, VISION_DETECTION_LINES_LINES_ARRAY_SIZE, and wb_vision_detection_lines_description().
Referenced by description().
|
inline |
Definition at line 173 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::frameNumber.
Referenced by VisionDetectionLines(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 178 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::frameNumber.
|
inline |
USE_WB_VISION_DETECTION_LINES_C_CONVERSION
Definition at line 311 of file VisionDetectionLines.hpp.
References guWhiteboard::VisionDetectionLineArray::from_string(), set_frameNumber(), set_lines(), set_res_height(), set_res_width(), VISION_DETECTION_LINES_DESC_BUFFER_SIZE, and VISION_DETECTION_LINES_LINES_ARRAY_SIZE.
Referenced by VisionDetectionLines().
|
inline |
Definition at line 188 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::lines.
Referenced by VisionDetectionLines(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 198 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::lines.
|
inline |
Definition at line 203 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::lines.
|
inline |
Definition at line 193 of file VisionDetectionLines.hpp.
References VISION_DETECTION_LINES_LINES_ARRAY_SIZE.
|
inline |
Definition at line 158 of file VisionDetectionLines.hpp.
|
inline |
Definition at line 168 of file VisionDetectionLines.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 138 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::frameNumber, wb_vision_detection_lines::lines, wb_vision_detection_lines::res_height, and wb_vision_detection_lines::res_width.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file VisionDetectionLines.hpp.
References frameNumber(), lines(), res_height(), and res_width().
|
inline |
Definition at line 143 of file VisionDetectionLines.hpp.
References frameNumber(), lines(), res_height(), and res_width().
|
inline |
Definition at line 163 of file VisionDetectionLines.hpp.
References VisionDetectionLines().
|
inline |
Definition at line 233 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_height.
Referenced by VisionDetectionLines(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 238 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_height.
|
inline |
Definition at line 218 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_width.
Referenced by VisionDetectionLines(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 223 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_width.
|
inline |
Definition at line 183 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::frameNumber.
Referenced by from_string().
|
inline |
Definition at line 213 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::lines.
|
inline |
Definition at line 208 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::lines, and VISION_DETECTION_LINES_LINES_ARRAY_SIZE.
Referenced by from_string().
|
inline |
Definition at line 243 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_height.
Referenced by from_string().
|
inline |
Definition at line 228 of file VisionDetectionLines.hpp.
References wb_vision_detection_lines::res_width.
Referenced by from_string().
|
inline |
USE_WB_VISION_DETECTION_LINES_C_CONVERSION
Definition at line 282 of file VisionDetectionLines.hpp.
References frameNumber(), lines(), res_height(), res_width(), to_string(), VISION_DETECTION_LINES_LINES_ARRAY_SIZE, VISION_DETECTION_LINES_TO_STRING_BUFFER_SIZE, and wb_vision_detection_lines_to_string().
Referenced by to_string().