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. | |
uint32_t | getNumberOfBeams () const |
Getter for the number of beams. | |
std::vector< ScanPoint > | getScanPointsVector () const |
Getter for all contained scanpoints. | |
bool | isEmpty () const |
Returns if measurement data has been enabled. | |
MeasurementData () | |
Constructor of an empty measurement. | |
void | setIsEmpty (bool is_empty) |
Set if measurement data is enabled. | |
void | setNumberOfBeams (const uint32_t &number_of_beams) |
Setter for the number of beams. | |
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.
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.
bool sick::datastructure::MeasurementData::m_is_empty [private] |
Definition at line 94 of file MeasurementData.h.
uint32_t sick::datastructure::MeasurementData::m_number_of_beams [private] |
Definition at line 96 of file MeasurementData.h.
std::vector<ScanPoint> sick::datastructure::MeasurementData::m_scan_points_vector [private] |
Definition at line 97 of file MeasurementData.h.