#include <ambient_sound_display.h>
Public Member Functions | |
AmbientSoundDisplay () | |
virtual void | createProperties () |
virtual void | fixedFrameChanged () |
float | getAlpha () |
float | getBias () const |
const rviz::Color & | getColor () |
float | getGrad () const |
int | getHistoryLength () const |
float | getScale () const |
const std::string & | getTopic () |
float | getWidth () const |
virtual void | onInitialize () |
virtual void | reset () |
void | setAlpha (float alpha) |
void | setBias (float bias) |
void | setColor (const rviz::Color &color) |
void | setGrad (float grad) |
void | setHistoryLength (int history_length) |
void | setScale (float scale) |
void | setTopic (const std::string &topic) |
void | setWidth (float width) |
virtual | ~AmbientSoundDisplay () |
Protected Member Functions | |
virtual void | onDisable () |
virtual void | onEnable () |
Private Member Functions | |
void | clear () |
void | incomingMessage (const hark_msgs::HarkPower::ConstPtr &msg) |
void | subscribe () |
void | unsubscribe () |
void | updateColorAndAlpha () |
Private Attributes | |
float | alpha_ |
rviz::FloatPropertyWPtr | alpha_property_ |
float | bias_ |
rviz::FloatPropertyWPtr | bias_property_ |
rviz::Color | color_ |
rviz::ColorPropertyWPtr | color_property_ |
float | grad_ |
rviz::FloatPropertyWPtr | grad_property_ |
int | history_length_ |
rviz::IntPropertyWPtr | history_length_property_ |
int | messages_received_ |
float | scale_ |
rviz::FloatPropertyWPtr | scale_property_ |
Ogre::SceneNode * | scene_node_ |
message_filters::Subscriber < hark_msgs::HarkPower > | sub_ |
tf::MessageFilter < hark_msgs::HarkPower > * | tf_filter_ |
std::string | topic_ |
rviz::ROSTopicStringPropertyWPtr | topic_property_ |
std::vector< AmbientSoundVisual * > | visuals_ |
float | width_ |
rviz::FloatPropertyWPtr | width_property_ |
Definition at line 21 of file ambient_sound_display.h.
Definition at line 21 of file ambient_sound_display.cpp.
Definition at line 60 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::clear | ( | void | ) | [private] |
Definition at line 73 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::createProperties | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 316 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::fixedFrameChanged | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 254 of file ambient_sound_display.cpp.
float jsk_rviz_plugin::AmbientSoundDisplay::getAlpha | ( | ) | [inline] |
Definition at line 43 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::getBias | ( | ) | const [inline] |
Definition at line 55 of file ambient_sound_display.h.
const rviz::Color& jsk_rviz_plugin::AmbientSoundDisplay::getColor | ( | ) | [inline] |
Definition at line 40 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::getGrad | ( | ) | const [inline] |
Definition at line 58 of file ambient_sound_display.h.
int jsk_rviz_plugin::AmbientSoundDisplay::getHistoryLength | ( | ) | const [inline] |
Definition at line 46 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::getScale | ( | void | ) | const [inline] |
Definition at line 52 of file ambient_sound_display.h.
const std::string& jsk_rviz_plugin::AmbientSoundDisplay::getTopic | ( | ) | [inline] |
Definition at line 37 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::getWidth | ( | ) | const [inline] |
Definition at line 49 of file ambient_sound_display.h.
void jsk_rviz_plugin::AmbientSoundDisplay::incomingMessage | ( | const hark_msgs::HarkPower::ConstPtr & | msg | ) | [private] |
Definition at line 261 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::onDisable | ( | ) | [protected, virtual] |
Implements rviz::Display.
Definition at line 246 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::onEnable | ( | ) | [protected, virtual] |
Implements rviz::Display.
Definition at line 241 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::onInitialize | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 35 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::reset | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 306 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setAlpha | ( | float | alpha | ) |
Definition at line 108 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setBias | ( | float | bias | ) |
Definition at line 136 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setColor | ( | const rviz::Color & | color | ) |
Definition at line 99 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setGrad | ( | float | grad | ) |
Definition at line 145 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setHistoryLength | ( | int | history_length | ) |
Definition at line 167 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setScale | ( | float | scale | ) |
Definition at line 126 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setTopic | ( | const std::string & | topic | ) |
Definition at line 85 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::setWidth | ( | float | width | ) |
Definition at line 117 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::subscribe | ( | ) | [private] |
Definition at line 213 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::unsubscribe | ( | ) | [private] |
Definition at line 236 of file ambient_sound_display.cpp.
void jsk_rviz_plugin::AmbientSoundDisplay::updateColorAndAlpha | ( | ) | [private] |
Definition at line 155 of file ambient_sound_display.cpp.
float jsk_rviz_plugin::AmbientSoundDisplay::alpha_ [private] |
Definition at line 100 of file ambient_sound_display.h.
rviz::FloatPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::alpha_property_ [private] |
Definition at line 107 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::bias_ [private] |
Definition at line 102 of file ambient_sound_display.h.
rviz::FloatPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::bias_property_ [private] |
Definition at line 111 of file ambient_sound_display.h.
Definition at line 98 of file ambient_sound_display.h.
rviz::ColorPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::color_property_ [private] |
Definition at line 105 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::grad_ [private] |
Definition at line 102 of file ambient_sound_display.h.
rviz::FloatPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::grad_property_ [private] |
Definition at line 112 of file ambient_sound_display.h.
int jsk_rviz_plugin::AmbientSoundDisplay::history_length_ [private] |
Definition at line 101 of file ambient_sound_display.h.
rviz::IntPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::history_length_property_ [private] |
Definition at line 108 of file ambient_sound_display.h.
int jsk_rviz_plugin::AmbientSoundDisplay::messages_received_ [private] |
Definition at line 95 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::scale_ [private] |
Definition at line 102 of file ambient_sound_display.h.
rviz::FloatPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::scale_property_ [private] |
Definition at line 110 of file ambient_sound_display.h.
Ogre::SceneNode* jsk_rviz_plugin::AmbientSoundDisplay::scene_node_ [private] |
Definition at line 90 of file ambient_sound_display.h.
message_filters::Subscriber<hark_msgs::HarkPower> jsk_rviz_plugin::AmbientSoundDisplay::sub_ [private] |
Definition at line 93 of file ambient_sound_display.h.
tf::MessageFilter<hark_msgs::HarkPower>* jsk_rviz_plugin::AmbientSoundDisplay::tf_filter_ [private] |
Definition at line 94 of file ambient_sound_display.h.
Definition at line 99 of file ambient_sound_display.h.
rviz::ROSTopicStringPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::topic_property_ [private] |
Definition at line 106 of file ambient_sound_display.h.
Definition at line 87 of file ambient_sound_display.h.
float jsk_rviz_plugin::AmbientSoundDisplay::width_ [private] |
Definition at line 102 of file ambient_sound_display.h.
rviz::FloatPropertyWPtr jsk_rviz_plugin::AmbientSoundDisplay::width_property_ [private] |
Definition at line 109 of file ambient_sound_display.h.