#include <overlay_utils.h>
Public Types | |
typedef std::shared_ptr < OverlayObject > | Ptr |
Public Member Functions | |
virtual ScopedPixelBuffer | getBuffer () |
virtual std::string | getName () |
virtual unsigned int | getTextureHeight () |
virtual unsigned int | getTextureWidth () |
virtual void | hide () |
virtual bool | isTextureReady () |
virtual bool | isVisible () |
OverlayObject (const std::string &name) | |
virtual void | setDimensions (double width, double height) |
virtual void | setPosition (double left, double top) |
virtual void | show () |
virtual bool | updateTextureSize (unsigned int width, unsigned int height) |
virtual | ~OverlayObject () |
Protected Attributes | |
const std::string | name_ |
Ogre::Overlay * | overlay_ |
Ogre::PanelOverlayElement * | panel_ |
Ogre::MaterialPtr | panel_material_ |
Ogre::TexturePtr | texture_ |
Definition at line 86 of file overlay_utils.h.
typedef std::shared_ptr<OverlayObject> jsk_rviz_plugins::OverlayObject::Ptr |
Definition at line 89 of file overlay_utils.h.
jsk_rviz_plugins::OverlayObject::OverlayObject | ( | const std::string & | name | ) |
Definition at line 89 of file overlay_utils.cpp.
jsk_rviz_plugins::OverlayObject::~OverlayObject | ( | ) | [virtual] |
Definition at line 107 of file overlay_utils.cpp.
ScopedPixelBuffer jsk_rviz_plugins::OverlayObject::getBuffer | ( | ) | [virtual] |
Definition at line 178 of file overlay_utils.cpp.
std::string jsk_rviz_plugins::OverlayObject::getName | ( | void | ) | [virtual] |
Definition at line 118 of file overlay_utils.cpp.
unsigned int jsk_rviz_plugins::OverlayObject::getTextureHeight | ( | ) | [virtual] |
Definition at line 213 of file overlay_utils.cpp.
unsigned int jsk_rviz_plugins::OverlayObject::getTextureWidth | ( | ) | [virtual] |
Definition at line 203 of file overlay_utils.cpp.
void jsk_rviz_plugins::OverlayObject::hide | ( | ) | [virtual] |
Definition at line 123 of file overlay_utils.cpp.
bool jsk_rviz_plugins::OverlayObject::isTextureReady | ( | ) | [virtual] |
Definition at line 137 of file overlay_utils.cpp.
bool jsk_rviz_plugins::OverlayObject::isVisible | ( | ) | [virtual] |
Definition at line 198 of file overlay_utils.cpp.
void jsk_rviz_plugins::OverlayObject::setDimensions | ( | double | width, |
double | height | ||
) | [virtual] |
Definition at line 193 of file overlay_utils.cpp.
void jsk_rviz_plugins::OverlayObject::setPosition | ( | double | left, |
double | top | ||
) | [virtual] |
Definition at line 188 of file overlay_utils.cpp.
void jsk_rviz_plugins::OverlayObject::show | ( | ) | [virtual] |
Definition at line 130 of file overlay_utils.cpp.
bool jsk_rviz_plugins::OverlayObject::updateTextureSize | ( | unsigned int | width, |
unsigned int | height | ||
) | [virtual] |
Definition at line 142 of file overlay_utils.cpp.
const std::string jsk_rviz_plugins::OverlayObject::name_ [protected] |
Definition at line 106 of file overlay_utils.h.
Ogre::Overlay* jsk_rviz_plugins::OverlayObject::overlay_ [protected] |
Definition at line 107 of file overlay_utils.h.
Ogre::PanelOverlayElement* jsk_rviz_plugins::OverlayObject::panel_ [protected] |
Definition at line 108 of file overlay_utils.h.
Ogre::MaterialPtr jsk_rviz_plugins::OverlayObject::panel_material_ [protected] |
Definition at line 109 of file overlay_utils.h.
Ogre::TexturePtr jsk_rviz_plugins::OverlayObject::texture_ [protected] |
Definition at line 110 of file overlay_utils.h.