#include <pcl/PCLPointCloud2.h>
#include <pcl/conversions.h>
#include <pcl/io/pcd_io.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/common/transforms.h>
#include <cmath>
Go to the source code of this file.
Functions | |
void | compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, Eigen::Matrix4f &tform) |
bool | loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud) |
int | main (int argc, char **argv) |
template<typename T > | |
void | multiply (pcl::PCLPointCloud2 &cloud, int field_offset, double multiplier) |
void | printElapsedTimeAndNumberOfPoints (double t, int w, int h=1) |
void | printHelp (int, char **argv) |
void | saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output) |
void | scaleInPlace (pcl::PCLPointCloud2 &cloud, double *multiplier) |
void | transformPointCloud2 (const pcl::PCLPointCloud2 &input, pcl::PCLPointCloud2 &output, Eigen::Matrix4f &tform) |
template<typename PointT > | |
void | transformPointCloud2AsType (const pcl::PCLPointCloud2 &input, pcl::PCLPointCloud2 &output, Eigen::Matrix4f &tform) |
template<typename PointT > | |
void | transformPointCloudHelper (PointCloud< PointT > &input, PointCloud< PointT > &output, Eigen::Matrix4f &tform) |
template<> | |
void | transformPointCloudHelper (PointCloud< PointNormal > &input, PointCloud< PointNormal > &output, Eigen::Matrix4f &tform) |
template<> | |
void | transformPointCloudHelper< PointXYZRGBNormal > (PointCloud< PointXYZRGBNormal > &input, PointCloud< PointXYZRGBNormal > &output, Eigen::Matrix4f &tform) |
void compute | ( | const pcl::PCLPointCloud2::ConstPtr & | input, |
pcl::PCLPointCloud2 & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 158 of file transform_point_cloud.cpp.
bool loadCloud | ( | const std::string & | filename, |
pcl::PCLPointCloud2 & | cloud | ||
) |
Definition at line 82 of file transform_point_cloud.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 242 of file transform_point_cloud.cpp.
void multiply | ( | pcl::PCLPointCloud2 & | cloud, |
int | field_offset, | ||
double | multiplier | ||
) |
Definition at line 186 of file transform_point_cloud.cpp.
void printElapsedTimeAndNumberOfPoints | ( | double | t, |
int | w, | ||
int | h = 1 |
||
) |
Definition at line 75 of file transform_point_cloud.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 55 of file transform_point_cloud.cpp.
void saveCloud | ( | const std::string & | filename, |
const pcl::PCLPointCloud2 & | output | ||
) |
Definition at line 172 of file transform_point_cloud.cpp.
void scaleInPlace | ( | pcl::PCLPointCloud2 & | cloud, |
double * | multiplier | ||
) |
Definition at line 195 of file transform_point_cloud.cpp.
void transformPointCloud2 | ( | const pcl::PCLPointCloud2 & | input, |
pcl::PCLPointCloud2 & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 132 of file transform_point_cloud.cpp.
void transformPointCloud2AsType | ( | const pcl::PCLPointCloud2 & | input, |
pcl::PCLPointCloud2 & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 122 of file transform_point_cloud.cpp.
void transformPointCloudHelper | ( | PointCloud< PointT > & | input, |
PointCloud< PointT > & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 99 of file transform_point_cloud.cpp.
void transformPointCloudHelper | ( | PointCloud< PointNormal > & | input, |
PointCloud< PointNormal > & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 106 of file transform_point_cloud.cpp.
void transformPointCloudHelper< PointXYZRGBNormal > | ( | PointCloud< PointXYZRGBNormal > & | input, |
PointCloud< PointXYZRGBNormal > & | output, | ||
Eigen::Matrix4f & | tform | ||
) |
Definition at line 113 of file transform_point_cloud.cpp.