##

LinkFrameVisual.hh
Go to the documentation of this file.
/*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GAZEBO_RENDERING_LINKFRAMEVISUAL_HH_
#define GAZEBO_RENDERING_LINKFRAMEVISUAL_HH_
#include <string>
#include "gazebo/rendering/AxisVisual.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace rendering
{
class GZ_RENDERING_VISIBLE LinkFrameVisual : public AxisVisual
{
public: LinkFrameVisual(const std::string &_name, VisualPtr _parent);
public: virtual ~LinkFrameVisual() = default;
// Documentation inherited
public: virtual void Load();
public: void RecalculateScale();
// Documentation inherited
public: virtual void SetHighlighted(bool _highlighted);
// Documentation inherited
public: bool GetHighlighted();
};
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::rendering::AxisVisual
Basic axis visualization.
Definition: AxisVisual.hh:35
gazebo::rendering::LinkFrameVisual::RecalculateScale
void RecalculateScale()
Recalculate scale based on parent link.
gazebo::rendering::LinkFrameVisual
Visualization for link frames.
Definition: LinkFrameVisual.hh:35
system.hh
gazebo::rendering::LinkFrameVisual::~LinkFrameVisual
virtual ~LinkFrameVisual()=default
Destructor.
gazebo::rendering::LinkFrameVisual::LinkFrameVisual
LinkFrameVisual(const std::string &_name, VisualPtr _parent)
Constructor.
rendering
rendering
Definition: RenderEngine.hh:31
gazebo::rendering::LinkFrameVisual::SetHighlighted
virtual void SetHighlighted(bool _highlighted)
Set the visual to be visually highlighted.
gazebo::rendering::LinkFrameVisual::GetHighlighted
bool GetHighlighted()
gazebo::rendering::LinkFrameVisual::Load
virtual void Load()
Load the axis visual.
AxisVisual.hh
gazebo::rendering::VisualPtr
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114