30 #ifndef RVIZ_SELECTION_FORWARDS_H 
   31 #define RVIZ_SELECTION_FORWARDS_H 
   36 #include <boost/unordered_map.hpp> 
   37 #include <OgrePixelFormat.h> 
   38 #include <OgreColourValue.h> 
   63 typedef boost::unordered_map<CollObjectHandle, Picked> 
M_Picked;
 
   69   if (fmt == Ogre::PF_A8R8G8B8 || fmt == Ogre::PF_X8R8G8B8 || fmt == Ogre::PF_R8G8B8)
 
   71     handle = col & 0x00ffffff;
 
   73   else if (fmt == Ogre::PF_R8G8B8A8)
 
   79     ROS_DEBUG(
"Incompatible pixel format [%d]", fmt);
 
   87   return (
int(color.r * 255) << 16) | (int(color.g * 255) << 8) | 
int(color.b * 255);