#include <effort_visual.h>
Public Member Functions | |
EffortVisual (Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node, boost::shared_ptr< urdf::Model > urdf_model) | |
void | getRainbowColor (float value, Ogre::ColourValue &color) |
void | setColor (float r, float g, float b, float a) |
void | setFrameEnabled (const std::string joint_name, const bool e) |
void | setFrameOrientation (const Ogre::Quaternion &orientation) |
void | setFrameOrientation (const std::string joint_name, const Ogre::Quaternion &orientation) |
void | setFramePosition (const Ogre::Vector3 &position) |
void | setFramePosition (const std::string joint_name, const Ogre::Vector3 &position) |
void | setMessage (const sensor_msgs::JointStateConstPtr &msg) |
void | setScale (float s) |
void | setWidth (float w) |
virtual | ~EffortVisual () |
Private Attributes | |
std::map< std::string, rviz::Arrow * > | effort_arrow_ |
std::map< std::string, rviz::BillboardLine * > | effort_circle_ |
std::map< std::string, bool > | effort_enabled_ |
Ogre::SceneNode * | frame_node_ |
std::map< std::string, Ogre::Quaternion > | orientation_ |
std::map< std::string, Ogre::Vector3 > | position_ |
float | scale_ |
Ogre::SceneManager * | scene_manager_ |
boost::shared_ptr< urdf::Model > | urdf_model_ |
float | width_ |
Definition at line 31 of file effort_visual.h.
rviz::EffortVisual::EffortVisual | ( | Ogre::SceneManager * | scene_manager, |
Ogre::SceneNode * | parent_node, | ||
boost::shared_ptr< urdf::Model > | urdf_model | ||
) |
Definition at line 16 of file effort_visual.cpp.
|
virtual |
Definition at line 42 of file effort_visual.cpp.
void rviz::EffortVisual::getRainbowColor | ( | float | value, |
Ogre::ColourValue & | color | ||
) |
Definition at line 57 of file effort_visual.cpp.
void rviz::EffortVisual::setColor | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
void rviz::EffortVisual::setFrameEnabled | ( | const std::string | joint_name, |
const bool | e | ||
) |
Definition at line 138 of file effort_visual.cpp.
void rviz::EffortVisual::setFrameOrientation | ( | const Ogre::Quaternion & | orientation | ) |
Definition at line 149 of file effort_visual.cpp.
void rviz::EffortVisual::setFrameOrientation | ( | const std::string | joint_name, |
const Ogre::Quaternion & | orientation | ||
) |
Definition at line 159 of file effort_visual.cpp.
void rviz::EffortVisual::setFramePosition | ( | const Ogre::Vector3 & | position | ) |
Definition at line 144 of file effort_visual.cpp.
void rviz::EffortVisual::setFramePosition | ( | const std::string | joint_name, |
const Ogre::Vector3 & | position | ||
) |
Definition at line 154 of file effort_visual.cpp.
void rviz::EffortVisual::setMessage | ( | const sensor_msgs::JointStateConstPtr & | msg | ) |
Definition at line 75 of file effort_visual.cpp.
void rviz::EffortVisual::setScale | ( | float | s | ) |
Definition at line 169 of file effort_visual.cpp.
void rviz::EffortVisual::setWidth | ( | float | w | ) |
Definition at line 164 of file effort_visual.cpp.
|
private |
Definition at line 71 of file effort_visual.h.
|
private |
Definition at line 70 of file effort_visual.h.
|
private |
Definition at line 72 of file effort_visual.h.
|
private |
Definition at line 76 of file effort_visual.h.
|
private |
Definition at line 83 of file effort_visual.h.
|
private |
Definition at line 82 of file effort_visual.h.
|
private |
Definition at line 85 of file effort_visual.h.
|
private |
Definition at line 80 of file effort_visual.h.
|
private |
Definition at line 88 of file effort_visual.h.
|
private |
Definition at line 85 of file effort_visual.h.