Class containing all scanpoints of a single measurement. More...
#include <MeasurementData.h>
Public Member Functions | |
void | addScanPoint (ScanPoint scan_point) |
Add a single scanpoint to the vector of scanpoints. More... | |
uint32_t | getNumberOfBeams () const |
Getter for the number of beams. More... | |
std::vector< ScanPoint > | getScanPointsVector () const |
Getter for all contained scanpoints. More... | |
bool | isEmpty () const |
Returns if measurement data has been enabled. More... | |
MeasurementData () | |
Constructor of an empty measurement. More... | |
void | setIsEmpty (bool is_empty) |
Set if measurement data is enabled. More... | |
void | setNumberOfBeams (const uint32_t &number_of_beams) |
Setter for the number of beams. More... | |
Private Attributes | |
bool | m_is_empty |
uint32_t | m_number_of_beams |
std::vector< ScanPoint > | m_scan_points_vector |
Class containing all scanpoints of a single measurement.
Definition at line 49 of file MeasurementData.h.
sick::datastructure::MeasurementData::MeasurementData | ( | ) |
Constructor of an empty measurement.
Definition at line 41 of file MeasurementData.cpp.
void sick::datastructure::MeasurementData::addScanPoint | ( | ScanPoint | scan_point | ) |
Add a single scanpoint to the vector of scanpoints.
scan_point | New scanpoint to add. |
Definition at line 61 of file MeasurementData.cpp.
uint32_t sick::datastructure::MeasurementData::getNumberOfBeams | ( | ) | const |
Getter for the number of beams.
Definition at line 46 of file MeasurementData.cpp.
std::vector< ScanPoint > sick::datastructure::MeasurementData::getScanPointsVector | ( | ) | const |
Getter for all contained scanpoints.
Definition at line 56 of file MeasurementData.cpp.
bool sick::datastructure::MeasurementData::isEmpty | ( | ) | const |
Returns if measurement data has been enabled.
Definition at line 66 of file MeasurementData.cpp.
void sick::datastructure::MeasurementData::setIsEmpty | ( | bool | is_empty | ) |
Set if measurement data is enabled.
is_empty | set if measurement data is enabled. |
Definition at line 71 of file MeasurementData.cpp.
void sick::datastructure::MeasurementData::setNumberOfBeams | ( | const uint32_t & | number_of_beams | ) |
Setter for the number of beams.
number_of_beams | Input number of beams. |
Definition at line 51 of file MeasurementData.cpp.
|
private |
Definition at line 94 of file MeasurementData.h.
|
private |
Definition at line 96 of file MeasurementData.h.
|
private |
Definition at line 97 of file MeasurementData.h.