Contains any data we need from a link in the robot.
More...
#include <robot_link.h>
|
void | updateVisibility () |
| Update the visibility of the link elements: visual mesh, collision mesh, trail, and axes. More...
|
|
Contains any data we need from a link in the robot.
Definition at line 79 of file robot_link.h.
◆ M_SubEntityToMaterial
◆ MaterialMode
Enumerator |
---|
ORIGINAL | |
COLOR | |
ERROR | |
Definition at line 83 of file robot_link.h.
◆ RobotLink()
rviz::RobotLink::RobotLink |
( |
Robot * |
robot, |
|
|
const urdf::LinkConstSharedPtr & |
link, |
|
|
const std::string & |
parent_joint_name, |
|
|
bool |
visual, |
|
|
bool |
collision |
|
) |
| |
◆ ~RobotLink()
rviz::RobotLink::~RobotLink |
( |
| ) |
|
|
override |
◆ addError()
void rviz::RobotLink::addError |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
|
private |
◆ createCollision()
void rviz::RobotLink::createCollision |
( |
const urdf::LinkConstSharedPtr & |
link | ) |
|
|
private |
◆ createEntityForGeometryElement()
void rviz::RobotLink::createEntityForGeometryElement |
( |
const urdf::LinkConstSharedPtr & |
link, |
|
|
const urdf::Geometry & |
geom, |
|
|
const urdf::MaterialSharedPtr & |
material, |
|
|
const urdf::Pose & |
origin, |
|
|
Ogre::SceneNode * |
scene_node, |
|
|
Ogre::Entity *& |
entity |
|
) |
| |
|
private |
◆ createSelection()
void rviz::RobotLink::createSelection |
( |
| ) |
|
|
private |
◆ createVisual()
void rviz::RobotLink::createVisual |
( |
const urdf::LinkConstSharedPtr & |
link | ) |
|
|
private |
◆ expandDetails()
void rviz::RobotLink::expandDetails |
( |
bool |
expand | ) |
|
◆ getChildJointNames()
const std::vector<std::string>& rviz::RobotLink::getChildJointNames |
( |
| ) |
const |
|
inline |
◆ getCollisionNode()
Ogre::SceneNode* rviz::RobotLink::getCollisionNode |
( |
| ) |
const |
|
inline |
◆ getEnabled()
bool rviz::RobotLink::getEnabled |
( |
| ) |
const |
|
private |
◆ getGeometryErrors()
const std::string & rviz::RobotLink::getGeometryErrors |
( |
| ) |
const |
◆ getLinkProperty()
Property* rviz::RobotLink::getLinkProperty |
( |
| ) |
const |
|
inline |
◆ getMaterialForLink()
Ogre::MaterialPtr rviz::RobotLink::getMaterialForLink |
( |
const urdf::LinkConstSharedPtr & |
link, |
|
|
urdf::MaterialConstSharedPtr |
material |
|
) |
| |
|
private |
◆ getName()
const std::string& rviz::RobotLink::getName |
( |
| ) |
const |
|
inline |
◆ getOnlyRenderDepth()
bool rviz::RobotLink::getOnlyRenderDepth |
( |
| ) |
const |
|
inline |
◆ getOrientation()
Ogre::Quaternion rviz::RobotLink::getOrientation |
( |
| ) |
|
◆ getParentJointName()
const std::string& rviz::RobotLink::getParentJointName |
( |
| ) |
const |
|
inline |
◆ getPosition()
Ogre::Vector3 rviz::RobotLink::getPosition |
( |
| ) |
|
◆ getRobot()
Robot* rviz::RobotLink::getRobot |
( |
| ) |
const |
|
inline |
◆ getSelectable()
bool rviz::RobotLink::getSelectable |
( |
| ) |
|
◆ getVisualNode()
Ogre::SceneNode* rviz::RobotLink::getVisualNode |
( |
| ) |
const |
|
inline |
◆ hasGeometry()
bool rviz::RobotLink::hasGeometry |
( |
| ) |
const |
◆ hideSubProperties()
void rviz::RobotLink::hideSubProperties |
( |
bool |
hide | ) |
|
|
virtual |
◆ setColor()
void rviz::RobotLink::setColor |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| |
◆ setMaterialMode()
void rviz::RobotLink::setMaterialMode |
( |
unsigned char |
mode_flags | ) |
|
|
private |
◆ setOnlyRenderDepth()
void rviz::RobotLink::setOnlyRenderDepth |
( |
bool |
onlyRenderDepth | ) |
|
◆ setParentProperty()
void rviz::RobotLink::setParentProperty |
( |
Property * |
new_parent | ) |
|
◆ setRenderQueueGroup()
void rviz::RobotLink::setRenderQueueGroup |
( |
Ogre::uint8 |
group | ) |
|
|
private |
◆ setRobotAlpha()
void rviz::RobotLink::setRobotAlpha |
( |
float |
a | ) |
|
|
virtual |
◆ setSelectable()
bool rviz::RobotLink::setSelectable |
( |
bool |
selectable | ) |
|
set whether the link is selectable. If false objects behind/inside the link can be selected/manipulated. Returns old value.
Definition at line 954 of file robot_link.cpp.
◆ setToErrorMaterial()
void rviz::RobotLink::setToErrorMaterial |
( |
| ) |
|
◆ setToNormalMaterial()
void rviz::RobotLink::setToNormalMaterial |
( |
| ) |
|
◆ setTransforms()
void rviz::RobotLink::setTransforms |
( |
const Ogre::Vector3 & |
visual_position, |
|
|
const Ogre::Quaternion & |
visual_orientation, |
|
|
const Ogre::Vector3 & |
collision_position, |
|
|
const Ogre::Quaternion & |
collision_orientation |
|
) |
| |
|
virtual |
◆ unsetColor()
void rviz::RobotLink::unsetColor |
( |
| ) |
|
◆ updateAlpha
void rviz::RobotLink::updateAlpha |
( |
| ) |
|
|
privateslot |
◆ updateAxes
void rviz::RobotLink::updateAxes |
( |
| ) |
|
|
privateslot |
◆ updateTrail
void rviz::RobotLink::updateTrail |
( |
| ) |
|
|
privateslot |
◆ updateVisibility
void rviz::RobotLink::updateVisibility |
( |
| ) |
|
|
slot |
Update the visibility of the link elements: visual mesh, collision mesh, trail, and axes.
Called by Robot when changing visual and collision visibilities, since each link may be enabled or disabled.
Definition at line 437 of file robot_link.cpp.
◆ useDetailProperty()
void rviz::RobotLink::useDetailProperty |
( |
bool |
use_detail | ) |
|
◆ RobotLinkSelectionHandler
◆ alpha_property_
◆ axes_
Axes* rviz::RobotLink::axes_ |
|
private |
◆ axes_property_
Property* rviz::RobotLink::axes_property_ |
|
protected |
◆ child_joint_names_
std::vector<std::string> rviz::RobotLink::child_joint_names_ |
|
protected |
◆ collision_meshes_
std::vector<Ogre::Entity*> rviz::RobotLink::collision_meshes_ |
|
private |
The entities representing the collision mesh of this link (if they exist)
Definition at line 236 of file robot_link.h.
◆ collision_node_
Ogre::SceneNode* rviz::RobotLink::collision_node_ |
|
private |
The scene node the collision meshes are attached to.
Definition at line 239 of file robot_link.h.
◆ color_material_
Ogre::MaterialPtr rviz::RobotLink::color_material_ |
|
private |
◆ context_
◆ default_material_
Ogre::MaterialPtr rviz::RobotLink::default_material_ |
|
private |
◆ default_material_name_
std::string rviz::RobotLink::default_material_name_ |
|
private |
◆ details_
◆ is_selectable_
bool rviz::RobotLink::is_selectable_ |
|
private |
◆ joint_name_
std::string rviz::RobotLink::joint_name_ |
|
private |
◆ link_property_
Property* rviz::RobotLink::link_property_ |
|
protected |
◆ material_mode_flags_
unsigned char rviz::RobotLink::material_mode_flags_ |
|
private |
◆ materials_
◆ name_
std::string rviz::RobotLink::name_ |
|
protected |
◆ only_render_depth_
bool rviz::RobotLink::only_render_depth_ |
|
private |
◆ orientation_property_
◆ parent_joint_name_
std::string rviz::RobotLink::parent_joint_name_ |
|
protected |
◆ position_property_
◆ robot_
Robot* rviz::RobotLink::robot_ |
|
protected |
◆ robot_alpha_
float rviz::RobotLink::robot_alpha_ |
|
private |
◆ scene_manager_
Ogre::SceneManager* rviz::RobotLink::scene_manager_ |
|
protected |
◆ selection_handler_
◆ trail_
Ogre::RibbonTrail* rviz::RobotLink::trail_ |
|
private |
◆ trail_property_
Property* rviz::RobotLink::trail_property_ |
|
protected |
◆ visual_meshes_
std::vector<Ogre::Entity*> rviz::RobotLink::visual_meshes_ |
|
private |
The entities representing the visual mesh of this link (if they exist)
Definition at line 234 of file robot_link.h.
◆ visual_node_
Ogre::SceneNode* rviz::RobotLink::visual_node_ |
|
private |
The scene node the visual meshes are attached to.
Definition at line 238 of file robot_link.h.
The documentation for this struct was generated from the following files:
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:11