#include <pictogram_display.h>
Public Types | |
typedef std::shared_ptr < PictogramObject > | Ptr |
Public Member Functions | |
PictogramObject (Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size) | |
virtual void | setAction (uint8_t action) |
virtual void | setAlpha (double alpha) |
virtual void | setColor (QColor color) |
virtual void | setContext (rviz::DisplayContext *context) |
virtual void | setEnable (bool enable) |
virtual void | setMode (uint8_t mode) |
virtual void | setPose (const geometry_msgs::Pose &pose, const std::string &frame_id) |
virtual void | setSize (double size) |
virtual void | setSpeed (double speed) |
virtual void | setText (std::string text) |
virtual void | setTTL (double ttl) |
virtual void | start () |
virtual void | update (float wall_dt, float ros_dt) |
Protected Member Functions | |
virtual void | updateColor () |
virtual void | updatePose (float dt) |
virtual void | updateText () |
Protected Attributes | |
uint8_t | action_ |
rviz::DisplayContext * | context_ |
std::string | frame_id_ |
uint8_t | mode_ |
bool | need_to_update_ |
geometry_msgs::Pose | pose_ |
double | speed_ |
ros::WallTime | time_ |
double | ttl_ |
Definition at line 68 of file pictogram_display.h.
typedef std::shared_ptr<PictogramObject> jsk_rviz_plugins::PictogramObject::Ptr |
Reimplemented from jsk_rviz_plugins::FacingTexturedObject.
Definition at line 71 of file pictogram_display.h.
jsk_rviz_plugins::PictogramObject::PictogramObject | ( | Ogre::SceneManager * | manager, |
Ogre::SceneNode * | parent, | ||
double | size | ||
) |
Definition at line 128 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setAction | ( | uint8_t | action | ) | [virtual] |
Definition at line 193 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setAlpha | ( | double | alpha | ) | [virtual] |
Reimplemented from jsk_rviz_plugins::FacingObject.
Definition at line 356 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setColor | ( | QColor | color | ) | [virtual] |
Reimplemented from jsk_rviz_plugins::FacingObject.
Definition at line 338 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setContext | ( | rviz::DisplayContext * | context | ) | [virtual] |
Definition at line 178 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setEnable | ( | bool | enable | ) | [virtual] |
Reimplemented from jsk_rviz_plugins::FacingObject.
Definition at line 145 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setMode | ( | uint8_t | mode | ) | [virtual] |
Definition at line 183 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setPose | ( | const geometry_msgs::Pose & | pose, |
const std::string & | frame_id | ||
) | [virtual] |
Definition at line 171 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setSize | ( | double | size | ) | [virtual] |
Reimplemented from jsk_rviz_plugins::FacingTexturedObject.
Definition at line 158 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setSpeed | ( | double | speed | ) | [virtual] |
Definition at line 166 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setText | ( | std::string | text | ) | [virtual] |
Reimplemented from jsk_rviz_plugins::FacingObject.
Definition at line 348 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::setTTL | ( | double | ttl | ) | [virtual] |
Definition at line 188 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::start | ( | ) | [virtual] |
Definition at line 153 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [virtual] |
Implements jsk_rviz_plugins::FacingObject.
Definition at line 278 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::updateColor | ( | ) | [protected, virtual] |
Implements jsk_rviz_plugins::FacingObject.
Definition at line 330 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::updatePose | ( | float | dt | ) | [protected, virtual] |
Definition at line 204 of file pictogram_display.cpp.
void jsk_rviz_plugins::PictogramObject::updateText | ( | ) | [protected, virtual] |
Implements jsk_rviz_plugins::FacingObject.
Definition at line 334 of file pictogram_display.cpp.
uint8_t jsk_rviz_plugins::PictogramObject::action_ [protected] |
Definition at line 95 of file pictogram_display.h.
Definition at line 98 of file pictogram_display.h.
std::string jsk_rviz_plugins::PictogramObject::frame_id_ [protected] |
Definition at line 97 of file pictogram_display.h.
uint8_t jsk_rviz_plugins::PictogramObject::mode_ [protected] |
Definition at line 102 of file pictogram_display.h.
bool jsk_rviz_plugins::PictogramObject::need_to_update_ [protected] |
Definition at line 94 of file pictogram_display.h.
Definition at line 96 of file pictogram_display.h.
double jsk_rviz_plugins::PictogramObject::speed_ [protected] |
Definition at line 101 of file pictogram_display.h.
Definition at line 99 of file pictogram_display.h.
double jsk_rviz_plugins::PictogramObject::ttl_ [protected] |
Definition at line 100 of file pictogram_display.h.