#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 55 of file overlay_menu_display.h.
Definition at line 62 of file overlay_menu_display.h.
Definition at line 56 of file overlay_menu_display.cpp.
Definition at line 66 of file overlay_menu_display.cpp.
int jsk_rviz_plugins::OverlayMenuDisplay::drawAreaHeight | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 185 of file overlay_menu_display.cpp.
int jsk_rviz_plugins::OverlayMenuDisplay::drawAreaWidth | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 166 of file overlay_menu_display.cpp.
QFont jsk_rviz_plugins::OverlayMenuDisplay::font | ( | ) | [protected, virtual] |
Definition at line 153 of file overlay_menu_display.cpp.
QFontMetrics jsk_rviz_plugins::OverlayMenuDisplay::fontMetrics | ( | ) | [protected, virtual] |
Definition at line 160 of file overlay_menu_display.cpp.
std::string jsk_rviz_plugins::OverlayMenuDisplay::getMenuString | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg, |
size_t | index | ||
) | [protected, virtual] |
Definition at line 279 of file overlay_menu_display.cpp.
bool jsk_rviz_plugins::OverlayMenuDisplay::isNeedToRedraw | ( | ) | [protected, virtual] |
Definition at line 275 of file overlay_menu_display.cpp.
bool jsk_rviz_plugins::OverlayMenuDisplay::isNeedToResize | ( | ) | [protected, virtual] |
Definition at line 114 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 85 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 78 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 72 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::openingAnimation | ( | ) | [protected, virtual] |
Definition at line 308 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::prepareOverlay | ( | ) | [protected, virtual] |
Definition at line 291 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::processMessage | ( | const jsk_rviz_plugins::OverlayMenu::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 109 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::redraw | ( | ) | [protected, virtual] |
Definition at line 343 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::subscribe | ( | ) | [protected, virtual] |
Definition at line 98 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::unsubscribe | ( | ) | [protected, virtual] |
Definition at line 93 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 194 of file overlay_menu_display.cpp.
void jsk_rviz_plugins::OverlayMenuDisplay::updateTopic | ( | ) | [protected, slot] |
Definition at line 400 of file overlay_menu_display.cpp.
Definition at line 74 of file overlay_menu_display.h.
double jsk_rviz_plugins::OverlayMenuDisplay::animation_t_ [protected] |
Definition at line 78 of file overlay_menu_display.h.
jsk_rviz_plugins::OverlayMenu::ConstPtr jsk_rviz_plugins::OverlayMenuDisplay::current_menu_ [protected] |
Definition at line 76 of file overlay_menu_display.h.
jsk_rviz_plugins::OverlayMenu::ConstPtr jsk_rviz_plugins::OverlayMenuDisplay::next_menu_ [protected] |
Definition at line 77 of file overlay_menu_display.h.
Definition at line 71 of file overlay_menu_display.h.
bool jsk_rviz_plugins::OverlayMenuDisplay::require_update_texture_ [protected] |
Definition at line 75 of file overlay_menu_display.h.
Definition at line 72 of file overlay_menu_display.h.
Definition at line 73 of file overlay_menu_display.h.