1 #ifndef PCL_MESSAGE_IMAGE_H
2 #define PCL_MESSAGE_IMAGE_H
27 std::vector<pcl::uint8_t>
data;
29 typedef boost::shared_ptr< ::sensor_msgs::Image>
Ptr;
30 typedef boost::shared_ptr< ::sensor_msgs::Image const>
ConstPtr;
33 typedef boost::shared_ptr< ::sensor_msgs::Image>
ImagePtr;
36 inline std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::Image & v)
38 s <<
"header: " << std::endl;
41 s <<
" " << v.height << std::endl;
43 s <<
" " << v.width << std::endl;
45 s <<
" " << v.encoding << std::endl;
46 s <<
"is_bigendian: ";
47 s <<
" " << v.is_bigendian << std::endl;
49 s <<
" " << v.step << std::endl;
50 s <<
"data[]" << std::endl;
51 for (
size_t i = 0; i < v.data.size (); ++i)
53 s <<
" data[" << i <<
"]: ";
54 s <<
" " << v.data[i] << std::endl;
60 #endif // PCL_MESSAGE_IMAGE_H