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; }
99 inline void setStartTimestamp(
const double &start_timestamp) { this->startTimestamp = start_timestamp; }
101 inline void setEndTimestamp(
const double &end_timestamp) { this->endTimestamp = end_timestamp; }
103 inline void setNumSteps(
const unsigned short &num_steps) { this->numSteps = num_steps; }
105 inline void setStartAngle(
const short &start_angle) { this->startAngle = start_angle; }
107 inline void setStopAngle(
const short &stop_angle) { this->stopAngle = stop_angle; }
109 inline void setNumPoints(
const unsigned short &num_points) { this->numPoints = num_points; }
116 std::vector<vpScanPoint> listScanPoints;
117 double startTimestamp;
119 unsigned short measurementId;
120 unsigned short numSteps;
123 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)