#include <footstep_display.h>
Public Member Functions | |
FootstepDisplay () | |
virtual | ~FootstepDisplay () |
Protected Member Functions | |
virtual void | onInitialize () |
virtual void | reset () |
virtual void | update (float wall_dt, float ros_dt) |
Private Types | |
typedef std::shared_ptr < rviz::Shape > | ShapePtr |
Private Slots | |
void | updateAlpha () |
void | updateDepth () |
void | updateHeight () |
void | updateShowName () |
void | updateUseGroupColoring () |
void | updateWidth () |
Private Member Functions | |
virtual void | allocateCubes (size_t num) |
virtual void | allocateTexts (size_t num) |
virtual double | estimateTextSize (const jsk_footstep_msgs::Footstep &footstep) |
virtual double | minNotZero (double a, double b) |
virtual void | processMessage (const jsk_footstep_msgs::FootstepArray::ConstPtr &msg) |
virtual bool | validateFloats (const jsk_footstep_msgs::FootstepArray &msg) |
Private Attributes | |
double | alpha_ |
rviz::FloatProperty * | alpha_property_ |
double | depth_ |
rviz::FloatProperty * | depth_property_ |
double | height_ |
rviz::FloatProperty * | height_property_ |
jsk_footstep_msgs::FootstepArray::ConstPtr | latest_footstep_ |
rviz::BillboardLine * | line_ |
std::vector< ShapePtr > | shapes_ |
bool | show_name_ |
rviz::BoolProperty * | show_name_property_ |
std::vector< Ogre::SceneNode * > | text_nodes_ |
std::vector< rviz::MovableText * > | texts_ |
bool | use_group_coloring_ |
rviz::BoolProperty * | use_group_coloring_property_ |
double | width_ |
rviz::FloatProperty * | width_property_ |
Definition at line 52 of file footstep_display.h.
typedef std::shared_ptr<rviz::Shape> jsk_rviz_plugins::FootstepDisplay::ShapePtr [private] |
Definition at line 78 of file footstep_display.h.
Definition at line 42 of file footstep_display.cpp.
jsk_rviz_plugins::FootstepDisplay::~FootstepDisplay | ( | ) | [virtual] |
Definition at line 70 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::allocateCubes | ( | size_t | num | ) | [private, virtual] |
Definition at line 159 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::allocateTexts | ( | size_t | num | ) | [private, virtual] |
Definition at line 175 of file footstep_display.cpp.
double jsk_rviz_plugins::FootstepDisplay::estimateTextSize | ( | const jsk_footstep_msgs::Footstep & | footstep | ) | [private, virtual] |
Definition at line 249 of file footstep_display.cpp.
double jsk_rviz_plugins::FootstepDisplay::minNotZero | ( | double | a, |
double | b | ||
) | [private, virtual] |
Definition at line 204 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_footstep_msgs::FootstepArray >.
Definition at line 146 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::processMessage | ( | const jsk_footstep_msgs::FootstepArray::ConstPtr & | msg | ) | [private, virtual] |
Definition at line 270 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::reset | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_footstep_msgs::FootstepArray >.
Definition at line 119 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 216 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateAlpha | ( | ) | [private, slot] |
Definition at line 103 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateDepth | ( | ) | [private, slot] |
Definition at line 98 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateHeight | ( | ) | [private, slot] |
Definition at line 93 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateShowName | ( | ) | [private, slot] |
Definition at line 108 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateUseGroupColoring | ( | ) | [private, slot] |
Definition at line 113 of file footstep_display.cpp.
void jsk_rviz_plugins::FootstepDisplay::updateWidth | ( | ) | [private, slot] |
Definition at line 88 of file footstep_display.cpp.
bool jsk_rviz_plugins::FootstepDisplay::validateFloats | ( | const jsk_footstep_msgs::FootstepArray & | msg | ) | [private, virtual] |
Definition at line 127 of file footstep_display.cpp.
double jsk_rviz_plugins::FootstepDisplay::alpha_ [private] |
Definition at line 84 of file footstep_display.h.
Definition at line 71 of file footstep_display.h.
double jsk_rviz_plugins::FootstepDisplay::depth_ [private] |
Definition at line 83 of file footstep_display.h.
Definition at line 74 of file footstep_display.h.
double jsk_rviz_plugins::FootstepDisplay::height_ [private] |
Definition at line 83 of file footstep_display.h.
Definition at line 73 of file footstep_display.h.
jsk_footstep_msgs::FootstepArray::ConstPtr jsk_rviz_plugins::FootstepDisplay::latest_footstep_ [private] |
Definition at line 77 of file footstep_display.h.
Definition at line 82 of file footstep_display.h.
std::vector<ShapePtr> jsk_rviz_plugins::FootstepDisplay::shapes_ [private] |
Definition at line 79 of file footstep_display.h.
bool jsk_rviz_plugins::FootstepDisplay::show_name_ [private] |
Definition at line 85 of file footstep_display.h.
Definition at line 75 of file footstep_display.h.
std::vector<Ogre::SceneNode*> jsk_rviz_plugins::FootstepDisplay::text_nodes_ [private] |
Definition at line 81 of file footstep_display.h.
std::vector<rviz::MovableText*> jsk_rviz_plugins::FootstepDisplay::texts_ [private] |
Definition at line 80 of file footstep_display.h.
bool jsk_rviz_plugins::FootstepDisplay::use_group_coloring_ [private] |
Definition at line 86 of file footstep_display.h.
Definition at line 76 of file footstep_display.h.
double jsk_rviz_plugins::FootstepDisplay::width_ [private] |
Definition at line 83 of file footstep_display.h.
Definition at line 72 of file footstep_display.h.