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

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>

Inheritance diagram for noether::PCARotatedDirectionGenerator:

Public Member Functions

 PCARotatedDirectionGenerator (const PCARotatedDirectionGenerator &)=delete
 
 PCARotatedDirectionGenerator (PCARotatedDirectionGenerator &&)=delete
 
PCARotatedDirectionGeneratoroperator= (const PCARotatedDirectionGenerator &)=delete
 
PCARotatedDirectionGeneratoroperator= (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 >
 

Detailed Description

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

Member Function Documentation

◆ generate()

Eigen::Vector3d noether::PCARotatedDirectionGenerator::generate ( const pcl::PolygonMesh &  mesh) const
overridevirtual