Go to the documentation of this file.
18 #ifndef _GAZEBO_AXISVISUAL_HH_
19 #define _GAZEBO_AXISVISUAL_HH_
46 public:
virtual void Load();
51 public:
void ShowAxisRotation(
unsigned int _axis,
bool _show);
56 public:
void ShowAxisShaft(
unsigned int _axis,
bool _show);
61 public:
void ShowAxisHead(
unsigned int _axis,
bool _show);
65 public:
void ScaleXAxis(
const ignition::math::Vector3d &_scale);
69 public:
void ScaleYAxis(
const ignition::math::Vector3d &_scale);
73 public:
void ScaleZAxis(
const ignition::math::Vector3d &_scale);
78 public:
void SetAxisMaterial(
unsigned int _axis,
79 const std::string &_material);
84 public:
void SetAxisVisible(
unsigned int _axis,
bool _visible);
92 const std::string &_name,
VisualPtr _parent);
Forward declarations for the common classes.
Definition: Animation.hh:26
AxisVisual(const std::string &_name, VisualPtr _parent)
Constructor.
Basic axis visualization.
Definition: AxisVisual.hh:35
void SetAxisMaterial(unsigned int _axis, const std::string &_material)
Set the material used to render and axis.
virtual ~AxisVisual()
Destructor.
A renderable object.
Definition: Visual.hh:60
void ShowAxisShaft(unsigned int _axis, bool _show)
Show the axis arrow shaft.
void ShowAxisRotation(unsigned int _axis, bool _show)
Show the rotation tube.
void SetAxisVisible(unsigned int _axis, bool _visible)
Set whether the axis will be visible.
void ShowAxisHead(unsigned int _axis, bool _show)
Show the axis arrow head.
void ScaleYAxis(const ignition::math::Vector3d &_scale)
Scale the Y axis.
void ScaleZAxis(const ignition::math::Vector3d &_scale)
Scale the Z axis.
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
void ScaleXAxis(const ignition::math::Vector3d &_scale)
Scale the X axis.
virtual void Load()
Load the axis visual.