Contains any data we need from a joint in the robot. More...
#include <robot_joint.h>
Public Member Functions | |
void | calculateJointCheckboxesRecursive (int &links_with_geom, int &links_with_geom_checked, int &links_with_geom_unchecked) |
void | expandDetails (bool expand) |
const std::string & | getChildLinkName () const |
const Property * | getJointProperty () const |
Property * | getJointProperty () |
const std::string & | getName () const |
Ogre::Quaternion | getOrientation () |
RobotJoint * | getParentJoint () |
const std::string & | getParentLinkName () const |
Ogre::Vector3 | getPosition () |
bool | hasDescendentLinksWithGeometry () const |
void | hideSubProperties (bool hide) |
RobotJoint (Robot *robot, const boost::shared_ptr< const urdf::Joint > &joint) | |
void | setJointPropertyDescription () |
void | setParentProperty (Property *new_parent) |
void | setRobotAlpha (float a) |
void | setTransforms (const Ogre::Vector3 &parent_link_position, const Ogre::Quaternion &parent_link_orientation) |
void | useDetailProperty (bool use_detail) |
virtual | ~RobotJoint () |
Protected Attributes | |
Property * | axes_property_ |
std::string | child_link_name_ |
Property * | details_ |
Property * | joint_property_ |
std::string | name_ |
Name of this joint. | |
QuaternionProperty * | orientation_property_ |
std::string | parent_link_name_ |
VectorProperty * | position_property_ |
Robot * | robot_ |
Private Slots | |
void | updateAxes () |
void | updateChildVisibility () |
Private Member Functions | |
void | getChildLinkState (int &links_with_geom, int &links_with_geom_checked, int &links_with_geom_unchecked, bool recursive) const |
bool | getEnabled () const |
void | setJointCheckbox (QVariant val) |
bool | styleIsTree () const |
Private Attributes | |
Axes * | axes_ |
bool | doing_set_checkbox_ |
bool | has_decendent_links_with_geometry_ |
Ogre::Vector3 | joint_origin_pos_ |
Ogre::Quaternion | joint_origin_rot_ |
Contains any data we need from a joint in the robot.
Definition at line 86 of file robot_joint.h.
rviz::RobotJoint::RobotJoint | ( | Robot * | robot, |
const boost::shared_ptr< const urdf::Joint > & | joint | ||
) |
Definition at line 49 of file robot_joint.cpp.
rviz::RobotJoint::~RobotJoint | ( | ) | [virtual] |
Definition at line 99 of file robot_joint.cpp.
void rviz::RobotJoint::calculateJointCheckboxesRecursive | ( | int & | links_with_geom, |
int & | links_with_geom_checked, | ||
int & | links_with_geom_unchecked | ||
) |
Definition at line 174 of file robot_joint.cpp.
void rviz::RobotJoint::expandDetails | ( | bool | expand | ) |
Definition at line 423 of file robot_joint.cpp.
const std::string& rviz::RobotJoint::getChildLinkName | ( | ) | const [inline] |
Definition at line 99 of file robot_joint.h.
void rviz::RobotJoint::getChildLinkState | ( | int & | links_with_geom, |
int & | links_with_geom_checked, | ||
int & | links_with_geom_unchecked, | ||
bool | recursive | ||
) | const [private] |
Definition at line 234 of file robot_joint.cpp.
bool rviz::RobotJoint::getEnabled | ( | ) | const [private] |
Definition at line 274 of file robot_joint.cpp.
const Property* rviz::RobotJoint::getJointProperty | ( | ) | const [inline] |
Definition at line 100 of file robot_joint.h.
Property* rviz::RobotJoint::getJointProperty | ( | ) | [inline] |
Definition at line 101 of file robot_joint.h.
const std::string& rviz::RobotJoint::getName | ( | void | ) | const [inline] |
Definition at line 97 of file robot_joint.h.
Ogre::Quaternion rviz::RobotJoint::getOrientation | ( | ) |
Definition at line 374 of file robot_joint.cpp.
Definition at line 161 of file robot_joint.cpp.
const std::string& rviz::RobotJoint::getParentLinkName | ( | ) | const [inline] |
Definition at line 98 of file robot_joint.h.
Ogre::Vector3 rviz::RobotJoint::getPosition | ( | ) |
Definition at line 369 of file robot_joint.cpp.
bool rviz::RobotJoint::hasDescendentLinksWithGeometry | ( | ) | const [inline] |
Definition at line 113 of file robot_joint.h.
void rviz::RobotJoint::hideSubProperties | ( | bool | hide | ) |
Definition at line 362 of file robot_joint.cpp.
void rviz::RobotJoint::setJointCheckbox | ( | QVariant | val | ) | [private] |
Definition at line 152 of file robot_joint.cpp.
Definition at line 106 of file robot_joint.cpp.
void rviz::RobotJoint::setParentProperty | ( | Property * | new_parent | ) |
Definition at line 379 of file robot_joint.cpp.
void rviz::RobotJoint::setRobotAlpha | ( | float | a | ) | [inline] |
Definition at line 111 of file robot_joint.h.
void rviz::RobotJoint::setTransforms | ( | const Ogre::Vector3 & | parent_link_position, |
const Ogre::Quaternion & | parent_link_orientation | ||
) |
Definition at line 346 of file robot_joint.cpp.
bool rviz::RobotJoint::styleIsTree | ( | ) | const [private] |
Definition at line 281 of file robot_joint.cpp.
void rviz::RobotJoint::updateAxes | ( | ) | [private, slot] |
Definition at line 320 of file robot_joint.cpp.
void rviz::RobotJoint::updateChildVisibility | ( | ) | [private, slot] |
Definition at line 286 of file robot_joint.cpp.
void rviz::RobotJoint::useDetailProperty | ( | bool | use_detail | ) |
Definition at line 395 of file robot_joint.cpp.
Axes* rviz::RobotJoint::axes_ [private] |
Definition at line 176 of file robot_joint.h.
Property* rviz::RobotJoint::axes_property_ [protected] |
Definition at line 167 of file robot_joint.h.
std::string rviz::RobotJoint::child_link_name_ [protected] |
Definition at line 160 of file robot_joint.h.
Property* rviz::RobotJoint::details_ [protected] |
Definition at line 164 of file robot_joint.h.
bool rviz::RobotJoint::doing_set_checkbox_ [private] |
Definition at line 174 of file robot_joint.h.
bool rviz::RobotJoint::has_decendent_links_with_geometry_ [private] |
Definition at line 172 of file robot_joint.h.
Ogre::Vector3 rviz::RobotJoint::joint_origin_pos_ [private] |
Definition at line 170 of file robot_joint.h.
Ogre::Quaternion rviz::RobotJoint::joint_origin_rot_ [private] |
Definition at line 171 of file robot_joint.h.
Property* rviz::RobotJoint::joint_property_ [protected] |
Definition at line 163 of file robot_joint.h.
std::string rviz::RobotJoint::name_ [protected] |
Name of this joint.
Definition at line 158 of file robot_joint.h.
Definition at line 166 of file robot_joint.h.
std::string rviz::RobotJoint::parent_link_name_ [protected] |
Definition at line 159 of file robot_joint.h.
VectorProperty* rviz::RobotJoint::position_property_ [protected] |
Definition at line 165 of file robot_joint.h.
Robot* rviz::RobotJoint::robot_ [protected] |
Definition at line 157 of file robot_joint.h.