PCLImage.h
#ifndef PCL_MESSAGE_IMAGE_H
#define PCL_MESSAGE_IMAGE_H
#include <string>
#include <vector>
#include <ostream>
#ifdef USE_ROS
#error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
#endif
// Include the correct Header path here
#include <pcl/PCLHeader.h>
namespace pcl
{
struct PCLImage
{
PCLImage () : header (), height (0), width (0), encoding (),
is_bigendian (0), step (0), data ()
{}
::pcl::PCLHeader header;
pcl::uint32_t height;
pcl::uint32_t width;
std::string encoding;
pcl::uint8_t is_bigendian;
pcl::uint32_t step;
std::vector<pcl::uint8_t> data;
typedef boost::shared_ptr< ::pcl::PCLImage> Ptr;
typedef boost::shared_ptr< ::pcl::PCLImage const> ConstPtr;
}; // struct PCLImage
typedef boost::shared_ptr< ::pcl::PCLImage> PCLImagePtr;
typedef boost::shared_ptr< ::pcl::PCLImage const> PCLImageConstPtr;
inline std::ostream& operator<<(std::ostream& s, const ::pcl::PCLImage & v)
{
s << "header: " << std::endl;
s << v.header;
s << "height: ";
s << " " << v.height << std::endl;
s << "width: ";
s << " " << v.width << std::endl;
s << "encoding: ";
s << " " << v.encoding << std::endl;
s << "is_bigendian: ";
s << " " << v.is_bigendian << std::endl;
s << "step: ";
s << " " << v.step << std::endl;
s << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size (); ++i)
{
s << " data[" << i << "]: ";
s << " " << v.data[i] << std::endl;
}
return (s);
}
} // namespace pcl
#endif // PCL_MESSAGE_IMAGE_H
pcl::PCLImage::height
pcl::uint32_t height
Definition: PCLImage.h:24
pcl::PCLImage::ConstPtr
boost::shared_ptr< ::pcl::PCLImage const > ConstPtr
Definition: PCLImage.h:34
pcl::PCLImage::PCLImage
PCLImage()
Definition: PCLImage.h:18
pcl::PCLImage::is_bigendian
pcl::uint8_t is_bigendian
Definition: PCLImage.h:28
pcl
Definition: convolution.h:45
pcl::PCLImageConstPtr
boost::shared_ptr< ::pcl::PCLImage const > PCLImageConstPtr
Definition: PCLImage.h:38
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:230
pcl::PCLImage::width
pcl::uint32_t width
Definition: PCLImage.h:25
pcl::PCLImagePtr
boost::shared_ptr< ::pcl::PCLImage > PCLImagePtr
Definition: PCLImage.h:37
pcl::PCLImage::step
pcl::uint32_t step
Definition: PCLImage.h:29
pcl::PCLImage::data
std::vector< pcl::uint8_t > data
Definition: PCLImage.h:31
pcl::PCLImage::encoding
std::string encoding
Definition: PCLImage.h:26
pcl::PCLImage::header
::pcl::PCLHeader header
Definition: PCLImage.h:22
pcl::PCLImage
Definition: PCLImage.h:16
pcl::PCLImage::Ptr
boost::shared_ptr< ::pcl::PCLImage > Ptr
Definition: PCLImage.h:33
pcl::PCLHeader
Definition: PCLHeader.h:16