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

◆ TabletCmdVelArea()

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

◆ minimumSizeHint()

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

Definition at line 49 of file tablet_controller_panel.cpp.

◆ mouseMoveEvent()

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

Definition at line 59 of file tablet_controller_panel.cpp.

◆ mousePressEvent()

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

Definition at line 64 of file tablet_controller_panel.cpp.

◆ mouseReleaseEvent()

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

Definition at line 69 of file tablet_controller_panel.cpp.

◆ paintEvent()

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

Definition at line 76 of file tablet_controller_panel.cpp.

◆ publishCmdVel()

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

Definition at line 139 of file tablet_controller_panel.cpp.

◆ publishVelocity()

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.

◆ sizeHint()

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

Definition at line 54 of file tablet_controller_panel.cpp.

Member Data Documentation

◆ mouse_x_

int jsk_rviz_plugins::TabletCmdVelArea::mouse_x_
protected

Definition at line 83 of file tablet_controller_panel.h.

◆ mouse_y_

int jsk_rviz_plugins::TabletCmdVelArea::mouse_y_
protected

Definition at line 84 of file tablet_controller_panel.h.

◆ pub_cmd_vel_

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 Thu Jun 1 2023 02:45:58