gz/rendering/JointVisual.hh
Go to the documentation of this file.
64 };
Represents a joint visual.
Definition: gz/rendering/JointVisual.hh:71
virtual void SetType(const JointVisualType _type)=0
Set type for joint visual.
virtual ignition::math::Vector3d Axis() const =0
Get axis vector.
virtual ArrowVisualPtr ArrowVisual() const =0
Get the arrow visual which represents the axis attached to the child.
virtual void SetParentAxis(const ignition::math::Vector3d &_axis, const std::string &_parentName, bool _useParentFrame=false)=0
Create a parent axis for hinge2 and universal joint types and attach it to the joint visual.
virtual bool UpdateParentAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Update the parent axis' arrow visual if it exists.
virtual JointVisualPtr ParentAxisVisual() const =0
Get the JointVisual which is attached to the parent.
virtual bool UpdateAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Update an axis' arrow visual.
virtual ignition::math::Vector3d ParentAxis() const =0
Get parent axis vector.
virtual ~JointVisual()
Destructor.
Definition: gz/rendering/JointVisual.hh:73
virtual void SetAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Create an axis and attach it to the joint visual.
Represents a visual node in a scene graph. A Visual is the only node that can have Geometry and other...
Definition: gz/rendering/Visual.hh:35
JointVisualType
Enum for JointVisual types.
Definition: gz/rendering/JointVisual.hh:37
@ JVT_UNIVERSAL
Universal joint type.
Definition: gz/rendering/JointVisual.hh:51
@ JVT_PRISMATIC
Prismatic joint type.
Definition: gz/rendering/JointVisual.hh:48
@ JVT_REVOLUTE
Revolute joint type.
Definition: gz/rendering/JointVisual.hh:42
@ JVT_FIXED
Fixed joint type.
Definition: gz/rendering/JointVisual.hh:63
@ JVT_GEARBOX
Gearbox joint type.
Definition: gz/rendering/JointVisual.hh:60
@ JVT_SCREW
Screw joint type.
Definition: gz/rendering/JointVisual.hh:57
@ JVT_REVOLUTE2
Revolute2 joint type.
Definition: gz/rendering/JointVisual.hh:45