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;
90 inline void addPoint(
const vpScanPoint &p) { listScanPoints.push_back(p); }
92 inline void clear() { listScanPoints.
clear(); }
94 inline std::vector<vpScanPoint> getScanPoints() {
return listScanPoints; }
97 inline void setMeasurementId(
const unsigned short &
id) { this->measurementId = id; }
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; }
111 inline double getStartTimestamp() {
return startTimestamp; }
113 inline double getEndTimestamp() {
return endTimestamp; }
116 std::vector<vpScanPoint> listScanPoints;
117 double startTimestamp;
119 unsigned short measurementId;
120 unsigned short numSteps;
123 unsigned short numPoints;