##

COMVisual.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 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_COMVISUAL_HH_
#define GAZEBO_RENDERING_COMVISUAL_HH_
#include <string>
#include <ignition/math/Pose3.hh>
#include "gazebo/rendering/Visual.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace rendering
{
class GZ_RENDERING_VISIBLE COMVisual : public Visual
{
public: COMVisual(const std::string &_name, VisualPtr _vis);
public: ~COMVisual();
public: virtual void Load(sdf::ElementPtr _elem);
using Visual::Load;
public: virtual void Load(ConstLinkPtr &_msg);
public: ignition::math::Pose3d InertiaPose() const;
private: void Load();
};
}
}
#endif
gazebo::rendering::Visual::Load
virtual void Load()
Load the visual with default parameters.
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::rendering::COMVisual::COMVisual
COMVisual(const std::string &_name, VisualPtr _vis)
Constructor.
gazebo::rendering::COMVisual::InertiaPose
ignition::math::Pose3d InertiaPose() const
Get inertia pose.
system.hh
rendering
rendering
Definition: RenderEngine.hh:31
gazebo::rendering::Visual
A renderable object.
Definition: Visual.hh:60
Visual.hh
gazebo::rendering::COMVisual
Basic Center of Mass visualization.
Definition: COMVisual.hh:35
gazebo::rendering::COMVisual::Load
virtual void Load(sdf::ElementPtr _elem)
Load the Visual from an SDF pointer.
gazebo::rendering::VisualPtr
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
gazebo::rendering::COMVisual::~COMVisual
~COMVisual()
Destructor.