http://www.pcl-users.org/PointCloud-Ptr-td3559529.html
https://stackoverflow.com/questions/10644429/create-a-pclpointcloudptr-from-a-pclpointcloud
const pcl::PointCloud<pcl::PointXYZ> cloud(10,10);
const pcl::PointXYZ p(1,1,1);
#include <Eigen/Geometry> | |
#include <iostream> | |
Eigen::Affine3d create_rotation_matrix(double ax, double ay, double az) { | |
Eigen::Affine3d rx = | |
Eigen::Affine3d(Eigen::AngleAxisd(ax, Eigen::Vector3d(1, 0, 0))); | |
Eigen::Affine3d ry = | |
Eigen::Affine3d(Eigen::AngleAxisd(ay, Eigen::Vector3d(0, 1, 0))); | |
Eigen::Affine3d rz = | |
Eigen::Affine3d(Eigen::AngleAxisd(az, Eigen::Vector3d(0, 0, 1))); |
http://www.pcl-users.org/PointCloud-Ptr-td3559529.html
https://stackoverflow.com/questions/10644429/create-a-pclpointcloudptr-from-a-pclpointcloud
const pcl::PointCloud<pcl::PointXYZ> cloud(10,10);
const pcl::PointXYZ p(1,1,1);
/* | |
Copyright (c) 2020 Chan Jer Shyan | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |