30 #ifndef RVIZ_ROBOT_JOINT_H 31 #define RVIZ_ROBOT_JOINT_H 39 #include <OgreVector3.h> 40 #include <OgreQuaternion.h> 42 #include <OgreMaterial.h> 46 #include <urdf_model/pose.h> 72 class QuaternionProperty;
74 class RobotLinkSelectionHandler;
92 void setTransforms(
const Ogre::Vector3& parent_link_position,
93 const Ogre::Quaternion& parent_link_orientation);
95 const std::string&
getName()
const {
return name_; }
101 void hideSubProperties(
bool hide);
104 void setParentProperty(
Property* new_parent);
106 Ogre::Vector3 getPosition();
107 Ogre::Quaternion getOrientation();
114 void useDetailProperty(
bool use_detail);
117 void expandDetails(
bool expand);
123 void setJointPropertyDescription();
127 void calculateJointCheckboxesRecursive(
128 int& links_with_geom,
129 int& links_with_geom_checked,
130 int& links_with_geom_unchecked);
136 void updateChildVisibility();
139 bool getEnabled()
const;
142 bool styleIsTree()
const;
145 void getChildLinkState(
146 int& links_with_geom,
147 int& links_with_geom_checked,
148 int& links_with_geom_unchecked,
149 bool recursive)
const;
152 void setJointCheckbox(QVariant val);
187 #endif // RVIZ_ROBOT_LINK_H VectorProperty * axis_property_
StringProperty * type_property_
Ogre::Quaternion joint_origin_rot_
QuaternionProperty * orientation_property_
std::string parent_link_name_
A single element of a property tree, with a name, value, description, and possibly children...
Property * joint_property_
Ogre::Vector3 joint_origin_pos_
Property specialized to enforce floating point max/min.
VectorProperty * position_property_
Property * show_axis_property_
Property * axes_property_
bool hasDescendentLinksWithGeometry() const
TFSIMD_FORCE_INLINE Vector3()
const std::string & getName() const
FloatProperty * upper_limit_property_
std::string name_
Name of this joint.
Contains any data we need from a joint in the robot.
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
void setRobotAlpha(float a)
FloatProperty * lower_limit_property_
Property specialized for string values.
std::string child_link_name_
const Property * getJointProperty() const
An arrow consisting of a cylinder and a cone.
const std::string & getParentLinkName() const
Property * getJointProperty()
const std::string & getChildLinkName() const
bool has_decendent_links_with_geometry_