gz/rendering/JointVisual.hh
STL class.
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 ignition::math::Vector3d Axis() const =0
Get axis vector.
Represents a joint visual.
Definition: gz/rendering/JointVisual.hh:69
@ JVT_GEARBOX
Gearbox joint type.
Definition: gz/rendering/JointVisual.hh:60
virtual JointVisualPtr ParentAxisVisual() const =0
Get the JointVisual which is attached to the parent.
JointVisualType
Enum for JointVisual types.
Definition: gz/rendering/JointVisual.hh:36
@ JVT_REVOLUTE2
Revolute2 joint type.
Definition: gz/rendering/JointVisual.hh:45
@ JVT_FIXED
Fixed joint type.
Definition: gz/rendering/JointVisual.hh:63
virtual void SetAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Create an axis and attach it to the joint visual.
@ JVT_SCREW
Screw joint type.
Definition: gz/rendering/JointVisual.hh:57
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:33
virtual ArrowVisualPtr ArrowVisual() const =0
Get the arrow visual which represents the axis attached to the child.
@ JVT_UNIVERSAL
Universal joint type.
Definition: gz/rendering/JointVisual.hh:51
virtual ~JointVisual()
Destructor.
Definition: gz/rendering/JointVisual.hh:73
virtual bool UpdateAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Update an axis' arrow visual.
@ JVT_PRISMATIC
Prismatic joint type.
Definition: gz/rendering/JointVisual.hh:48
@ JVT_REVOLUTE
Revolute joint type.
Definition: gz/rendering/JointVisual.hh:42
virtual ignition::math::Vector3d ParentAxis() const =0
Get parent axis vector.
virtual void SetType(const JointVisualType _type)=0
Set type for joint visual.
virtual bool UpdateParentAxis(const ignition::math::Vector3d &_axis, bool _useParentFrame=false)=0
Update the parent axis' arrow visual if it exists.
Represents a arrow composite visual.
Definition: gz/rendering/ArrowVisual.hh:31