Go to the documentation of this file.
   37 #ifndef JSK_RVIZ_PLUGIN_FACING_VISUALIZER_H_ 
   38 #define JSK_RVIZ_PLUGIN_FACING_VISUALIZER_H_ 
   40 #include <OGRE/OgreTexture.h> 
   41 #include <OGRE/OgreSceneManager.h> 
   42 #include <OGRE/OgreSceneNode.h> 
   43 #include <OGRE/OgreTexture.h> 
   44 #include <OGRE/OgreMaterial.h> 
   45 #include <OGRE/OgreManualObject.h> 
   60 #if ROS_VERSION_MINIMUM(1,12,0) 
   61     typedef std::shared_ptr<SquareObject> 
Ptr;
 
   93 #if ROS_VERSION_MINIMUM(1,12,0) 
   94     typedef std::shared_ptr<TextureObject> 
Ptr;
 
  109     const std::string 
name_;
 
  117 #if ROS_VERSION_MINIMUM(1,12,0) 
  118     typedef std::shared_ptr<FacingObject> 
Ptr;
 
  123                  Ogre::SceneNode* parent,
 
  129     virtual void update(
float wall_dt, 
float ros_dt) = 0;
 
  152 #if ROS_VERSION_MINIMUM(1,12,0) 
  153     typedef std::shared_ptr<SimpleCircleFacingVisualizer> 
Ptr;
 
  158                                  Ogre::SceneNode* parent,
 
  161                                  std::string 
text = 
"");
 
  163     virtual void update(
float wall_dt, 
float ros_dt);
 
  164     virtual void reset();
 
  203 #if ROS_VERSION_MINIMUM(1,12,0) 
  204     typedef std::shared_ptr<FacingTexturedObject> 
Ptr;
 
  209                          Ogre::SceneNode* parent,
 
  223 #if ROS_VERSION_MINIMUM(1,12,0) 
  224     typedef std::shared_ptr<GISCircleVisualizer> 
Ptr;
 
  229                         Ogre::SceneNode* parent,
 
  231                         std::string 
text = 
"");
 
  233     virtual void update(
float wall_dt, 
float ros_dt);
 
  
GISCircleVisualizer(Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size, std::string text="")
Ogre::SceneNode * upper_arrow_node_
virtual void setSize(double size)
Ogre::MaterialPtr upper_material_
virtual void setPolygonType(PolygonType type)
virtual void createArrows(rviz::DisplayContext *context)
virtual void updateText()
Ogre::MaterialPtr lower_material_
virtual void setOrientation(rviz::DisplayContext *context)
virtual void updateText()
virtual void setOuterRadius(double outer_radius)
Ogre::ManualObject * manual_
std::string upper_material_name_
SquareObject::Ptr square_object_
virtual void setPosition(Ogre::Vector3 &pos)
Ogre::MaterialPtr material_
SimpleCircleFacingVisualizer(Ogre::SceneManager *manager, Ogre::SceneNode *parent, rviz::DisplayContext *context, double size, std::string text="")
virtual void updateLine()
virtual void setText(std::string text)
virtual void update(float wall_dt, float ros_dt)
rviz::BillboardLine * text_under_line_
boost::shared_ptr< FacingTexturedObject > Ptr
SquareObject(Ogre::SceneManager *manager, double outer_radius, double inner_radius, std::string name)
Ogre::SceneManager * manager_
rviz::BillboardLine * line_
virtual void updateArrowsObjects(Ogre::ColourValue color)
boost::shared_ptr< TextureObject > Ptr
FacingObject(Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size)
std::string right_material_name_
virtual void setAnonymous(bool anonymous)
virtual void setText(std::string text)
Ogre::MaterialPtr left_material_
Ogre::SceneManager * scene_manager_
Ogre::ManualObject * left_arrow_
boost::shared_ptr< SimpleCircleFacingVisualizer > Ptr
Ogre::SceneNode * right_arrow_node_
TextureObject(const int width, const int height, const std::string name)
virtual void setInnerRadius(double inner_radius)
boost::shared_ptr< GISCircleVisualizer > Ptr
virtual void update(float wall_dt, float ros_dt)
Ogre::TexturePtr texture_
virtual void setSize(double size)
PolygonType polygon_type_
virtual void updateText()=0
Ogre::SceneNode * left_arrow_node_
virtual ScopedPixelBuffer getBuffer()
FacingTexturedObject(Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size)
boost::shared_ptr< FacingObject > Ptr
virtual void setSize(double size)
Ogre::SceneNode * lower_arrow_node_
Ogre::ManualObject * right_arrow_
virtual void rebuildPolygon()
virtual void setEnable(bool enable)
virtual void updateColor()
virtual void setEnable(bool enable)
virtual void update(float wall_dt, float ros_dt)=0
Ogre::MaterialPtr right_material_
virtual void setSize(double size)
virtual void setColor(QColor color)
Ogre::SceneNode * target_text_node_
Ogre::ManualObject * lower_arrow_
boost::shared_ptr< SquareObject > Ptr
virtual ~SimpleCircleFacingVisualizer()
TextureObject::Ptr texture_object_
virtual std::string getMaterialName()
std::string left_material_name_
virtual void setText(std::string text)
virtual void updateTextUnderLine()
virtual void setAlpha(double alpha)
virtual Ogre::ManualObject * getManualObject()
virtual void updateColor()=0
virtual void updateColor()
std::string lower_material_name_
Ogre::ManualObject * upper_arrow_
jsk_rviz_plugins
Author(s): Kei Okada 
, Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda 
autogenerated on Mon Apr 7 2025 02:49:52