urdfdom_headers: Rolling
  • Links
    • Rosindex
    • Website
    • Repository
  • C++ API
    • Class Hierarchy
    • File Hierarchy
    • Full C++ API
      • Namespaces
        • Namespace std
        • Namespace urdf
      • Classes and Structs
        • Class Box
        • Class Camera
        • Class Capsule
        • Class Collision
        • Class Color
        • Class Cylinder
        • Class Entity
        • Class Geometry
        • Class Inertial
        • Class Joint
        • Class JointCalibration
        • Class JointDynamics
        • Class JointLimits
        • Class JointMimic
        • Class JointSafety
        • Class Link
        • Class Material
        • Class Mesh
        • Class ModelInterface
        • Class ParseError
        • Class Pose
        • Class Ray
        • Class Rotation
        • Class Sensor
        • Class Sphere
        • Class Twist
        • Class Vector3
        • Class Vector4
        • Class Visual
        • Class VisualSensor
        • Class World
      • Functions
        • Template Function urdf::const_pointer_cast
        • Template Function urdf::dynamic_pointer_cast
        • Function urdf::split_string
        • Template Function urdf::static_pointer_cast
        • Function urdf::strToDouble
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Box)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Collision)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Cylinder)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Geometry)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Inertial)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Joint)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(JointCalibration)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(JointDynamics)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(JointLimits)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(JointMimic)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(JointSafety)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Link)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Material)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Mesh)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Sphere)
        • Function urdf::URDF_TYPEDEF_CLASS_POINTER(Visual)
      • Defines
        • Define URDF_TYPEDEF_CLASS_POINTER
      • Typedefs
        • Typedef urdf::DoubleSharedPtr
        • Typedef urdf::ModelInterfaceSharedPtr
        • Typedef urdf::VisualSensorSharedPtr
      • Directories
        • Directory include
        • Directory urdf_exception
        • Directory urdf_model
        • Directory urdf_sensor
        • Directory urdf_world
      • Files
        • File color.h
        • File exception.h
        • File joint.h
        • File link.h
        • File model.h
        • File pose.h
        • File sensor.h
        • File twist.h
        • File types.h
        • File types.h
        • File types.h
        • File utils.h
        • File world.h
  • Standard Documents
    • README
      • urdfdom_headers
    • LICENSE
    • PACKAGE
    • CHANGELOG
      • Changelog for package urdfdom_headers
        • 2.1.0 (2026-01-31)
        • 2.0.2 (2025-12-19)
        • 2.0.1 (2025-11-28)
        • 2.0.0 (2025-07-01)
        • 1.1.2 (2024-09-11)
        • 1.1.1 (2023-12-26)
        • 1.1.0 (2022-05-10)
        • 1.0.6 (2022-03-28)
        • 1.0.5 (2020-05-08)
        • 1.0.4 (2019-05-20)
        • 1.0.3 (2019-01-08)
        • 1.0.2 (2018-11-15)
        • 1.0.1 (2018-02-21)
        • 1.0.0 (2016-07-20)
        • 0.4.2 (2016-07-05)
        • 0.4.1 (2016-02-13)
        • 0.4.0 (2015-12-09)
        • 0.3.0 (2014-02-15)
        • 0.2.3 (2013-06-18)
        • 0.2.2 (2012-12-22)
        • 0.2.1 (2012-10-02)
        • 0.2.0 (2012-06-28)
        • 0.1.5 (2012-06-25 14:57)
        • 0.1.4 (2012-06-25 11:26)
        • 0.1.3 (2012-06-22 22:46)
        • 0.1.0 (2012-06-22 14:38)
  • Index
urdfdom_headers: Rolling
  • C++ API
  • Class Link
  • View page source

Class Link

  • Defined in File link.h

Class Documentation

class Link

Public Functions

inline Link()
inline LinkSharedPtr getParent() const
inline void setParent(const LinkSharedPtr &parent)
inline void clear()

Public Members

std::string name
InertialSharedPtr inertial

inertial element

VisualSharedPtr visual

visual element

CollisionSharedPtr collision

collision element

std::vector<CollisionSharedPtr> collision_array

if more than one collision element is specified, all collision elements are placed in this array (the collision member points to the first element of the array)

std::vector<VisualSharedPtr> visual_array

if more than one visual element is specified, all visual elements are placed in this array (the visual member points to the first element of the array)

JointSharedPtr parent_joint

Parent Joint element explicitly stating “parent” because we want directional-ness for tree structure every link can have one parent

std::vector<JointSharedPtr> child_joints
std::vector<LinkSharedPtr> child_links
Previous Next

© Copyright The <urdfdom_headers> Contributors. License: BSD.

Built with Sphinx using a theme provided by Read the Docs.