gusimplewhiteboard
|
Provides a C++ wrapper around wb_line_sighting
.
More...
#include <LineSighting.hpp>
Public Member Functions | |
LineSighting (struct wb_polar_coordinate t_leftPoint=wb_polar_coordinate(), struct wb_polar_coordinate t_rightPoint=wb_polar_coordinate(), enum LineSightingType t_sightingType=static_cast< enum LineSightingType >(0)) | |
Create a new LineSighting . More... | |
LineSighting (const LineSighting &t_other) | |
Copy Constructor. More... | |
LineSighting (const struct wb_line_sighting &t_other) | |
Copy Constructor. More... | |
LineSighting & | operator= (const LineSighting &t_other) |
Copy Assignment Operator. More... | |
LineSighting & | operator= (const struct wb_line_sighting &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const LineSighting &t_other) const |
bool | operator!= (const LineSighting &t_other) const |
bool | operator== (const wb_line_sighting &t_other) const |
bool | operator!= (const wb_line_sighting &t_other) const |
PolarCoordinate & | leftPoint () |
const PolarCoordinate & | leftPoint () const |
void | set_leftPoint (const PolarCoordinate &t_newValue) |
PolarCoordinate & | rightPoint () |
const PolarCoordinate & | rightPoint () const |
void | set_rightPoint (const PolarCoordinate &t_newValue) |
enum LineSightingType & | sightingType () |
enum LineSightingType & | sightingType () const |
void | set_sightingType (const enum LineSightingType &t_newValue) |
LineSighting (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
SimpleLine | simpleLine () |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Additional Inherited Members | |
![]() | |
struct wb_polar_coordinate | leftPoint |
The left/bottom point of the line. More... | |
struct wb_polar_coordinate | rightPoint |
The right/top point of the line. More... | |
enum LineSightingType | sightingType |
The type of sighting. More... | |
Provides a C++ wrapper around wb_line_sighting
.
Definition at line 86 of file LineSighting.hpp.
|
inline |
Create a new LineSighting
.
Definition at line 104 of file LineSighting.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 111 of file LineSighting.hpp.
References leftPoint(), rightPoint(), and sightingType().
|
inline |
Copy Constructor.
Definition at line 118 of file LineSighting.hpp.
References wb_line_sighting::leftPoint, wb_line_sighting::rightPoint, and wb_line_sighting::sightingType.
|
inline |
|
inline |
USE_WB_LINE_SIGHTING_C_CONVERSION
Definition at line 214 of file LineSighting.hpp.
References guWhiteboard::PolarCoordinate::description(), FieldLineSightingType, HorizonLineSightingType, leftPoint(), LINE_SIGHTING_DESC_BUFFER_SIZE, rightPoint(), sightingType(), and wb_line_sighting_description().
|
inline |
USE_WB_LINE_SIGHTING_C_CONVERSION
Definition at line 274 of file LineSighting.hpp.
References FieldLineSightingType, guWhiteboard::PolarCoordinate::from_string(), HorizonLineSightingType, LINE_SIGHTING_DESC_BUFFER_SIZE, set_leftPoint(), set_rightPoint(), and set_sightingType().
Referenced by LineSighting(), and guWhiteboard::MachineFilteredLines::from_string().
|
inline |
Definition at line 160 of file LineSighting.hpp.
References wb_line_sighting::leftPoint.
Referenced by LineSighting(), description(), operator=(), operator==(), simpleLine(), and to_string().
|
inline |
Definition at line 165 of file LineSighting.hpp.
References wb_line_sighting::leftPoint.
|
inline |
Definition at line 145 of file LineSighting.hpp.
|
inline |
Definition at line 155 of file LineSighting.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 125 of file LineSighting.hpp.
References leftPoint(), rightPoint(), and sightingType().
|
inline |
Copy Assignment Operator.
Definition at line 133 of file LineSighting.hpp.
References wb_line_sighting::leftPoint, wb_line_sighting::rightPoint, and wb_line_sighting::sightingType.
|
inline |
Definition at line 138 of file LineSighting.hpp.
References leftPoint(), rightPoint(), and sightingType().
|
inline |
Definition at line 150 of file LineSighting.hpp.
References LineSighting().
|
inline |
Definition at line 175 of file LineSighting.hpp.
References wb_line_sighting::rightPoint.
Referenced by LineSighting(), description(), operator=(), operator==(), simpleLine(), and to_string().
|
inline |
Definition at line 180 of file LineSighting.hpp.
References wb_line_sighting::rightPoint.
|
inline |
Definition at line 170 of file LineSighting.hpp.
References wb_line_sighting::leftPoint.
Referenced by from_string().
|
inline |
Definition at line 185 of file LineSighting.hpp.
References wb_line_sighting::rightPoint.
Referenced by from_string().
|
inline |
Definition at line 200 of file LineSighting.hpp.
References wb_line_sighting::sightingType.
Referenced by from_string().
|
inline |
Definition at line 190 of file LineSighting.hpp.
References wb_line_sighting::sightingType.
Referenced by LineSighting(), guWhiteboard::MachineFilteredLines::closestFeildLine(), description(), guWhiteboard::MachineFilteredLines::firstSighting(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 195 of file LineSighting.hpp.
References wb_line_sighting::sightingType.
|
inline |
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 399 of file LineSighting.hpp.
References leftPoint(), and rightPoint().
Referenced by guWhiteboard::MachineFilteredLines::closestFeildLine().
|
inline |
USE_WB_LINE_SIGHTING_C_CONVERSION
Definition at line 242 of file LineSighting.hpp.
References FieldLineSightingType, HorizonLineSightingType, leftPoint(), LINE_SIGHTING_TO_STRING_BUFFER_SIZE, rightPoint(), sightingType(), guWhiteboard::PolarCoordinate::to_string(), and wb_line_sighting_to_string().