Struct RobotLink
Defined in File robot_link.hpp
Inheritance Relationships
Base Type
public rviz_default_plugins::robot::RobotElementBaseClass
(Class RobotElementBaseClass)
Struct Documentation
-
struct RobotLink : public rviz_default_plugins::robot::RobotElementBaseClass
Contains any data we need from a link in the robot.
Public Functions
-
~RobotLink() override
-
virtual void setRobotAlpha(float a)
-
virtual void setTransforms(const Ogre::Vector3 &visual_position, const Ogre::Quaternion &visual_orientation, const Ogre::Vector3 &collision_position, const Ogre::Quaternion &collision_orientation)
-
void setToErrorMaterial()
-
void setToNormalMaterial()
-
void setColor(float red, float green, float blue)
-
void unsetColor()
-
bool setSelectable(bool selectable)
set whether the link is selectable. If false objects behind/inside the link can be selected/manipulated. Returns old value.
-
bool getSelectable()
-
bool hasGeometry() const
-
void setOnlyRenderDepth(bool onlyRenderDepth)
-
inline bool getOnlyRenderDepth() const
-
inline const std::string &getName() const
-
inline const std::string &getParentJointName() const
-
inline const std::vector<std::string> &getChildJointNames() const
-
inline rviz_common::properties::Property *getLinkProperty() const
-
inline Ogre::SceneNode *getVisualNode() const
-
inline Ogre::SceneNode *getCollisionNode() const
-
const std::string getGeometryErrors() const
-
inline std::vector<Ogre::Entity*> getVisualMeshes()
-
inline std::vector<Ogre::Entity*> getCollisionMeshes()
Public Slots
-
~RobotLink() override