48 #include "visp3/sensor/vpScanPoint.h" 70 : listScanPoints(), startTimestamp(0), endTimestamp(0), measurementId(0), numSteps(0), startAngle(0), stopAngle(0),
76 : listScanPoints(scan.listScanPoints), startTimestamp(0), endTimestamp(0), measurementId(0), numSteps(0),
77 startAngle(0), stopAngle(0), numPoints(0)
79 startTimestamp = scan.startTimestamp;
80 endTimestamp = scan.endTimestamp;
81 measurementId = scan.measurementId;
82 numSteps = scan.numSteps;
83 startAngle = scan.startAngle;
84 stopAngle = scan.stopAngle;
85 numPoints = scan.numPoints;
92 inline void clear() { listScanPoints.clear(); }
94 inline std::vector<vpScanPoint>
getScanPoints() {
return listScanPoints; }
96 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) 104 inline void setStartTimestamp(
const double &start_timestamp) { this->startTimestamp = start_timestamp; }
106 inline void setEndTimestamp(
const double &end_timestamp) { this->endTimestamp = end_timestamp; }
108 inline void setNumSteps(
const unsigned short &num_steps) { this->numSteps = num_steps; }
110 inline void setStartAngle(
const short &start_angle) { this->startAngle = start_angle; }
112 inline void setStopAngle(
const short &stop_angle) { this->stopAngle = stop_angle; }
114 inline void setNumPoints(
const unsigned short &num_points) { this->numPoints = num_points; }
121 std::vector<vpScanPoint> listScanPoints;
122 double startTimestamp;
124 unsigned short measurementId;
125 unsigned short numSteps;
128 unsigned short numPoints;
std::vector< vpScanPoint > getScanPoints()
Implements a laser scan data structure that contains especially the list of scanned points that have ...
Class that defines a single laser scanner point.
void setStartAngle(const short &start_angle)
void setNumPoints(const unsigned short &num_points)
double getStartTimestamp()
void setEndTimestamp(const double &end_timestamp)
void setNumSteps(const unsigned short &num_steps)
void addPoint(const vpScanPoint &p)
void setStartTimestamp(const double &start_timestamp)
void setMeasurementId(const unsigned short &id)
vpLaserScan(const vpLaserScan &scan)
void setStopAngle(const short &stop_angle)