当前位置: 首页>>代码示例>>C++>>正文


C++ PointCloudPtr::push_back方法代码示例

本文整理汇总了C++中PointCloudPtr::push_back方法的典型用法代码示例。如果您正苦于以下问题:C++ PointCloudPtr::push_back方法的具体用法?C++ PointCloudPtr::push_back怎么用?C++ PointCloudPtr::push_back使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PointCloudPtr的用法示例。


在下文中一共展示了PointCloudPtr::push_back方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: assert

template<typename PointT, typename LeafT, typename BranchT, typename OctreeT> void
pcl::octree::OctreePointCloud<PointT, LeafT, BranchT, OctreeT>::addPointToCloud (const PointT& point_arg, PointCloudPtr cloud_arg)
{
  assert (cloud_arg==input_);

  cloud_arg->push_back (point_arg);

  this->addPointIdx (static_cast<const int> (cloud_arg->points.size ()) - 1);
}
开发者ID:khooweiqian,项目名称:kfls2,代码行数:9,代码来源:octree_pointcloud.hpp

示例2: assert

template<typename PointT, typename LeafContainerT, typename BranchContainerT, typename OctreeT> void
pcl::octree::OctreePointCloud<PointT, LeafContainerT, BranchContainerT, OctreeT>::addPointToCloud (const PointT& point_arg, PointCloudPtr cloud_arg,
                                                           IndicesPtr indices_arg)
{
  assert (cloud_arg==input_);
  assert (indices_arg==indices_);

  cloud_arg->push_back (point_arg);

  this->addPointFromCloud (static_cast<const int> (cloud_arg->points.size ()) - 1, indices_arg);
}
开发者ID:VictorLamoine,项目名称:pcl,代码行数:11,代码来源:octree_pointcloud.hpp

示例3: appendCloud

//append a cloud to another cloud
void appendCloud(PointCloudPtr sourceCloud,PointCloudPtr targetCloud){
  for(int i=0;i<sourceCloud->size();i++){
    targetCloud->push_back(sourceCloud->at(i));
  }
}
开发者ID:ccjnmoe,项目名称:Modified-InfiniTAM,代码行数:6,代码来源:common_func.cpp


注:本文中的PointCloudPtr::push_back方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。