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

#include <facing_visualizer.h>

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

Public Types

typedef boost::shared_ptr< SimpleCircleFacingVisualizerPtr
 
- Public Types inherited from jsk_rviz_plugins::FacingObject
typedef boost::shared_ptr< FacingObjectPtr
 

Public Member Functions

virtual void reset ()
 
virtual void setEnable (bool enable)
 
virtual void setSize (double size)
 
virtual void setText (std::string text)
 
 SimpleCircleFacingVisualizer (Ogre::SceneManager *manager, Ogre::SceneNode *parent, rviz::DisplayContext *context, double size, std::string text="")
 
virtual void update (float wall_dt, float ros_dt)
 
virtual ~SimpleCircleFacingVisualizer ()
 
- Public Member Functions inherited from jsk_rviz_plugins::FacingObject
 FacingObject (Ogre::SceneManager *manager, Ogre::SceneNode *parent, double size)
 
virtual void setAlpha (double alpha)
 
virtual void setColor (Ogre::ColourValue color)
 
virtual void setColor (QColor color)
 
virtual void setOrientation (Ogre::Quaternion &rot)
 
virtual void setOrientation (rviz::DisplayContext *context)
 
virtual void setPosition (Ogre::Vector3 &pos)
 
virtual ~FacingObject ()
 

Protected Member Functions

virtual void createArrows (rviz::DisplayContext *context)
 
virtual void updateArrowsObjects (Ogre::ColourValue color)
 
virtual void updateColor ()
 
virtual void updateLine ()
 
virtual void updateText ()
 
virtual void updateTextUnderLine ()
 

Protected Attributes

Ogre::ManualObject * left_arrow_
 
Ogre::SceneNode * left_arrow_node_
 
Ogre::MaterialPtr left_material_
 
std::string left_material_name_
 
rviz::BillboardLineline_
 
Ogre::ManualObject * lower_arrow_
 
Ogre::SceneNode * lower_arrow_node_
 
Ogre::MaterialPtr lower_material_
 
std::string lower_material_name_
 
rviz::MovableTextmsg_
 
Ogre::ManualObject * right_arrow_
 
Ogre::SceneNode * right_arrow_node_
 
Ogre::MaterialPtr right_material_
 
std::string right_material_name_
 
Ogre::SceneNode * target_text_node_
 
rviz::BillboardLinetext_under_line_
 
Ogre::ManualObject * upper_arrow_
 
Ogre::SceneNode * upper_arrow_node_
 
Ogre::MaterialPtr upper_material_
 
std::string upper_material_name_
 
- Protected Attributes inherited from jsk_rviz_plugins::FacingObject
Ogre::ColourValue color_
 
bool enable_
 
Ogre::SceneNode * node_
 
Ogre::SceneManager * scene_manager_
 
double size_
 
std::string text_
 

Detailed Description

Definition at line 181 of file facing_visualizer.h.

Member Typedef Documentation

◆ Ptr

Definition at line 187 of file facing_visualizer.h.

Constructor & Destructor Documentation

◆ SimpleCircleFacingVisualizer()

jsk_rviz_plugins::SimpleCircleFacingVisualizer::SimpleCircleFacingVisualizer ( Ogre::SceneManager *  manager,
Ogre::SceneNode *  parent,
rviz::DisplayContext context,
double  size,
std::string  text = "" 
)

Definition at line 315 of file facing_visualizer.cpp.

◆ ~SimpleCircleFacingVisualizer()

jsk_rviz_plugins::SimpleCircleFacingVisualizer::~SimpleCircleFacingVisualizer ( )
virtual

Definition at line 342 of file facing_visualizer.cpp.

Member Function Documentation

◆ createArrows()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::createArrows ( rviz::DisplayContext context)
protectedvirtual

Definition at line 475 of file facing_visualizer.cpp.

◆ reset()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::reset ( )
virtual

Definition at line 372 of file facing_visualizer.cpp.

◆ setEnable()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::setEnable ( bool  enable)
virtual

Reimplemented from jsk_rviz_plugins::FacingObject.

Definition at line 589 of file facing_visualizer.cpp.

◆ setSize()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::setSize ( double  size)
virtual

Reimplemented from jsk_rviz_plugins::FacingObject.

Definition at line 581 of file facing_visualizer.cpp.

◆ setText()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::setText ( std::string  text)
virtual

Reimplemented from jsk_rviz_plugins::FacingObject.

Definition at line 603 of file facing_visualizer.cpp.

◆ update()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::update ( float  wall_dt,
float  ros_dt 
)
virtual

Implements jsk_rviz_plugins::FacingObject.

Definition at line 361 of file facing_visualizer.cpp.

◆ updateArrowsObjects()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::updateArrowsObjects ( Ogre::ColourValue  color)
protectedvirtual

