From c562020509cd54964489b32e5aa75d0c0d60ee39 Mon Sep 17 00:00:00 2001 From: Tooru Oonuma Date: Wed, 22 Nov 2017 13:08:15 +0900 Subject: [PATCH] Revert "Add compute() on MomentOfInertiaEstimation (#135)" This reverts commit 04154d9ddad1cb80c52ef66c95e7ca8890e8fdeb. --- pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi | 4 ---- pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi | 4 ---- 2 files changed, 8 deletions(-) diff --git a/pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi b/pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi index 6b6cccee9..f6087b7ee 100644 --- a/pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi +++ b/pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi @@ -29,7 +29,6 @@ cdef class MomentOfInertiaEstimation: def __dealloc__(self): del self.me - # feature_extractor.compute (); # feature_extractor.getMomentOfInertia (moment_of_inertia); # feature_extractor.getEccentricity (eccentricity); # feature_extractor.getAABB (min_point_AABB, max_point_AABB); @@ -37,9 +36,6 @@ cdef class MomentOfInertiaEstimation: # feature_extractor.getEigenValues (major_value, middle_value, minor_value); # feature_extractor.getEigenVectors (major_vector, middle_vector, minor_vector); # feature_extractor.getMassCenter (mass_center); - def compute (self): - self.me.compute() - def get_MomentOfInertia (self): cdef vector[float] moment_of_inertia self.me.getMomentOfInertia(moment_of_inertia) diff --git a/pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi b/pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi index d6a934e35..1dbd8bfe6 100644 --- a/pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi +++ b/pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi @@ -29,7 +29,6 @@ cdef class MomentOfInertiaEstimation: def __dealloc__(self): del self.me - # feature_extractor.compute (); # feature_extractor.getMomentOfInertia (moment_of_inertia); # feature_extractor.getEccentricity (eccentricity); # feature_extractor.getAABB (min_point_AABB, max_point_AABB); @@ -37,9 +36,6 @@ cdef class MomentOfInertiaEstimation: # feature_extractor.getEigenValues (major_value, middle_value, minor_value); # feature_extractor.getEigenVectors (major_vector, middle_vector, minor_vector); # feature_extractor.getMassCenter (mass_center); - def compute (self): - self.me.compute() - def get_MomentOfInertia (self): cdef vector[float] moment_of_inertia self.me.getMomentOfInertia(moment_of_inertia)