47 #include "visp3/sensor/vpScanPoint.h"
68 : listScanPoints(), startTimestamp(0), endTimestamp(0), measurementId(0),
69 numSteps(0), startAngle(0), stopAngle(0), numPoints(0)
74 : listScanPoints(), startTimestamp(0), endTimestamp(0), measurementId(0),
75 numSteps(0), startAngle(0), stopAngle(0), numPoints(0)
77 startTimestamp = scan.startTimestamp;
78 endTimestamp = scan.endTimestamp;
79 measurementId = scan.measurementId;
80 numSteps = scan.numSteps;
81 startAngle = scan.startAngle;
82 stopAngle = scan.stopAngle;
83 numPoints = scan.numPoints;
84 listScanPoints = scan.listScanPoints;
90 listScanPoints.push_back( p );
94 listScanPoints.clear( );
98 return listScanPoints;
103 this->measurementId = id;
107 this->startTimestamp = start_timestamp;
111 this->endTimestamp = end_timestamp;
115 this->numSteps = num_steps;
119 this->startAngle = start_angle;
123 this->stopAngle = stop_angle;
127 this->numPoints = num_points;
131 return startTimestamp;
139 std::vector<vpScanPoint> listScanPoints;
140 double startTimestamp;
142 unsigned short measurementId;
143 unsigned short numSteps;
146 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)