$search

rviz::RobotLink Struct Reference

Contains any data we need from a link in the robot. More...

#include <robot_link.h>

List of all members.

Public Member Functions

void createProperties ()
const std::string & getName ()
Ogre::Quaternion getOrientationInRobotFrame ()
Ogre::Vector3 getPositionInRobotFrame ()
bool getShowAxes ()
bool getShowTrail ()
bool isValid ()
void load (TiXmlElement *root_element, urdf::Model &descr, const urdf::LinkConstPtr &link, bool visual, bool collision)
 RobotLink (Robot *parent, VisualizationManager *manager)
void setAlpha (float a)
void setPropertyManager (PropertyManager *property_manager)
void setShowAxes (bool show)
void setShowTrail (bool show)
void setToErrorMaterial ()
void setToNormalMaterial ()
void setTransforms (const Ogre::Vector3 &visual_position, const Ogre::Quaternion &visual_orientation, const Ogre::Vector3 &collision_position, const Ogre::Quaternion &collision_orientation, bool applyOffsetTransforms)
 ~RobotLink ()

Protected Types

typedef std::map
< Ogre::SubEntity
*, Ogre::MaterialPtr > 
M_SubEntityToMaterial

Protected Member Functions

void createCollision (TiXmlElement *root_element, const urdf::LinkConstPtr &link)
void createEntityForGeometryElement (TiXmlElement *root_element, const urdf::LinkConstPtr &link, const urdf::Geometry &geom, const urdf::Pose &origin, Ogre::SceneNode *parent_node, Ogre::Entity *&entity, Ogre::SceneNode *&scene_node, Ogre::SceneNode *&offset_node)
void createSelection (const urdf::Model &descr, const urdf::LinkConstPtr &link)
void createVisual (TiXmlElement *root_element, const urdf::LinkConstPtr &link)

Protected Attributes

ogre_tools::Axesaxes_
BoolPropertyWPtr axes_property_
Ogre::Entity * collision_mesh_
 The entity representing the collision mesh of this link (if it exists).
Ogre::SceneNode * collision_node_
 The scene node the collision mesh/primitive is attached to.
Ogre::SceneNode * collision_offset_node_
Ogre::MaterialPtr default_material_
std::string default_material_name_
std::string joint_name_
M_SubEntityToMaterial materials_
std::string name_
 Name of this link.
Ogre::Quaternion orientation_
QuaternionPropertyWPtr orientation_property_
Robotparent_
Ogre::Vector3 position_
Vector3PropertyWPtr position_property_
PropertyManagerproperty_manager_
Ogre::SceneManager * scene_manager_
RobotLinkSelectionHandlerPtr selection_handler_
CollObjectHandle selection_object_
Ogre::RibbonTrail * trail_
BoolPropertyWPtr trail_property_
VisualizationManagervis_manager_
Ogre::Entity * visual_mesh_
 The entity representing the visual mesh of this link (if it exists).
Ogre::SceneNode * visual_node_
 The scene node the visual mesh is attached to.
Ogre::SceneNode * visual_offset_node_

Friends

class RobotLinkSelectionHandler

Detailed Description

Contains any data we need from a link in the robot.

Definition at line 89 of file robot_link.h.


Member Typedef Documentation

typedef std::map<Ogre::SubEntity*, Ogre::MaterialPtr> rviz::RobotLink::M_SubEntityToMaterial [protected]

Definition at line 137 of file robot_link.h.


Constructor & Destructor Documentation

rviz::RobotLink::RobotLink ( Robot parent,
VisualizationManager manager 
)

Definition at line 102 of file robot_link.cpp.

rviz::RobotLink::~RobotLink (  ) 

Definition at line 119 of file robot_link.cpp.


Member Function Documentation

void rviz::RobotLink::createCollision ( TiXmlElement *  root_element,
const urdf::LinkConstPtr &  link 
) [protected]

Definition at line 400 of file robot_link.cpp.

void rviz::RobotLink::createEntityForGeometryElement ( TiXmlElement *  root_element,
const urdf::LinkConstPtr &  link,
const urdf::Geometry geom,
const urdf::Pose origin,
Ogre::SceneNode *  parent_node,
Ogre::Entity *&  entity,
Ogre::SceneNode *&  scene_node,
Ogre::SceneNode *&  offset_node 
) [protected]

Definition at line 270 of file robot_link.cpp.

void rviz::RobotLink::createProperties (  ) 

Definition at line 448 of file robot_link.cpp.

void rviz::RobotLink::createSelection ( const urdf::Model descr,
const urdf::LinkConstPtr &  link 
) [protected]

Definition at line 416 of file robot_link.cpp.

void rviz::RobotLink::createVisual ( TiXmlElement *  root_element,
const urdf::LinkConstPtr &  link 
) [protected]

Definition at line 408 of file robot_link.cpp.

const std::string& rviz::RobotLink::getName ( void   )  [inline]

