koide3 / fast_gicp

A collection of GICP-based fast point cloud registration algorithms
BSD 3-Clause "New" or "Revised" License
1.3k stars 319 forks source link

Add PCL style shared_ptr shortcuts for the implemented registration methods #61

Open PerceptMD opened 3 years ago

PerceptMD commented 3 years ago

Its just a minor thing to add and most probably not so many ppl. are using it, but to keep up the PCL implementation style all the specialized registration methods could provide the shared_ptr shortcut ::Ptr.

As an example we can take a look into the public part of pcl::gicp class:

      using Ptr = shared_ptr< GeneralizedIterativeClosestPoint<PointSource, PointTarget> >;
      using ConstPtr = shared_ptr< const GeneralizedIterativeClosestPoint<PointSource, PointTarget> >;
koide3 commented 3 years ago

Yeah. There should be Ptr definitions. I'll add Ptr definitions.