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.
virtual JointVisualPtr ParentAxisVisual() const =0
Get the JointVisual which is attached to the parent.
JointVisualType
Enum for JointVisual types.
Definition: JointVisual.hh:36
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: Visual.hh:33
virtual ArrowVisualPtr ArrowVisual() const =0
Get the arrow visual which represents the axis attached to the child.
virtual ~JointVisual()
Destructor.
Definition: JointVisual.hh:73
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 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.