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 101 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 74 of file tablet_controller_panel.cpp.

Member Function Documentation

◆ minimumSizeHint()

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

Definition at line 81 of file tablet_controller_panel.cpp.

◆ mouseMoveEvent()

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

Definition at line 91 of file tablet_controller_panel.cpp.

◆ mousePressEvent()

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

Definition at line 96 of file tablet_controller_panel.cpp.

◆ mouseReleaseEvent()

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

Definition at line 101 of file tablet_controller_panel.cpp.

◆ paintEvent()

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

Definition at line 108 of file tablet_controller_panel.cpp.

◆ publishCmdVel()

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

Definition at line 171 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 144 of file tablet_controller_panel.cpp.

◆ sizeHint()

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

Definition at line 86 of file tablet_controller_panel.cpp.

Member Data Documentation

◆ mouse_x_

int jsk_rviz_plugins::TabletCmdVelArea::mouse_x_
protected

Definition at line 147 of file tablet_controller_panel.h.

◆ mouse_y_

int jsk_rviz_plugins::TabletCmdVelArea::mouse_y_
protected

Definition at line 148 of file tablet_controller_panel.h.

◆ pub_cmd_vel_

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

Definition at line 149 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 Fri Aug 2 2024 08:50:15