Public Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes
rviz::RobotJoint Struct Reference

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

#include <robot_joint.h>

List of all members.

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 PropertygetJointProperty () const
PropertygetJointProperty ()
const std::string & getName () const
Ogre::Quaternion getOrientation ()
RobotJointgetParentJoint ()
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 a)
void setTransforms (const Ogre::Vector3 &parent_link_position, const Ogre::Quaternion &parent_link_orientation)
void useDetailProperty (bool use_detail)
virtual ~RobotJoint ()

Protected Attributes

Propertyaxes_property_
std::string child_link_name_
Propertydetails_
Propertyjoint_property_
std::string name_
 Name of this joint.
QuaternionPropertyorientation_property_
std::string parent_link_name_
VectorPropertyposition_property_
Robotrobot_

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

Axesaxes_
bool doing_set_checkbox_
bool has_decendent_links_with_geometry_
Ogre::Vector3 joint_origin_pos_
Ogre::Quaternion joint_origin_rot_

Detailed Description

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

Definition at line 82 of file robot_joint.h.


Constructor & Destructor Documentation

rviz::RobotJoint::RobotJoint ( Robot robot,
const urdf::JointConstSharedPtr &  joint 
)

Definition at line 44 of file robot_joint.cpp.

Definition at line 94 of file robot_joint.cpp.


Member Function Documentation

void rviz::RobotJoint::calculateJointCheckboxesRecursive ( int &  links_with_geom,
int &  links_with_geom_checked,
int &  links_with_geom_unchecked 
)

Definition at line 169 of file robot_joint.cpp.

void rviz::RobotJoint::expandDetails ( bool  expand)

Definition at line 418 of file robot_joint.cpp.

const std::string& rviz::RobotJoint::getChildLinkName ( ) const [inline]

Definition at line 95 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 229 of file robot_joint.cpp.

bool rviz::RobotJoint::getEnabled ( ) const [private]

Definition at line 269 of file robot_joint.cpp.

const Property* rviz::RobotJoint::getJointProperty ( ) const [inline]

Definition at line 96 of file robot_joint.h.

Definition at line 97 of file robot_joint.h.

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

Definition at line 93 of file robot_joint.h.

Ogre::Quaternion rviz::RobotJoint::getOrientation ( )

Definition at line 369 of file robot_joint.cpp.

Definition at line 156 of file robot_joint.cpp.

const std::string& rviz::RobotJoint::getParentLinkName ( ) const [inline]

Definition at line 94 of file robot_joint.h.

Definition at line 364 of file robot_joint.cpp.

Definition at line 109 of file robot_joint.h.

Definition at line 357 of file robot_joint.cpp.

void rviz::RobotJoint::setJointCheckbox ( QVariant  val) [private]

Definition at line 147 of file robot_joint.cpp.

Definition at line 101 of file robot_joint.cpp.

Definition at line 374 of file robot_joint.cpp.

void rviz::RobotJoint::setRobotAlpha ( float  a) [inline]

Definition at line 107 of file robot_joint.h.

void rviz::RobotJoint::setTransforms ( const Ogre::Vector3 parent_link_position,
const Ogre::Quaternion &  parent_link_orientation 
)

Definition at line 341 of file robot_joint.cpp.

bool rviz::RobotJoint::styleIsTree ( ) const [private]

Definition at line 276 of file robot_joint.cpp.

void rviz::RobotJoint::updateAxes ( ) [private, slot]

Definition at line 315 of file robot_joint.cpp.

void rviz::RobotJoint::updateChildVisibility ( ) [private, slot]

Definition at line 281 of file robot_joint.cpp.

void rviz::RobotJoint::useDetailProperty ( bool  use_detail)

Definition at line 390 of file robot_joint.cpp.


Member Data Documentation

Definition at line 172 of file robot_joint.h.

Definition at line 163 of file robot_joint.h.

std::string rviz::RobotJoint::child_link_name_ [protected]

Definition at line 156 of file robot_joint.h.

Definition at line 160 of file robot_joint.h.

Definition at line 170 of file robot_joint.h.

Definition at line 168 of file robot_joint.h.

Definition at line 166 of file robot_joint.h.

Ogre::Quaternion rviz::RobotJoint::joint_origin_rot_ [private]

Definition at line 167 of file robot_joint.h.

Definition at line 159 of file robot_joint.h.

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

Name of this joint.

Definition at line 154 of file robot_joint.h.

Definition at line 162 of file robot_joint.h.

std::string rviz::RobotJoint::parent_link_name_ [protected]

Definition at line 155 of file robot_joint.h.

Definition at line 161 of file robot_joint.h.

Definition at line 153 of file robot_joint.h.


The documentation for this struct was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Jun 6 2019 18:02:17