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

#include <overlay_picker_tool.h>

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

Public Member Functions

virtual void activate ()
 
virtual void deactivate ()
 
template<class T >
T * isPropertyType (rviz::Property *p)
 
template<class T >
void movePosition (rviz::ViewportMouseEvent &event)
 
 OverlayPickerTool ()
 
virtual int processKeyEvent (QKeyEvent *event, rviz::RenderPanel *panel)
 
virtual int processMouseEvent (rviz::ViewportMouseEvent &event)
 
template<class T >
void setPosition (rviz::ViewportMouseEvent &event)
 
template<class T >
bool startMovement (rviz::Property *property, rviz::ViewportMouseEvent &event, const std::string &type)
 
- 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 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)
 
virtual ~Tool ()
 

Protected Member Functions

virtual bool handleDisplayClick (rviz::Property *property, rviz::ViewportMouseEvent &event)
 
virtual void onClicked (rviz::ViewportMouseEvent &event)
 
virtual void onMove (rviz::ViewportMouseEvent &event)
 
virtual void onRelease (rviz::ViewportMouseEvent &event)
 
- Protected Member Functions inherited from rviz::Tool
virtual void onInitialize ()
 

Protected Attributes

bool is_moving_
 
int move_offset_x_
 
int move_offset_y_
 
bool shift_pressing_
 
rviz::Propertytarget_property_
 
std::string target_property_type_
 
- 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 ()
 
- Public Attributes inherited from rviz::Tool
 Finished
 
 Render
 

Detailed Description

Definition at line 47 of file overlay_picker_tool.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::OverlayPickerTool::OverlayPickerTool ( )

Definition at line 56 of file overlay_picker_tool.cpp.

Member Function Documentation

virtual void jsk_rviz_plugins::OverlayPickerTool::activate ( )
inlinevirtual

Implements rviz::Tool.

Definition at line 51 of file overlay_picker_tool.h.

virtual void jsk_rviz_plugins::OverlayPickerTool::deactivate ( )
inlinevirtual

Implements rviz::Tool.

Definition at line 52 of file overlay_picker_tool.h.

bool jsk_rviz_plugins::OverlayPickerTool::handleDisplayClick ( rviz::Property property,
rviz::ViewportMouseEvent event 
)
protectedvirtual

Definition at line 90 of file overlay_picker_tool.cpp.

template<class T >
T* jsk_rviz_plugins::OverlayPickerTool::isPropertyType ( rviz::Property p)
inline

Definition at line 56 of file overlay_picker_tool.h.

template<class T >
void jsk_rviz_plugins::OverlayPickerTool::movePosition ( rviz::ViewportMouseEvent event)
inline

Definition at line 86 of file overlay_picker_tool.h.

void jsk_rviz_plugins::OverlayPickerTool::onClicked ( rviz::ViewportMouseEvent event)
protectedvirtual

Definition at line 126 of file overlay_picker_tool.cpp.

void jsk_rviz_plugins::OverlayPickerTool::onMove ( rviz::ViewportMouseEvent event)
protectedvirtual

Definition at line 136 of file overlay_picker_tool.cpp.

void jsk_rviz_plugins::OverlayPickerTool::onRelease ( rviz::ViewportMouseEvent event)
protectedvirtual

Definition at line 162 of file overlay_picker_tool.cpp.

int jsk_rviz_plugins::OverlayPickerTool::processKeyEvent ( QKeyEvent *  event,
rviz::RenderPanel panel 
)
virtual

Reimplemented from rviz::Tool.

Definition at line 62 of file overlay_picker_tool.cpp.

int jsk_rviz_plugins::OverlayPickerTool::processMouseEvent ( rviz::ViewportMouseEvent event)
virtual

Reimplemented from rviz::Tool.

Definition at line 74 of file overlay_picker_tool.cpp.

template<class T >
void jsk_rviz_plugins::OverlayPickerTool::setPosition ( rviz::ViewportMouseEvent event)
inline

Definition at line 101 of file overlay_picker_tool.h.

template<class T >
bool jsk_rviz_plugins::OverlayPickerTool::startMovement ( rviz::Property property,
rviz::ViewportMouseEvent event,
const std::string &  type 
)
inline

Definition at line 67 of file overlay_picker_tool.h.

Member Data Documentation

bool jsk_rviz_plugins::OverlayPickerTool::is_moving_
protected

Definition at line 121 of file overlay_picker_tool.h.

int jsk_rviz_plugins::OverlayPickerTool::move_offset_x_
protected

Definition at line 124 of file overlay_picker_tool.h.

int jsk_rviz_plugins::OverlayPickerTool::move_offset_y_
protected

Definition at line 124 of file overlay_picker_tool.h.

bool jsk_rviz_plugins::OverlayPickerTool::shift_pressing_
protected

Definition at line 125 of file overlay_picker_tool.h.

rviz::Property* jsk_rviz_plugins::OverlayPickerTool::target_property_
protected

Definition at line 122 of file overlay_picker_tool.h.

std::string jsk_rviz_plugins::OverlayPickerTool::target_property_type_
protected

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