PCLPointField.h
#pragma once
#ifdef USE_ROS
#error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
#endif
#include <string>
#include <vector>
#include <ostream>
#include <pcl/pcl_macros.h>
namespace pcl
{
struct PCLPointField
{
std::string name;
std::uint32_t offset = 0;
std::uint8_t datatype = 0;
std::uint32_t count = 0;
enum PointFieldTypes { INT8 = 1,
UINT8 = 2,
INT16 = 3,
UINT16 = 4,
INT32 = 5,
UINT32 = 6,
FLOAT32 = 7,
FLOAT64 = 8 };
public:
using Ptr = shared_ptr< ::pcl::PCLPointField>;
using ConstPtr = shared_ptr<const ::pcl::PCLPointField>;
}; // struct PCLPointField
using PCLPointFieldPtr = PCLPointField::Ptr;
using PCLPointFieldConstPtr = PCLPointField::ConstPtr;
inline std::ostream& operator<<(std::ostream& s, const ::pcl::PCLPointField & v)
{
s << "name: ";
s << " " << v.name << std::endl;
s << "offset: ";
s << " " << v.offset << std::endl;
s << "datatype: ";
s << " " << v.datatype << std::endl;
s << "count: ";
s << " " << v.count << std::endl;
return (s);
}
} // namespace pcl
pcl::PCLPointField::count
std::uint32_t count
Definition: PCLPointField.h:20
pcl_macros.h
Defines all the PCL and non-PCL macros used.
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition: convolution.h:45
pcl::uint32_t
std::uint32_t uint32_t
Definition: pcl_macros.h:96
pcl::PCLPointField::offset
std::uint32_t offset
Definition: PCLPointField.h:18
pcl::PCLPointFieldConstPtr
PCLPointField::ConstPtr PCLPointFieldConstPtr
Definition: PCLPointField.h:37
pcl::PCLPointFieldPtr
PCLPointField::Ptr PCLPointFieldPtr
Definition: PCLPointField.h:36
pcl::PCLPointField::INT8
Definition: PCLPointField.h:22
pcl::PCLPointField::INT32
Definition: PCLPointField.h:26
pcl::PCLPointField::ConstPtr
shared_ptr< const ::pcl::PCLPointField > ConstPtr
Definition: PCLPointField.h:33
pcl::PCLPointField::FLOAT32
Definition: PCLPointField.h:28
pcl::PCLPointField::UINT32
Definition: PCLPointField.h:27
pcl::PCLPointField::datatype
std::uint8_t datatype
Definition: PCLPointField.h:19
pcl::PCLPointField::UINT8
Definition: PCLPointField.h:23
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:229
pcl::PCLPointField::INT16
Definition: PCLPointField.h:24
pcl::PCLPointField::UINT16
Definition: PCLPointField.h:25
pcl::PCLPointField::PointFieldTypes
PointFieldTypes
Definition: PCLPointField.h:22
pcl::PCLPointField::FLOAT64
Definition: PCLPointField.h:29
pcl::PCLPointField::Ptr
shared_ptr< ::pcl::PCLPointField > Ptr
Definition: PCLPointField.h:32
pcl::uint8_t
std::uint8_t uint8_t
Definition: pcl_macros.h:92
pcl::PCLPointField::name
std::string name
Definition: PCLPointField.h:16
pcl::PCLPointField
Definition: PCLPointField.h:14
pcl::shared_ptr
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
Definition: pcl_macros.h:90