MCPcopy Create free account
hub / github.com/Pamphlett/Outram / setPointCloud

Method setPointCloud

include/imageProjection.hpp:251–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249 ~ImageProjection() {}
250
251 void setPointCloud(const pcl::PointCloud<PointType>::Ptr srcPtr) {
252 (*laserCloudIn).points.resize((*srcPtr).size());
253 for (size_t i = 0; i < (*srcPtr).size(); i++) {
254 (*laserCloudIn).points[i].x = (*srcPtr).points[i].x;
255 (*laserCloudIn).points[i].y = (*srcPtr).points[i].y;
256 (*laserCloudIn).points[i].z = (*srcPtr).points[i].z;
257 }
258 }
259
260 void copyPointCloud(const pcl::PointCloud<PointType>::Ptr srcPtr) {
261 setPointCloud(srcPtr);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected