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

#include <tablet_controller_panel.h>

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

Public Member Functions

virtual QSize minimumSizeHint () const
 
virtual QSize sizeHint () const
 
 TabletCmdVelArea (QWidget *parent, ros::Publisher &pub_cmd_vel)
 

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual void publishCmdVel (double x, double y, double theta)
 
virtual void publishVelocity (int mouse_x, int mouse_y, int cx, int cy)
 

Protected Attributes

int mouse_x_
 
int mouse_y_
 
ros::Publisher pub_cmd_vel_
 

Detailed Description

Definition at line 69 of file tablet_controller_panel.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::TabletCmdVelArea::TabletCmdVelArea ( QWidget *  parent,
ros::Publisher pub_cmd_vel 
)

Definition at line 42 of file tablet_controller_panel.cpp.

Member Function Documentation

QSize jsk_rviz_plugins::TabletCmdVelArea::minimumSizeHint ( ) const
virtual

Definition at line 49 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 59 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 64 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 69 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 76 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::publishCmdVel ( double  x,
double  y,
double  theta 
)
protectedvirtual

Definition at line 139 of file tablet_controller_panel.cpp.

void jsk_rviz_plugins::TabletCmdVelArea::publishVelocity ( int  mouse_x,
int  mouse_y,
int  cx,
int  cy 
)
protectedvirtual

Definition at line 112 of file tablet_controller_panel.cpp.

QSize jsk_rviz_plugins::TabletCmdVelArea::sizeHint ( ) const
virtual

Definition at line 54 of file tablet_controller_panel.cpp.

Member Data Documentation

int jsk_rviz_plugins::TabletCmdVelArea::mouse_x_
protected

Definition at line 83 of file tablet_controller_panel.h.

int jsk_rviz_plugins::TabletCmdVelArea::mouse_y_
protected

Definition at line 84 of file tablet_controller_panel.h.

ros::Publisher jsk_rviz_plugins::TabletCmdVelArea::pub_cmd_vel_
protected

Definition at line 85 of file tablet_controller_panel.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 Sat Mar 20 2021 03:03:18