Skip to content

Commit

Permalink
Revert "Add compute() on MomentOfInertiaEstimation (strawlab#135)" (s…
Browse files Browse the repository at this point in the history
…trawlab#136)

This reverts commit 04154d9.
  • Loading branch information
Sirokujira authored Nov 22, 2017
1 parent 04154d9 commit 29c1367
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions pcl/pxi/Features/MomentOfInertiaEstimation_172.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@ 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);
# feature_extractor.getOBB (min_point_OBB, max_point_OBB, position_OBB, rotational_matrix_OBB);
# 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)
Expand Down
4 changes: 0 additions & 4 deletions pcl/pxi/Features/MomentOfInertiaEstimation_180.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@ 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);
# feature_extractor.getOBB (min_point_OBB, max_point_OBB, position_OBB, rotational_matrix_OBB);
# 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)
Expand Down

0 comments on commit 29c1367

Please sign in to comment.