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 |
Property * | getJointProperty () |
const Property * | getJointProperty () const |
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 urdf::JointConstSharedPtr &joint) | |
void | setJointPropertyDescription () |
void | setParentProperty (Property *new_parent) |
void | setRobotAlpha (float) |
void | setTransforms (const Ogre::Vector3 &parent_link_position, const Ogre::Quaternion &parent_link_orientation) |
void | useDetailProperty (bool use_detail) |
~RobotJoint () override | |
Protected Attributes | |
Property * | axes_property_ |
VectorProperty * | axis_property_ |
std::string | child_link_name_ |
Property * | details_ |
Property * | joint_property_ |
FloatProperty * | lower_limit_property_ |
std::string | name_ |
Name of this joint. More... | |
QuaternionProperty * | orientation_property_ |
std::string | parent_link_name_ |
VectorProperty * | position_property_ |
Robot * | robot_ |
Property * | show_axis_property_ |
StringProperty * | type_property_ |
FloatProperty * | upper_limit_property_ |
Private Slots | |
void | updateAxes () |
void | updateAxis () |
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 (const QVariant &val) |
bool | styleIsTree () const |
Private Attributes | |
Axes * | axes_ |
Arrow * | axis_ |
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 79 of file robot_joint.h.
rviz::RobotJoint::RobotJoint | ( | Robot * | robot, |
const urdf::JointConstSharedPtr & | joint | ||
) |
Definition at line 46 of file robot_joint.cpp.
|
override |
Definition at line 132 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 206 of file robot_joint.cpp.
void rviz::RobotJoint::expandDetails | ( | bool | expand | ) |
Definition at line 491 of file robot_joint.cpp.
|
inline |
Definition at line 98 of file robot_joint.h.
|
private |
Definition at line 265 of file robot_joint.cpp.
|
private |
Definition at line 306 of file robot_joint.cpp.
|
inline |
Definition at line 106 of file robot_joint.h.
|
inline |
Definition at line 102 of file robot_joint.h.
|
inline |
Definition at line 90 of file robot_joint.h.
Ogre::Quaternion rviz::RobotJoint::getOrientation | ( | ) |
Definition at line 442 of file robot_joint.cpp.
RobotJoint * rviz::RobotJoint::getParentJoint | ( | ) |
Definition at line 193 of file robot_joint.cpp.
|
inline |
Definition at line 94 of file robot_joint.h.
Ogre::Vector3 rviz::RobotJoint::getPosition | ( | ) |
Definition at line 437 of file robot_joint.cpp.
|
inline |
Definition at line 124 of file robot_joint.h.
void rviz::RobotJoint::hideSubProperties | ( | bool | hide | ) |
Definition at line 428 of file robot_joint.cpp.
|
private |
Definition at line 184 of file robot_joint.cpp.
void rviz::RobotJoint::setJointPropertyDescription | ( | ) |
Definition at line 141 of file robot_joint.cpp.
void rviz::RobotJoint::setParentProperty | ( | Property * | new_parent | ) |
Definition at line 447 of file robot_joint.cpp.
|
inline |
Definition at line 120 of file robot_joint.h.
void rviz::RobotJoint::setTransforms | ( | const Ogre::Vector3 & | parent_link_position, |
const Ogre::Quaternion & | parent_link_orientation | ||
) |
Definition at line 407 of file robot_joint.cpp.
|
private |
Definition at line 313 of file robot_joint.cpp.
|
privateslot |
Definition at line 352 of file robot_joint.cpp.
|
privateslot |
Definition at line 378 of file robot_joint.cpp.
|
privateslot |
Definition at line 318 of file robot_joint.cpp.
void rviz::RobotJoint::useDetailProperty | ( | bool | use_detail | ) |
Definition at line 463 of file robot_joint.cpp.
|
private |
Definition at line 197 of file robot_joint.h.
|
protected |
Definition at line 182 of file robot_joint.h.
|
private |
Definition at line 198 of file robot_joint.h.
|
protected |
Definition at line 184 of file robot_joint.h.
|
protected |
Definition at line 175 of file robot_joint.h.
|
protected |
Definition at line 179 of file robot_joint.h.
|
private |
Definition at line 195 of file robot_joint.h.
|
private |
Definition at line 193 of file robot_joint.h.
|
private |
Definition at line 191 of file robot_joint.h.
|
private |
Definition at line 192 of file robot_joint.h.
|
protected |
Definition at line 178 of file robot_joint.h.
|
protected |
Definition at line 187 of file robot_joint.h.
|
protected |
Name of this joint.
Definition at line 173 of file robot_joint.h.
|
protected |
Definition at line 181 of file robot_joint.h.
|
protected |
Definition at line 174 of file robot_joint.h.
|
protected |
Definition at line 180 of file robot_joint.h.
|
protected |
Definition at line 172 of file robot_joint.h.
|
protected |
Definition at line 185 of file robot_joint.h.
|
protected |
Definition at line 186 of file robot_joint.h.
|
protected |
Definition at line 188 of file robot_joint.h.