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)
 
void getRainbowColor (float value, Ogre::ColourValue &color)
 
void setEffort (const std::string &joint_name, double effort, double max_effort)
 
void setFrameEnabled (const std::string &joint_name, const bool e)
 
void setFrameOrientation (const std::string &joint_name, const Ogre::Quaternion &orientation)
 
void setFramePosition (const std::string &joint_name, const Ogre::Vector3 &position)
 
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_
 
std::map< std::string, Ogre::Quaternion > orientation_
 
Ogre::SceneNode * parent_node_
 
std::map< std::string, Ogre::Vector3 > position_
 
float scale_
 
Ogre::SceneManager * scene_manager_
 
float width_
 

Detailed Description

Definition at line 18 of file effort_visual.h.

Constructor & Destructor Documentation

◆ EffortVisual()

rviz::EffortVisual::EffortVisual ( Ogre::SceneManager *  scene_manager,
Ogre::SceneNode *  parent_node 
)

Definition at line 16 of file effort_visual.cpp.

◆ ~EffortVisual()

rviz::EffortVisual::~EffortVisual ( )
virtual

Definition at line 21 of file effort_visual.cpp.

Member Function Documentation

◆ getRainbowColor()

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

Definition at line 31 of file effort_visual.cpp.

◆ setEffort()

void rviz::EffortVisual::setEffort ( const std::string &  joint_name,
double  effort,
double  max_effort 
)

Definition at line 55 of file effort_visual.cpp.

◆ setFrameEnabled()

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

Definition at line 116 of file effort_visual.cpp.

◆ setFrameOrientation()

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

Definition at line 127 of file effort_visual.cpp.

◆ setFramePosition()

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

Definition at line 122 of file effort_visual.cpp.

◆ setScale()

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

Definition at line 137 of file effort_visual.cpp.

◆ setWidth()

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

Definition at line 132 of file effort_visual.cpp.

Member Data Documentation

◆ effort_arrow_

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

Definition at line 45 of file effort_visual.h.

◆ effort_circle_

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

Definition at line 44 of file effort_visual.h.

◆ effort_enabled_

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

Definition at line 46 of file effort_visual.h.

◆ orientation_

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

Definition at line 52 of file effort_visual.h.

◆ parent_node_

Ogre::SceneNode* rviz::EffortVisual::parent_node_
private

Definition at line 49 of file effort_visual.h.

◆ position_

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

Definition at line 51 of file effort_visual.h.

◆ scale_

float rviz::EffortVisual::scale_
private

Definition at line 54 of file effort_visual.h.

◆ scene_manager_

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

Definition at line 48 of file effort_visual.h.

◆ width_

float rviz::EffortVisual::width_
private

Definition at line 54 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, William Woodall
autogenerated on Fri Dec 13 2024 03:31:03