##

ImageView.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_GUI_VIEWERS_IMAGEVIEW_HH_
#define GAZEBO_GUI_VIEWERS_IMAGEVIEW_HH_
#include <string>
#include "gazebo/common/Time.hh"
#include "gazebo/msgs/msgs.hh"
#include "gazebo/transport/TransportTypes.hh"
#include "gazebo/gui/qt.h"
#include "gazebo/gui/viewers/ImageFrame.hh"
#include "gazebo/gui/viewers/TopicView.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace gui
{
class ImageViewPrivate;
class GZ_GUI_VISIBLE ImageView : public TopicView
{
Q_OBJECT
public: explicit ImageView(QWidget *_parent = NULL);
public: virtual ~ImageView();
// Documentation inherited
public: virtual void SetTopic(const std::string &_topicName);
public: void OnImage(ConstImageStampedPtr &_msg);
private: ImageViewPrivate *dataPtr;
};
}
}
#endif
Time.hh
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
qt.h
TopicView.hh
NULL
#define NULL
Definition: CommonTypes.hh:31
TransportTypes.hh
Forward declarations for transport.
system.hh
gazebo::gui::ImageView::OnImage
void OnImage(ConstImageStampedPtr &_msg)
Receives incoming image messages.
msgs.hh
gazebo::gui::ImageView::ImageView
ImageView(QWidget *_parent=NULL)
Constructor.
gazebo::gui::ImageView::~ImageView
virtual ~ImageView()
Destructor.
gui
gui
Definition: KeyEventHandler.hh:29
gazebo::gui::ImageView::SetTopic
virtual void SetTopic(const std::string &_topicName)
Set the name of the topic to get data from.
gazebo::gui::ImageView
Definition: ImageView.hh:38
gazebo::gui::TopicView
Base class for widgets that display topic data.
Definition: TopicView.hh:78
ImageFrame.hh