Skip to content

Commit

Permalink
Merge pull request #2266 from davidcaron/moment-of-inertia-instantiat…
Browse files Browse the repository at this point in the history
…ions

Make MomentOfInertia instantiations consistent with the rest of the library
  • Loading branch information
taketwo authored Mar 27, 2018
2 parents fc88d45 + 65e8b2e commit c535e14
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions features/src/moment_of_inertia_estimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@
#include <pcl/impl/instantiate.hpp>
// Instantiations of specific point types
#ifdef PCL_ONLY_CORE_POINT_TYPES
PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZ)))
PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZI)))
PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZRGBA)))
PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointNormal)))
PCL_INSTANTIATE(MomentOfInertiaEstimation, (pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGBA)(pcl::PointNormal))
#else
PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, (PCL_XYZ_POINT_TYPES))
PCL_INSTANTIATE(MomentOfInertiaEstimation, PCL_XYZ_POINT_TYPES)
#endif
#endif // PCL_NO_PRECOMPILE

0 comments on commit c535e14

Please sign in to comment.