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