Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
jsk_rviz_plugin::OverlayMenuDisplay Class Reference

#include <overlay_menu_display.h>

Inheritance diagram for jsk_rviz_plugin::OverlayMenuDisplay:
Inheritance graph
[legend]

List of all members.

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::RosTopicPropertyupdate_topic_property_

Detailed Description

Definition at line 53 of file overlay_menu_display.h.


Member Enumeration Documentation

Enumerator:
CLOSED 
OPENED 
OPENING 
CLOSING 

Definition at line 60 of file overlay_menu_display.h.


Constructor & Destructor Documentation

Definition at line 56 of file overlay_menu_display.cpp.

Definition at line 66 of file overlay_menu_display.cpp.


Member Function Documentation

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.

Definition at line 280 of file overlay_menu_display.cpp.

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.

Reimplemented from rviz::Display.

Definition at line 72 of file overlay_menu_display.cpp.

Definition at line 313 of file overlay_menu_display.cpp.

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.

Definition at line 402 of file overlay_menu_display.cpp.


Member Data Documentation

Definition at line 72 of file overlay_menu_display.h.

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.

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.


The documentation for this class was generated from the following files:


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Mon Oct 6 2014 01:18:44