本文整理汇总了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);
}
示例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);
}
示例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));
}
}