Definition at line 111 of file robot_link.h.

Ogre::Quaternion rviz::RobotLink::getOrientationInRobotFrame (  ) 

Definition at line 483 of file robot_link.cpp.

Ogre::Vector3 rviz::RobotLink::getPositionInRobotFrame (  ) 

Definition at line 478 of file robot_link.cpp.

bool rviz::RobotLink::getShowAxes (  ) 

Definition at line 554 of file robot_link.cpp.

bool rviz::RobotLink::getShowTrail (  ) 

Definition at line 525 of file robot_link.cpp.

bool rviz::RobotLink::isValid (  ) 

Definition at line 149 of file robot_link.cpp.

void rviz::RobotLink::load ( TiXmlElement *  root_element,
urdf::Model descr,
const urdf::LinkConstPtr &  link,
bool  visual,
bool  collision 
)

Definition at line 154 of file robot_link.cpp.

void rviz::RobotLink::setAlpha ( float  a  ) 

Definition at line 179 of file robot_link.cpp.

void rviz::RobotLink::setPropertyManager ( PropertyManager property_manager  ) 

Definition at line 443 of file robot_link.cpp.

void rviz::RobotLink::setShowAxes ( bool  show  ) 

Definition at line 530 of file robot_link.cpp.

void rviz::RobotLink::setShowTrail ( bool  show  ) 

Definition at line 488 of file robot_link.cpp.

void rviz::RobotLink::setToErrorMaterial (  ) 

Definition at line 591 of file robot_link.cpp.

void rviz::RobotLink::setToNormalMaterial (  ) 

Definition at line 604 of file robot_link.cpp.

void rviz::RobotLink::setTransforms ( const Ogre::Vector3 &  visual_position,
const Ogre::Quaternion &  visual_orientation,
const Ogre::Vector3 &  collision_position,
const Ogre::Quaternion &  collision_orientation,
bool  applyOffsetTransforms 
)

Definition at line 559 of file robot_link.cpp.


Friends And Related Function Documentation

friend class RobotLinkSelectionHandler [friend]

Definition at line 169 of file robot_link.h.


Member Data Documentation

Definition at line 155 of file robot_link.h.

BoolPropertyWPtr rviz::RobotLink::axes_property_ [protected]

Definition at line 167 of file robot_link.h.

Ogre::Entity* rviz::RobotLink::collision_mesh_ [protected]

The entity representing the collision mesh of this link (if it exists).

Definition at line 143 of file robot_link.h.

Ogre::SceneNode* rviz::RobotLink::collision_node_ [protected]

The scene node the collision mesh/primitive is attached to.

Definition at line 147 of file robot_link.h.

Ogre::SceneNode* rviz::RobotLink::collision_offset_node_ [protected]

Definition at line 148 of file robot_link.h.

Ogre::MaterialPtr rviz::RobotLink::default_material_ [protected]

Definition at line 139 of file robot_link.h.

std::string rviz::RobotLink::default_material_name_ [protected]

Definition at line 140 of file robot_link.h.

std::string rviz::RobotLink::joint_name_ [protected]

Definition at line 158 of file robot_link.h.

Definition at line 138 of file robot_link.h.

std::string rviz::RobotLink::name_ [protected]

Name of this link.

Definition at line 135 of file robot_link.h.

Ogre::Quaternion rviz::RobotLink::orientation_ [protected]

Definition at line 151 of file robot_link.h.

QuaternionPropertyWPtr rviz::RobotLink::orientation_property_ [protected]

Definition at line 165 of file robot_link.h.

Definition at line 130 of file robot_link.h.

Ogre::Vector3 rviz::RobotLink::position_ [protected]

Definition at line 150 of file robot_link.h.

Vector3PropertyWPtr rviz::RobotLink::position_property_ [protected]

Definition at line 164 of file robot_link.h.

Definition at line 132 of file robot_link.h.

Ogre::SceneManager* rviz::RobotLink::scene_manager_ [protected]

Definition at line 131 of file robot_link.h.

Definition at line 161 of file robot_link.h.

Definition at line 160 of file robot_link.h.

Ogre::RibbonTrail* rviz::RobotLink::trail_ [protected]

Definition at line 153 of file robot_link.h.

BoolPropertyWPtr rviz::RobotLink::trail_property_ [protected]

Definition at line 166 of file robot_link.h.

Definition at line 133 of file robot_link.h.

Ogre::Entity* rviz::RobotLink::visual_mesh_ [protected]

The entity representing the visual mesh of this link (if it exists).

Definition at line 142 of file robot_link.h.

Ogre::SceneNode* rviz::RobotLink::visual_node_ [protected]

The scene node the visual mesh is attached to.

Definition at line 145 of file robot_link.h.

Ogre::SceneNode* rviz::RobotLink::visual_offset_node_ [protected]

Definition at line 146 of file robot_link.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Josh Faust, Dave Hershberger
autogenerated on Sat Mar 2 14:17:37 2013