#include <overlay_menu_display.h>
Public Types | |
enum | AnimationState { CLOSED, OPENED, OPENING, CLOSING } |
Public Member Functions | |
OverlayMenuDisplay () | |
virtual | ~OverlayMenuDisplay () |
Protected Slots | |
void | updateTopic () |
Protected Member Functions | |
virtual int | drawAreaHeight (const jsk_rviz_plugins::OverlayMenu::ConstPtr &msg) |
virtual int | drawAreaWidth (const jsk_rviz_plugins::OverlayMenu::ConstPtr &msg) |
virtual QFont | font () |
virtual QFontMetrics | fontMetrics () |
virtual std::string | getMenuString (const jsk_rviz_plugins::OverlayMenu::ConstPtr &msg, size_t index) |
virtual bool | isNeedToRedraw () |
virtual bool | isNeedToResize () |
virtual void | onDisable () |
virtual void | onEnable () |
virtual void | onInitialize () |
virtual void | openingAnimation () |
virtual void | prepareOverlay () |
virtual void | processMessage (const jsk_rviz_plugins::OverlayMenu::ConstPtr &msg) |
virtual void | redraw () |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | update (float wall_dt, float ros_dt) |
Protected Attributes | |
AnimationState | animation_state_ |
double | animation_t_ |
jsk_rviz_plugins::OverlayMenu::ConstPtr | current_menu_ |
jsk_rviz_plugins::OverlayMenu::ConstPtr | next_menu_ |
OverlayObject::Ptr | overlay_ |
bool | require_update_texture_ |
ros::Subscriber | sub_ |
rviz::RosTopicProperty * | update_topic_property_ |
Definition at line 53 of file overlay_menu_display.h.
Definition at line 60 of file overlay_menu_display.h.
Definition at line 56 of file overlay_menu_display.cpp.
jsk_rviz_plugin::OverlayMenuDisplay::~OverlayMenuDisplay | ( | ) | [virtual] |
Definition at line 66 of file overlay_menu_display.cpp.
int jsk_rviz_plugin::OverlayMenuDisplay::drawAreaHeight | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 177 of file overlay_menu_display.cpp.
int jsk_rviz_plugin::OverlayMenuDisplay::drawAreaWidth | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 163 of file overlay_menu_display.cpp.
QFont jsk_rviz_plugin::OverlayMenuDisplay::font | ( | ) | [protected, virtual] |
Definition at line 150 of file overlay_menu_display.cpp.
QFontMetrics jsk_rviz_plugin::OverlayMenuDisplay::fontMetrics | ( | ) | [protected, virtual] |
Definition at line 157 of file overlay_menu_display.cpp.
std::string jsk_rviz_plugin::OverlayMenuDisplay::getMenuString | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg, |
size_t | index | ||
) | [protected, virtual] |
Definition at line 284 of file overlay_menu_display.cpp.
bool jsk_rviz_plugin::OverlayMenuDisplay::isNeedToRedraw | ( | ) | [protected, virtual] |
Definition at line 280 of file overlay_menu_display.cpp.
bool jsk_rviz_plugin::OverlayMenuDisplay::isNeedToResize | ( | ) | [protected, virtual] |
Definition at line 114 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 85 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 78 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 72 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::openingAnimation | ( | ) | [protected, virtual] |
Definition at line 313 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::prepareOverlay | ( | ) | [protected, virtual] |
Definition at line 296 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::processMessage | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 109 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::redraw | ( | ) | [protected, virtual] |
Definition at line 346 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::subscribe | ( | ) | [protected, virtual] |
Definition at line 98 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::unsubscribe | ( | ) | [protected, virtual] |
Definition at line 93 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 186 of file overlay_menu_display.cpp.
void jsk_rviz_plugin::OverlayMenuDisplay::updateTopic | ( | ) | [protected, slot] |
Definition at line 402 of file overlay_menu_display.cpp.
Definition at line 72 of file overlay_menu_display.h.
double jsk_rviz_plugin::OverlayMenuDisplay::animation_t_ [protected] |
Definition at line 76 of file overlay_menu_display.h.
jsk_rviz_plugins::OverlayMenu::ConstPtr jsk_rviz_plugin::OverlayMenuDisplay::current_menu_ [protected] |
Definition at line 74 of file overlay_menu_display.h.
jsk_rviz_plugins::OverlayMenu::ConstPtr jsk_rviz_plugin::OverlayMenuDisplay::next_menu_ [protected] |
Definition at line 75 of file overlay_menu_display.h.
Definition at line 69 of file overlay_menu_display.h.
bool jsk_rviz_plugin::OverlayMenuDisplay::require_update_texture_ [protected] |
Definition at line 73 of file overlay_menu_display.h.
Definition at line 70 of file overlay_menu_display.h.
Definition at line 71 of file overlay_menu_display.h.