Noether  0.0.0
Loading...
Searching...
No Matches
noether::MovingAverageOrientationSmoothingModifier Class Reference

Applies a moving average filter to waypoints in each tool path segment to smooth their orientations. More...

#include <moving_average_orientation_smoothing_modifier.h>

Inheritance diagram for noether::MovingAverageOrientationSmoothingModifier:

Public Member Functions

 MovingAverageOrientationSmoothingModifier (std::size_t window_size)
 
ToolPaths modify (ToolPaths tool_paths) const override
 

Protected Attributes

const std::size_t window_size_
 Moving average window size.
 

Additional Inherited Members

- Public Types inherited from noether::ToolPathModifier
using Ptr = std::unique_ptr< ToolPathModifier >
 
using ConstPtr = std::unique_ptr< const ToolPathModifier >
 

Detailed Description

Applies a moving average filter to waypoints in each tool path segment to smooth their orientations.

Member Function Documentation

◆ modify()

ToolPaths noether::MovingAverageOrientationSmoothingModifier::modify ( ToolPaths  tool_paths) const
overridevirtual

Reimplemented from noether::ToolPathModifier.