Definition at line 379 of file facing_visualizer.cpp.

◆ updateColor()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::updateColor ( )
protectedvirtual

Implements jsk_rviz_plugins::FacingObject.

Definition at line 610 of file facing_visualizer.cpp.

◆ updateLine()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::updateLine ( )
protectedvirtual

Definition at line 535 of file facing_visualizer.cpp.

◆ updateText()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::updateText ( )
protectedvirtual

Implements jsk_rviz_plugins::FacingObject.

Definition at line 597 of file facing_visualizer.cpp.

◆ updateTextUnderLine()

void jsk_rviz_plugins::SimpleCircleFacingVisualizer::updateTextUnderLine ( )
protectedvirtual

Definition at line 556 of file facing_visualizer.cpp.

Member Data Documentation

◆ left_arrow_

Ogre::ManualObject* jsk_rviz_plugins::SimpleCircleFacingVisualizer::left_arrow_
protected

Definition at line 212 of file facing_visualizer.h.

◆ left_arrow_node_

Ogre::SceneNode* jsk_rviz_plugins::SimpleCircleFacingVisualizer::left_arrow_node_
protected

Definition at line 216 of file facing_visualizer.h.

◆ left_material_

Ogre::MaterialPtr jsk_rviz_plugins::SimpleCircleFacingVisualizer::left_material_
protected

Definition at line 220 of file facing_visualizer.h.

◆ left_material_name_

std::string jsk_rviz_plugins::SimpleCircleFacingVisualizer::left_material_name_
protected

Definition at line 223 of file facing_visualizer.h.

◆ line_

rviz::BillboardLine* jsk_rviz_plugins::SimpleCircleFacingVisualizer::line_
protected

Definition at line 208 of file facing_visualizer.h.

◆ lower_arrow_

Ogre::ManualObject* jsk_rviz_plugins::SimpleCircleFacingVisualizer::lower_arrow_
protected

Definition at line 211 of file facing_visualizer.h.

◆ lower_arrow_node_

Ogre::SceneNode* jsk_rviz_plugins::SimpleCircleFacingVisualizer::lower_arrow_node_
protected

Definition at line 215 of file facing_visualizer.h.

◆ lower_material_

Ogre::MaterialPtr jsk_rviz_plugins::SimpleCircleFacingVisualizer::lower_material_
protected

Definition at line 219 of file facing_visualizer.h.

◆ lower_material_name_

std::string jsk_rviz_plugins::SimpleCircleFacingVisualizer::lower_material_name_
protected

Definition at line 224 of file facing_visualizer.h.

◆ msg_

rviz::MovableText* jsk_rviz_plugins::SimpleCircleFacingVisualizer::msg_
protected

Definition at line 226 of file facing_visualizer.h.

◆ right_arrow_

Ogre::ManualObject* jsk_rviz_plugins::SimpleCircleFacingVisualizer::right_arrow_
protected

Definition at line 213 of file facing_visualizer.h.

◆ right_arrow_node_

Ogre::SceneNode* jsk_rviz_plugins::SimpleCircleFacingVisualizer::right_arrow_node_
protected

Definition at line 217 of file facing_visualizer.h.

◆ right_material_

Ogre::MaterialPtr jsk_rviz_plugins::SimpleCircleFacingVisualizer::right_material_
protected

Definition at line 221 of file facing_visualizer.h.

◆ right_material_name_

std::string jsk_rviz_plugins::SimpleCircleFacingVisualizer::right_material_name_
protected

Definition at line 225 of file facing_visualizer.h.

◆ target_text_node_

Ogre::SceneNode* jsk_rviz_plugins::SimpleCircleFacingVisualizer::target_text_node_
protected

Definition at line 227 of file facing_visualizer.h.

◆ text_under_line_

rviz::BillboardLine* jsk_rviz_plugins::SimpleCircleFacingVisualizer::text_under_line_
protected

Definition at line 209 of file facing_visualizer.h.

◆ upper_arrow_

Ogre::ManualObject* jsk_rviz_plugins::SimpleCircleFacingVisualizer::upper_arrow_
protected

Definition at line 210 of file facing_visualizer.h.

◆ upper_arrow_node_

Ogre::SceneNode* jsk_rviz_plugins::SimpleCircleFacingVisualizer::upper_arrow_node_
protected

Definition at line 214 of file facing_visualizer.h.

◆ upper_material_

Ogre::MaterialPtr jsk_rviz_plugins::SimpleCircleFacingVisualizer::upper_material_
protected

Definition at line 218 of file facing_visualizer.h.

◆ upper_material_name_

std::string jsk_rviz_plugins::SimpleCircleFacingVisualizer::upper_material_name_
protected

Definition at line 222 of file facing_visualizer.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