Skip to content

Commit

Permalink
Merge pull request #1052 from Tonsty/master
Browse files Browse the repository at this point in the history
Fix the complie error
  • Loading branch information
taketwo committed Dec 21, 2014
2 parents 94aaffd + 78b209a commit e128e20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>
PointInTPtr in (new pcl::PointCloud<PointInT>);

typename pcl::PointCloud<FeatureT>::CloudVectorType signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;

if (indices_.size ())
{
Expand Down Expand Up @@ -187,7 +187,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>
PointInTPtr processed (new pcl::PointCloud<PointInT>);
//pro view, compute signatures
typename pcl::PointCloud<FeatureT>::CloudVectorType signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;
estimator_->estimate (models->at (i).views_->at (v), processed, signatures, centroids);

//source_->makeModelPersistent (models->at (i), training_dir_, descr_name_, static_cast<int> (v));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>
PointInTPtr in (new pcl::PointCloud<PointInT>);

std::vector<pcl::PointCloud<FeatureT>, Eigen::aligned_allocator<pcl::PointCloud<FeatureT> > > signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;

if (indices_.size ())
pcl::copyPointCloud (*input_, indices_, *in);
Expand Down Expand Up @@ -442,7 +442,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>

//pro view, compute signatures and CRH
std::vector<pcl::PointCloud<FeatureT>, Eigen::aligned_allocator<pcl::PointCloud<FeatureT> > > signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;
crh_estimator_->estimate (view, processed, signatures, centroids);

std::string path = source_->getModelDescriptorDir (models->at (i), training_dir_, descr_name_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>
PointInTPtr in (new pcl::PointCloud<PointInT>);

std::vector<pcl::PointCloud<FeatureT>, Eigen::aligned_allocator<pcl::PointCloud<FeatureT> > > signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;

if (indices_.size ())
pcl::copyPointCloud (*input_, indices_, *in);
Expand Down Expand Up @@ -669,7 +669,7 @@ template<template<class > class Distance, typename PointInT, typename FeatureT>

//pro view, compute signatures
std::vector<pcl::PointCloud<FeatureT>, Eigen::aligned_allocator<pcl::PointCloud<FeatureT> > > signatures;
std::vector < Eigen::Vector3f > centroids;
std::vector < Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > centroids;
micvfh_estimator_->estimate (view, processed, signatures, centroids);

std::vector<bool> valid_trans;
Expand Down

0 comments on commit e128e20

Please sign in to comment.