Go to the documentation of this file.
36 #ifndef JSK_RVIZ_PLUGIN_OVERLAY_UTIL_H_
37 #define JSK_RVIZ_PLUGIN_OVERLAY_UTIL_H_
40 #include <OGRE/OgreMaterialManager.h>
41 #include <OGRE/OgreTextureManager.h>
42 #include <OGRE/OgreTexture.h>
43 #include <OGRE/OgreTechnique.h>
44 #include <OGRE/OgreHardwarePixelBuffer.h>
47 #if OGRE_VERSION < ((1 << 16) | (9 << 8) | 0)
48 #include <OGRE/OgrePanelOverlayElement.h>
49 #include <OGRE/OgreOverlayElement.h>
50 #include <OGRE/OgreOverlayContainer.h>
51 #include <OGRE/OgreOverlayManager.h>
53 #include <OGRE/Overlay/OgrePanelOverlayElement.h>
54 #include <OGRE/Overlay/OgreOverlayElement.h>
55 #include <OGRE/Overlay/OgreOverlayContainer.h>
56 #include <OGRE/Overlay/OgreOverlayManager.h>
68 class ScopedPixelBuffer
74 virtual QImage
getQImage(
unsigned int width,
unsigned int height);
75 virtual QImage
getQImage(OverlayObject& overlay);
76 virtual QImage
getQImage(
unsigned int width,
unsigned int height, QColor&
bg_color);
91 #if ROS_VERSION_MINIMUM(1,12,0)
92 typedef std::shared_ptr<OverlayObject>
Ptr;
112 const std::string
name_;
114 Ogre::PanelOverlayElement*
panel_;
virtual bool isTextureReady()
virtual unsigned int getTextureWidth()
ScopedPixelBuffer(Ogre::HardwarePixelBufferSharedPtr pixel_buffer)
virtual unsigned int getTextureHeight()
OverlayObject(const std::string &name)
virtual ~ScopedPixelBuffer()
virtual std::string getName()
virtual Ogre::HardwarePixelBufferSharedPtr getPixelBuffer()
virtual void setPosition(double left, double top)
virtual ScopedPixelBuffer getBuffer()
Ogre::PanelOverlayElement * panel_
virtual void updateTextureSize(unsigned int width, unsigned int height)
Ogre::MaterialPtr panel_material_
virtual QImage getQImage(unsigned int width, unsigned int height)
Ogre::TexturePtr texture_
Ogre::HardwarePixelBufferSharedPtr pixel_buffer_
boost::shared_ptr< OverlayObject > Ptr
virtual void setDimensions(double width, double height)
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Fri Aug 2 2024 08:50:14