Noether
0.0.0
|
Rotates a direction vector provided by another direction generator about the smallest principal axis of the input mesh. More...
#include <pca_rotated_direction_generator.h>
Public Member Functions | |
PCARotatedDirectionGenerator (const PCARotatedDirectionGenerator &)=delete | |
PCARotatedDirectionGenerator (PCARotatedDirectionGenerator &&)=delete | |
PCARotatedDirectionGenerator & | operator= (const PCARotatedDirectionGenerator &)=delete |
PCARotatedDirectionGenerator & | operator= (PCARotatedDirectionGenerator &&)=delete |
PCARotatedDirectionGenerator (DirectionGenerator::ConstPtr &&dir_gen, double rotation_angle) | |
Eigen::Vector3d | generate (const pcl::PolygonMesh &mesh) const override |
Protected Attributes | |
const DirectionGenerator::ConstPtr | dir_gen_ |
const double | rotation_angle_ |
Additional Inherited Members | |
Public Types inherited from noether::DirectionGenerator | |
using | Ptr = std::unique_ptr< DirectionGenerator > |
using | ConstPtr = std::unique_ptr< const DirectionGenerator > |
Rotates a direction vector provided by another direction generator about the smallest principal axis of the input mesh.
One use for this class is for cross-hatch tool paths where the nominal direction is provided by a given direction generator, and this direction generator provides the rotated direction for the cross pattern
|
overridevirtual |
Implements noether::DirectionGenerator.