gusimplewhiteboard
|
Provides a C++ wrapper around wb_vision_detection_horizons
.
More...
#include <VisionDetectionHorizons.hpp>
Public Member Functions | |
VisionDetectionHorizons (uint64_t t_frameNumber=0, const struct wb_vision_detection_horizon t_horizons[2]=NULLPTR, uint16_t t_res_width=0, uint16_t t_res_height=0) | |
Create a new VisionDetectionHorizons . More... | |
VisionDetectionHorizons (const VisionDetectionHorizons &t_other) | |
Copy Constructor. More... | |
VisionDetectionHorizons (const struct wb_vision_detection_horizons &t_other) | |
Copy Constructor. More... | |
VisionDetectionHorizons & | operator= (const VisionDetectionHorizons &t_other) |
Copy Assignment Operator. More... | |
VisionDetectionHorizons & | operator= (const struct wb_vision_detection_horizons &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const VisionDetectionHorizons &t_other) const |
bool | operator!= (const VisionDetectionHorizons &t_other) const |
bool | operator== (const wb_vision_detection_horizons &t_other) const |
bool | operator!= (const wb_vision_detection_horizons &t_other) const |
uint64_t & | frameNumber () |
const uint64_t & | frameNumber () const |
void | set_frameNumber (const uint64_t &t_newValue) |
const VisionDetectionHorizon * | horizons () const |
size_t | horizons_size () const |
VisionDetectionHorizon & | horizons (int t_i) |
const VisionDetectionHorizon & | horizons (int t_i) const |
void | set_horizons (const VisionDetectionHorizon *t_newValue) |
void | set_horizons (const VisionDetectionHorizon &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) |
VisionDetectionHorizons (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 |
visionFrameNumber More... | |
struct wb_vision_detection_horizon | horizons [2] |
horizon objects 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_horizons
.
Definition at line 85 of file VisionDetectionHorizons.hpp.
|
inline |
Create a new VisionDetectionHorizons
.
Definition at line 109 of file VisionDetectionHorizons.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file VisionDetectionHorizons.hpp.
References frameNumber(), horizons(), res_height(), and res_width().
|
inline |
Copy Constructor.
Definition at line 123 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::frameNumber, wb_vision_detection_horizons::horizons, wb_vision_detection_horizons::res_height, and wb_vision_detection_horizons::res_width.
|
inline |
String Constructor.
Definition at line 252 of file VisionDetectionHorizons.hpp.
References from_string().
|
inline |
USE_WB_VISION_DETECTION_HORIZONS_C_CONVERSION
Definition at line 257 of file VisionDetectionHorizons.hpp.
References description(), frameNumber(), horizons(), res_height(), res_width(), VISION_DETECTION_HORIZONS_DESC_BUFFER_SIZE, VISION_DETECTION_HORIZONS_HORIZONS_ARRAY_SIZE, and wb_vision_detection_horizons_description().
Referenced by description().
|
inline |
Definition at line 173 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::frameNumber.
Referenced by VisionDetectionHorizons(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 178 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::frameNumber.
|
inline |
USE_WB_VISION_DETECTION_HORIZONS_C_CONVERSION
Definition at line 311 of file VisionDetectionHorizons.hpp.
References guWhiteboard::VisionDetectionHorizon::from_string(), set_frameNumber(), set_horizons(), set_res_height(), set_res_width(), VISION_DETECTION_HORIZONS_DESC_BUFFER_SIZE, and VISION_DETECTION_HORIZONS_HORIZONS_ARRAY_SIZE.
Referenced by VisionDetectionHorizons().
|
inline |
Definition at line 188 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::horizons.
Referenced by VisionDetectionHorizons(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 198 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::horizons.
|
inline |
Definition at line 203 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::horizons.
|
inline |
Definition at line 193 of file VisionDetectionHorizons.hpp.
References VISION_DETECTION_HORIZONS_HORIZONS_ARRAY_SIZE.
|
inline |
Definition at line 158 of file VisionDetectionHorizons.hpp.
|
inline |
Definition at line 168 of file VisionDetectionHorizons.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 138 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::frameNumber, wb_vision_detection_horizons::horizons, wb_vision_detection_horizons::res_height, and wb_vision_detection_horizons::res_width.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file VisionDetectionHorizons.hpp.
References frameNumber(), horizons(), res_height(), and res_width().
|
inline |
Definition at line 143 of file VisionDetectionHorizons.hpp.
References frameNumber(), horizons(), res_height(), and res_width().
|
inline |
Definition at line 163 of file VisionDetectionHorizons.hpp.
References VisionDetectionHorizons().
|
inline |
Definition at line 233 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_height.
Referenced by VisionDetectionHorizons(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 238 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_height.
|
inline |
Definition at line 218 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_width.
Referenced by VisionDetectionHorizons(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 223 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_width.
|
inline |
Definition at line 183 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::frameNumber.
Referenced by from_string().
|
inline |
Definition at line 213 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::horizons.
|
inline |
Definition at line 208 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::horizons, and VISION_DETECTION_HORIZONS_HORIZONS_ARRAY_SIZE.
Referenced by from_string().
|
inline |
Definition at line 243 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_height.
Referenced by from_string().
|
inline |
Definition at line 228 of file VisionDetectionHorizons.hpp.
References wb_vision_detection_horizons::res_width.
Referenced by from_string().
|
inline |
USE_WB_VISION_DETECTION_HORIZONS_C_CONVERSION
Definition at line 282 of file VisionDetectionHorizons.hpp.
References frameNumber(), horizons(), res_height(), res_width(), to_string(), VISION_DETECTION_HORIZONS_HORIZONS_ARRAY_SIZE, VISION_DETECTION_HORIZONS_TO_STRING_BUFFER_SIZE, and wb_vision_detection_horizons_to_string().
Referenced by to_string().