Noether  0.0.0
Loading...
Searching...
No Matches
noether::CentroidOriginGenerator Struct Reference

Returns the centroid of the mesh vertices as the origin. More...

#include <centroid_origin_generator.h>

Inheritance diagram for noether::CentroidOriginGenerator:

Public Member Functions

Eigen::Vector3d generate (const pcl::PolygonMesh &mesh) const override final
 

Additional Inherited Members

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

Detailed Description

Returns the centroid of the mesh vertices as the origin.

Member Function Documentation

◆ generate()

Eigen::Vector3d noether::CentroidOriginGenerator::generate ( const pcl::PolygonMesh &  mesh) const
finaloverridevirtual