Public Member Functions | Private Attributes | List of all members
rviz::EffortVisual Class Reference

#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::Modelurdf_model_
 
float width_
 

Detailed Description

Definition at line 29 of file effort_visual.h.

Constructor & Destructor Documentation

◆ EffortVisual()

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.

◆ ~EffortVisual()

rviz::EffortVisual::~EffortVisual ( )
virtual

Definition at line 47 of file effort_visual.cpp.

Member Function Documentation

◆ getRainbowColor()

void rviz::EffortVisual::getRainbowColor ( float  value,
Ogre::ColourValue &  color 
)

Definition at line 66 of file effort_visual.cpp.

◆ setColor()

void rviz::EffortVisual::setColor ( float  r,
float  g,
float  b,
float  a 
)

◆ setFrameEnabled()

void rviz::EffortVisual::setFrameEnabled ( const std::string  joint_name,
const bool  e 
)

Definition at line 170 of file effort_visual.cpp.

◆ setFrameOrientation() [1/2]

void rviz::EffortVisual::setFrameOrientation ( const Ogre::Quaternion &  orientation)

Definition at line 181 of file effort_visual.cpp.

◆ setFrameOrientation() [2/2]

void rviz::EffortVisual::setFrameOrientation ( const std::string  joint_name,
const Ogre::Quaternion &  orientation 
)

Definition at line 191 of file effort_visual.cpp.

◆ setFramePosition() [1/2]

void rviz::EffortVisual::setFramePosition ( const Ogre::Vector3 &  position)

Definition at line 176 of file effort_visual.cpp.

◆ setFramePosition() [2/2]

void rviz::EffortVisual::setFramePosition ( const std::string  joint_name,
const Ogre::Vector3 &  position 
)

Definition at line 186 of file effort_visual.cpp.

◆ setMessage()

void rviz::EffortVisual::setMessage ( const sensor_msgs::JointStateConstPtr &  msg)

Definition at line 90 of file effort_visual.cpp.

◆ setScale()

void rviz::EffortVisual::setScale ( float  s)

Definition at line 201 of file effort_visual.cpp.

◆ setWidth()

void rviz::EffortVisual::setWidth ( float  w)

Definition at line 196 of file effort_visual.cpp.

Member Data Documentation

◆ effort_arrow_

std::map<std::string, rviz::Arrow*> rviz::EffortVisual::effort_arrow_
private

Definition at line 71 of file effort_visual.h.

◆ effort_circle_

std::map<std::string, rviz::BillboardLine*> rviz::EffortVisual::effort_circle_
private

Definition at line 70 of file effort_visual.h.

◆ effort_enabled_

std::map<std::string, bool> rviz::EffortVisual::effort_enabled_
private

Definition at line 72 of file effort_visual.h.

◆ frame_node_

Ogre::SceneNode* rviz::EffortVisual::frame_node_
private

Definition at line 76 of file effort_visual.h.

◆ orientation_

std::map<std::string, Ogre::Quaternion> rviz::EffortVisual::orientation_
private

Definition at line 83 of file effort_visual.h.

◆ position_

std::map<std::string, Ogre::Vector3> rviz::EffortVisual::position_
private

Definition at line 82 of file effort_visual.h.

◆ scale_

float rviz::EffortVisual::scale_
private

Definition at line 85 of file effort_visual.h.

◆ scene_manager_

Ogre::SceneManager* rviz::EffortVisual::scene_manager_
private

Definition at line 80 of file effort_visual.h.

◆ urdf_model_

boost::shared_ptr<urdf::Model> rviz::EffortVisual::urdf_model_
private

Definition at line 88 of file effort_visual.h.

◆ width_

float rviz::EffortVisual::width_
private

Definition at line 85 of file effort_visual.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat May 27 2023 02:06:25