Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_rviz_plugins::ScreenshotListenerTool Class Reference

#include <screenshot_listener_tool.h>

Inheritance diagram for jsk_rviz_plugins::ScreenshotListenerTool:
Inheritance graph
[legend]

Public Member Functions

virtual void activate ()
 
virtual void deactivate ()
 
virtual void onInitialize ()
 
 ScreenshotListenerTool ()
 
virtual ~ScreenshotListenerTool ()
 
- Public Member Functions inherited from rviz::Tool
bool accessAllKeys ()
 
virtual QString getClassId () const
 
const QCursor & getCursor ()
 
QString getDescription () const
 
const QIcon & getIcon ()
 
QString getName () const
 
virtual PropertygetPropertyContainer () const
 
char getShortcutKey ()
 
void initialize (DisplayContext *context)
 
virtual void load (const Config &config)
 
virtual int processKeyEvent (QKeyEvent *event, RenderPanel *panel)
 
virtual int processMouseEvent (ViewportMouseEvent &event)
 
virtual void save (Config config) const
 
virtual void setClassId (const QString &class_id)
 
void setCursor (const QCursor &cursor)
 
void setDescription (const QString &description)
 
void setIcon (const QIcon &icon)
 
void setName (const QString &name)
 
void setStatus (const QString &message)
 
 Tool ()
 
virtual void update (float wall_dt, float ros_dt)
 
 ~Tool () override
 

Protected Member Functions

virtual bool takeScreenShot (jsk_rviz_plugins::Screenshot::Request &req, jsk_rviz_plugins::Screenshot::Response &res)
 

Protected Attributes

ros::ServiceServer screenshot_service_
 
- Protected Attributes inherited from rviz::Tool
bool access_all_keys_
 
DisplayContextcontext_
 
QCursor cursor_
 
QIcon icon_
 
Ogre::SceneManager * scene_manager_
 
char shortcut_key_
 

Additional Inherited Members

- Signals inherited from rviz::Tool
void close ()
 
void nameChanged (const QString &name)
 
- Public Attributes inherited from rviz::Tool
 Finished
 
 Render
 

Detailed Description

Definition at line 47 of file screenshot_listener_tool.h.

Constructor & Destructor Documentation

◆ ScreenshotListenerTool()

jsk_rviz_plugins::ScreenshotListenerTool::ScreenshotListenerTool ( )

Definition at line 48 of file screenshot_listener_tool.cpp.

◆ ~ScreenshotListenerTool()

jsk_rviz_plugins::ScreenshotListenerTool::~ScreenshotListenerTool ( )
virtual

Definition at line 53 of file screenshot_listener_tool.cpp.

Member Function Documentation

◆ activate()

void jsk_rviz_plugins::ScreenshotListenerTool::activate ( )
virtual

Implements rviz::Tool.

Definition at line 66 of file screenshot_listener_tool.cpp.

◆ deactivate()

void jsk_rviz_plugins::ScreenshotListenerTool::deactivate ( )
virtual

Implements rviz::Tool.

Definition at line 71 of file screenshot_listener_tool.cpp.

◆ onInitialize()

void jsk_rviz_plugins::ScreenshotListenerTool::onInitialize ( )
virtual

Reimplemented from rviz::Tool.

Definition at line 58 of file screenshot_listener_tool.cpp.

◆ takeScreenShot()

bool jsk_rviz_plugins::ScreenshotListenerTool::takeScreenShot ( jsk_rviz_plugins::Screenshot::Request &  req,
jsk_rviz_plugins::Screenshot::Response &  res 
)
protectedvirtual

Definition at line 76 of file screenshot_listener_tool.cpp.

Member Data Documentation

◆ screenshot_service_

ros::ServiceServer jsk_rviz_plugins::ScreenshotListenerTool::screenshot_service_
protected

Definition at line 59 of file screenshot_listener_tool.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 Thu Jun 1 2023 02:45:58