Functions
transform_point_cloud.cpp File Reference
#include <Eigen/Core>
#include <sensor_msgs/PointCloud2.h>
#include <pcl/ros/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>
Include dependency graph for transform_point_cloud.cpp:

Go to the source code of this file.

Functions

void compute (const sensor_msgs::PointCloud2::ConstPtr &input, sensor_msgs::PointCloud2 &output, Eigen::Matrix4f &tform)
bool loadCloud (const std::string &filename, sensor_msgs::PointCloud2 &cloud)
int main (int argc, char **argv)
void printElapsedTimeAndNumberOfPoints (double t, int w, int h=1)
void printHelp (int, char **argv)
void saveCloud (const std::string &filename, const sensor_msgs::PointCloud2 &output)
void transformPointCloud2 (const sensor_msgs::PointCloud2 &input, sensor_msgs::PointCloud2 &output, Eigen::Matrix4f &tform)
template<typename PointT >
void transformPointCloud2AsType (const sensor_msgs::PointCloud2 &input, sensor_msgs::PointCloud2 &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)

Function Documentation

void compute ( const sensor_msgs::PointCloud2::ConstPtr &  input,
sensor_msgs::PointCloud2 &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 158 of file transform_point_cloud.cpp.

bool loadCloud ( const std::string &  filename,
sensor_msgs::PointCloud2 &  cloud 
)

Definition at line 78 of file transform_point_cloud.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 187 of file transform_point_cloud.cpp.

void printElapsedTimeAndNumberOfPoints ( double  t,
int  w,
int  h = 1 
)

Definition at line 71 of file transform_point_cloud.cpp.

void printHelp ( int  ,
char **  argv 
)

Definition at line 53 of file transform_point_cloud.cpp.

void saveCloud ( const std::string &  filename,
const sensor_msgs::PointCloud2 &  output 
)

Definition at line 173 of file transform_point_cloud.cpp.

void transformPointCloud2 ( const sensor_msgs::PointCloud2 &  input,
sensor_msgs::PointCloud2 &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 132 of file transform_point_cloud.cpp.

template<typename PointT >
void transformPointCloud2AsType ( const sensor_msgs::PointCloud2 &  input,
sensor_msgs::PointCloud2 &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 122 of file transform_point_cloud.cpp.

template<typename PointT >
void transformPointCloudHelper ( PointCloud< PointT > &  input,
PointCloud< PointT > &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 96 of file transform_point_cloud.cpp.

template<>
void transformPointCloudHelper ( PointCloud< PointNormal > &  input,
PointCloud< PointNormal > &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 104 of file transform_point_cloud.cpp.

template<>
void transformPointCloudHelper< PointXYZRGBNormal > ( PointCloud< PointXYZRGBNormal > &  input,
PointCloud< PointXYZRGBNormal > &  output,
Eigen::Matrix4f &  tform 
)

Definition at line 112 of file transform_point_cloud.cpp.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:14