Go to the documentation of this file.
37 #ifndef JSK_RVIZ_PLUGIN_PICTOGRAM_DISPLAY_H_
38 #define JSK_RVIZ_PLUGIN_PICTOGRAM_DISPLAY_H_
50 #include <OGRE/OgreSceneNode.h>
51 #include <OGRE/OgreSceneManager.h>
52 #include <jsk_rviz_plugins/Pictogram.h>
59 int addFont(
unsigned char* data,
unsigned int data_len);
68 class PictogramObject:
public FacingTexturedObject
71 #if ROS_VERSION_MINIMUM(1,12,0)
72 typedef std::shared_ptr<PictogramObject>
Ptr;
77 Ogre::SceneNode* parent,
79 virtual void update(
float wall_dt,
float ros_dt);
86 virtual void setPose(
const geometry_msgs::Pose&
pose,
87 const std::string& frame_id);
92 virtual void setTTL(
double ttl);
128 virtual void reset();
131 void update(
float wall_dt,
float ros_dt);
virtual void setAction(uint8_t action)
virtual void updateColor()
virtual void updateText()
virtual void setColor(QColor color)
virtual void update(float wall_dt, float ros_dt)
PictogramObject(Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size)
QFont getFont(std::string character)
virtual void setPose(const geometry_msgs::Pose &pose, const std::string &frame_id)
virtual void onInitialize()
virtual void updatePose(float dt)
virtual void setEnable(bool enable)
bool isEntypo(std::string text)
virtual void setTTL(double ttl)
int addFont(unsigned char *data, unsigned int data_len)
virtual ~PictogramDisplay()
void update(float wall_dt, float ros_dt)
virtual void setContext(rviz::DisplayContext *context)
bool isCharacterSupported(std::string character)
virtual void setSize(double size)
virtual void setText(std::string text)
virtual void setMode(uint8_t mode)
QString lookupPictogramText(std::string character)
virtual void setAlpha(double alpha)
void processMessage(const jsk_rviz_plugins::Pictogram::ConstPtr &msg)
virtual void setSpeed(double speed)
PictogramObject::Ptr pictogram_
boost::shared_ptr< PictogramObject > Ptr
geometry_msgs::Pose pose_
rviz::DisplayContext * context_
bool isFontAwesome(std::string text)
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Fri Aug 2 2024 08:50:14