00001 #ifndef PCL_MESSAGE_IMAGE_H
00002 #define PCL_MESSAGE_IMAGE_H
00003 #include <string>
00004 #include <vector>
00005 #include <ostream>
00006
00007
00008 #include "Header.h"
00009
00010 namespace sensor_msgs
00011 {
00012 template <class ContainerAllocator>
00013 struct Image_
00014 {
00015 typedef Image_<ContainerAllocator> Type;
00016
00017 Image_()
00018 : header()
00019 , height(0)
00020 , width(0)
00021 , encoding()
00022 , is_bigendian(0)
00023 , step(0)
00024 , data()
00025 {
00026 }
00027
00028 Image_(const ContainerAllocator& _alloc)
00029 : header(_alloc)
00030 , height(0)
00031 , width(0)
00032 , encoding(_alloc)
00033 , is_bigendian(0)
00034 , step(0)
00035 , data(_alloc)
00036 {
00037 }
00038
00039 typedef ::roslib::Header_<ContainerAllocator> _header_type;
00040 ::roslib::Header_<ContainerAllocator> header;
00041
00042 typedef uint32_t _height_type;
00043 uint32_t height;
00044
00045 typedef uint32_t _width_type;
00046 uint32_t width;
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _encoding_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > encoding;
00050
00051 typedef uint8_t _is_bigendian_type;
00052 uint8_t is_bigendian;
00053
00054 typedef uint32_t _step_type;
00055 uint32_t step;
00056
00057 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type;
00058 std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > data;
00059
00060 typedef boost::shared_ptr< ::sensor_msgs::Image_<ContainerAllocator> > Ptr;
00061 typedef boost::shared_ptr< ::sensor_msgs::Image_<ContainerAllocator> const> ConstPtr;
00062 };
00063 typedef ::sensor_msgs::Image_<std::allocator<void> > Image;
00064
00065 typedef boost::shared_ptr< ::sensor_msgs::Image> ImagePtr;
00066 typedef boost::shared_ptr< ::sensor_msgs::Image const> ImageConstPtr;
00067 }
00068
00069 #endif // PCL_MESSAGE_IMAGE_H
00070