optris::sdk::RoiMotionPath
Animated motion path for an ROI.
Survives ToRegion() as a MotionPath, field for field, with only the waypoint coordinates rescaled. It does not survive the way back -- see Roi::motion.
Public attributes
loop_mode
LoopMode loop_mode = LoopMode::kLoop
What happens once the last waypoint is reached. Becomes MotionPath::loop_mode; LoopMode itself now comes from region.h.
total_duration_ms
uint64_t total_duration_ms = 5000
Time for one pass along the whole path, in milliseconds. Becomes MotionPath::total_duration_ms unchanged.
easing
Easing easing = Easing::kLinear
How the motion accelerates between waypoints. Becomes MotionPath::easing; Easing itself now comes from region.h.
waypoints
std::vector< RoiWaypoint > waypoints
The stops, in order. Fewer than two and the ROI does not move at all. Becomes MotionPath::waypoints, each converted as RoiWaypoint describes.