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/OgreOverlay.h>
54 #include <OGRE/Overlay/OgrePanelOverlayElement.h>
55 #include <OGRE/Overlay/OgreOverlayElement.h>
56 #include <OGRE/Overlay/OgreOverlayContainer.h>
57 #include <OGRE/Overlay/OgreOverlayManager.h>
69 class ScopedPixelBuffer
75 virtual QImage
getQImage(
unsigned int width,
unsigned int height);
76 virtual QImage
getQImage(OverlayObject& overlay);
77 virtual QImage
getQImage(
unsigned int width,
unsigned int height, QColor&
bg_color);
92 #if ROS_VERSION_MINIMUM(1,12,0)
93 typedef std::shared_ptr<OverlayObject>
Ptr;
113 const std::string
name_;
115 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 Dec 13 2024 03:49:56