##

TransmitterVisual.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 _TRANSMITTERVISUAL_HH_
#define _TRANSMITTERVISUAL_HH_
#include <string>
#include "gazebo/msgs/MessageTypes.hh"
#include "gazebo/rendering/Visual.hh"
namespace gazebo
{
namespace rendering
{
class GZ_RENDERING_VISIBLE TransmitterVisual : public Visual
{
public: TransmitterVisual(const std::string &_name, VisualPtr _vis,
const std::string &_topicName);
public: virtual ~TransmitterVisual();
public: virtual void Load();
public: virtual void Update();
private: void OnNewPropagationGrid(ConstPropagationGridPtr &_msg);
};
}
}
#endif
gazebo::rendering::TransmitterVisual::Load
virtual void Load()
Documentation inherited from parent.
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::rendering::TransmitterVisual
Visualization for the wireless propagation data.
Definition: TransmitterVisual.hh:35
gazebo::rendering::TransmitterVisual::TransmitterVisual
TransmitterVisual(const std::string &_name, VisualPtr _vis, const std::string &_topicName)
Constructor.
rendering
rendering
Definition: RenderEngine.hh:31
gazebo::rendering::Visual
A renderable object.
Definition: Visual.hh:60
Visual.hh
gazebo::rendering::TransmitterVisual::~TransmitterVisual
virtual ~TransmitterVisual()
Destructor.
gazebo::rendering::VisualPtr
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
gazebo::rendering::TransmitterVisual::Update
virtual void Update()
Function that runs on the OGRE thread to refresh the UI.