#include <string>
#include <pcl/pcl_base.h>
#include <pcl/PointIndices.h>
#include <pcl/conversions.h>
#include <locale>
#include <pcl/common/impl/io.hpp>
Go to the source code of this file.
Namespaces | |
namespace | pcl |
namespace | pcl::io |
Functions | |
template<typename PointIn1T , typename PointIn2T , typename PointOutT > | |
void | pcl::concatenateFields (const pcl::PointCloud< PointIn1T > &cloud1_in, const pcl::PointCloud< PointIn2T > &cloud2_in, pcl::PointCloud< PointOutT > &cloud_out) |
Concatenate two datasets representing different fields. | |
PCL_EXPORTS bool | pcl::concatenateFields (const pcl::PCLPointCloud2 &cloud1_in, const pcl::PCLPointCloud2 &cloud2_in, pcl::PCLPointCloud2 &cloud_out) |
Concatenate two datasets representing different fields. | |
PCL_EXPORTS bool | pcl::concatenatePointCloud (const pcl::PCLPointCloud2 &cloud1, const pcl::PCLPointCloud2 &cloud2, pcl::PCLPointCloud2 &cloud_out) |
Concatenate two pcl::PCLPointCloud2. | |
PCL_EXPORTS void | pcl::copyPointCloud (const pcl::PCLPointCloud2 &cloud_in, const std::vector< int > &indices, pcl::PCLPointCloud2 &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
PCL_EXPORTS void | pcl::copyPointCloud (const pcl::PCLPointCloud2 &cloud_in, const std::vector< int, Eigen::aligned_allocator< int > > &indices, pcl::PCLPointCloud2 &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
PCL_EXPORTS void | pcl::copyPointCloud (const pcl::PCLPointCloud2 &cloud_in, pcl::PCLPointCloud2 &cloud_out) |
Copy fields and point cloud data from cloud_in to cloud_out. | |
template<typename PointT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointT > &cloud_in, const std::vector< int > &indices, pcl::PointCloud< PointT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointT > &cloud_in, const std::vector< int, Eigen::aligned_allocator< int > > &indices, pcl::PointCloud< PointT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointT > &cloud_in, const PointIndices &indices, pcl::PointCloud< PointT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointT > &cloud_in, const std::vector< pcl::PointIndices > &indices, pcl::PointCloud< PointT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointInT , typename PointOutT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointInT > &cloud_in, pcl::PointCloud< PointOutT > &cloud_out) |
Copy all the fields from a given point cloud into a new point cloud. | |
template<typename PointInT , typename PointOutT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointInT > &cloud_in, const std::vector< int > &indices, pcl::PointCloud< PointOutT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointInT , typename PointOutT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointInT > &cloud_in, const std::vector< int, Eigen::aligned_allocator< int > > &indices, pcl::PointCloud< PointOutT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointInT , typename PointOutT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointInT > &cloud_in, const PointIndices &indices, pcl::PointCloud< PointOutT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
template<typename PointInT , typename PointOutT > | |
void | pcl::copyPointCloud (const pcl::PointCloud< PointInT > &cloud_in, const std::vector< pcl::PointIndices > &indices, pcl::PointCloud< PointOutT > &cloud_out) |
Extract the indices of a given point cloud as a new point cloud. | |
PCL_EXPORTS bool | pcl::getEigenAsPointCloud (Eigen::MatrixXf &in, pcl::PCLPointCloud2 &out) |
Copy the XYZ dimensions from an Eigen MatrixXf into a pcl::PCLPointCloud2 message. | |
int | pcl::getFieldIndex (const pcl::PCLPointCloud2 &cloud, const std::string &field_name) |
Get the index of a specified field (i.e., dimension/channel) | |
template<typename PointT > | |
int | pcl::getFieldIndex (const pcl::PointCloud< PointT > &cloud, const std::string &field_name, std::vector< pcl::PCLPointField > &fields) |
Get the index of a specified field (i.e., dimension/channel) | |
template<typename PointT > | |
int | pcl::getFieldIndex (const std::string &field_name, std::vector< pcl::PCLPointField > &fields) |
Get the index of a specified field (i.e., dimension/channel) | |
template<typename PointT > | |
void | pcl::getFields (const pcl::PointCloud< PointT > &cloud, std::vector< pcl::PCLPointField > &fields) |
Get the list of available fields (i.e., dimension/channel) | |
template<typename PointT > | |
void | pcl::getFields (std::vector< pcl::PCLPointField > &fields) |
Get the list of available fields (i.e., dimension/channel) | |
int | pcl::getFieldSize (const int datatype) |
Obtains the size of a specific field data type in bytes. | |
template<typename PointT > | |
std::string | pcl::getFieldsList (const pcl::PointCloud< PointT > &cloud) |
Get the list of all fields available in a given cloud. | |
std::string | pcl::getFieldsList (const pcl::PCLPointCloud2 &cloud) |
Get the available point cloud fields as a space separated string. | |
PCL_EXPORTS void | pcl::getFieldsSizes (const std::vector< pcl::PCLPointField > &fields, std::vector< int > &field_sizes) |
Obtain a vector with the sizes of all valid fields (e.g., not "_") | |
int | pcl::getFieldType (const int size, char type) |
Obtains the type of the PCLPointField from a specific size and type. | |
char | pcl::getFieldType (const int type) |
Obtains the type of the PCLPointField from a specific PCLPointField as a char. | |
PCL_EXPORTS bool | pcl::getPointCloudAsEigen (const pcl::PCLPointCloud2 &in, Eigen::MatrixXf &out) |
Copy the XYZ dimensions of a pcl::PCLPointCloud2 into Eigen format. | |
template<typename Point1T , typename Point2T > | |
bool | pcl::isSamePointType () |
Check if two given point types are the same or not. | |
template<std::size_t N> | |
void | pcl::io::swapByte (char *bytes) |
swap bytes order of a char array of length N | |
template<typename T > | |
void | pcl::io::swapByte (T &value) |
swaps byte of an arbitrary type T casting it to char* | |
template<> | |
void | pcl::io::swapByte< 1 > (char *bytes) |
specialization of swapByte for dimension 1 | |
template<> | |
void | pcl::io::swapByte< 2 > (char *bytes) |
specialization of swapByte for dimension 2 | |
template<> | |
void | pcl::io::swapByte< 4 > (char *bytes) |
specialization of swapByte for dimension 4 | |
template<> | |
void | pcl::io::swapByte< 8 > (char *bytes) |
specialization of swapByte for dimension 8 |