Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ImageView Class Reference

#include <image_view.h>

Inheritance diagram for ImageView:
Inheritance graph
[legend]

Public Member Functions

 ImageView (QWidget *parent=0)
 
 ~ImageView ()
 
- Public Member Functions inherited from rviz::QtOgreRenderWindow
bool enableStereo (bool enable)
 Enable or disable stereo rendering If stereo is not supported this is ignored. More...
 
Ogre::Camera * getCamera () const
 
Ogre::Viewport * getViewport () const
 
 QtOgreRenderWindow (QWidget *parent=0)
 
void setAutoRender (bool auto_render)
 
void setBackgroundColor (Ogre::ColourValue color)
 
void setCamera (Ogre::Camera *camera)
 
void setOrthoScale (float scale)
 Set the scale of the orthographic window. Only valid for an orthographic camera. More...
 
void setOverlaysEnabled (bool overlays_enabled)
 
virtual void setPostRenderCallback (boost::function< void()> func)
 
virtual void setPreRenderCallback (boost::function< void()> func)
 
void setupStereo ()
 Prepare to render in stereo if enabled and supported. More...
 
virtual QSize sizeHint () const
 
virtual ~QtOgreRenderWindow ()
 
- Public Member Functions inherited from rviz::RenderWidget
Ogre::RenderWindow * getRenderWindow ()
 
 RenderWidget (RenderSystem *render_system, QWidget *parent=0)
 
virtual ~RenderWidget ()
 

Protected Member Functions

void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from rviz::QtOgreRenderWindow
virtual void paintEvent (QPaintEvent *e)
 
virtual void postViewportUpdate (const Ogre::RenderTargetViewportEvent &evt)
 
void prepareStereoViewport (Ogre::Viewport *)
 
virtual void preViewportUpdate (const Ogre::RenderTargetViewportEvent &evt)
 
virtual void resizeEvent (QResizeEvent *event)
 
void setCameraAspectRatio ()
 
- Protected Member Functions inherited from rviz::RenderWidget
virtual void moveEvent (QMoveEvent *e)
 
QPaintEngine * paintEngine () const
 

Private Slots

void onTimer ()
 

Private Member Functions

void textureCallback (const sensor_msgs::Image::ConstPtr &msg)
 

Private Attributes

Ogre::Camera * camera_
 
ros::NodeHandle nh_
 
Ogre::SceneManager * scene_manager_
 
ROSImageTexturetexture_
 
image_transport::ImageTransport texture_it_
 
boost::shared_ptr< image_transport::SubscriberFiltertexture_sub_
 

Additional Inherited Members

- Protected Attributes inherited from rviz::QtOgreRenderWindow
bool auto_render_
 
Ogre::ColourValue background_color_
 
Ogre::Camera * camera_
 
Ogre::Camera * left_camera_
 
Ogre::Root * ogre_root_
 
float ortho_scale_
 
bool overlays_enabled_
 
boost::function< void()> post_render_callback_
 Functor which is called after each render. More...
 
boost::function< void()> pre_render_callback_
 Functor which is called before each render. More...
 
bool rendering_stereo_
 
Ogre::Camera * right_camera_
 
Ogre::Viewport * right_viewport_
 
bool stereo_enabled_
 
Ogre::Viewport * viewport_
 
- Protected Attributes inherited from rviz::RenderWidget
RenderSystemrender_system_
 
Ogre::RenderWindow * render_window_
 
QFrame * renderFrame
 

Detailed Description

Definition at line 56 of file image_view.h.

Constructor & Destructor Documentation

ImageView::ImageView ( QWidget *  parent = 0)

Definition at line 57 of file image_view.cpp.

ImageView::~ImageView ( )

Definition at line 65 of file image_view.cpp.

Member Function Documentation

void ImageView::onTimer ( )
privateslot

Definition at line 132 of file image_view.cpp.

void ImageView::showEvent ( QShowEvent *  event)
protected

Definition at line 70 of file image_view.cpp.

void ImageView::textureCallback ( const sensor_msgs::Image::ConstPtr &  msg)
private

Definition at line 162 of file image_view.cpp.

Member Data Documentation

Ogre::Camera* ImageView::camera_
private

Definition at line 73 of file image_view.h.

ros::NodeHandle ImageView::nh_
private

Definition at line 76 of file image_view.h.

Ogre::SceneManager* ImageView::scene_manager_
private

Definition at line 72 of file image_view.h.

ROSImageTexture* ImageView::texture_
private

Definition at line 74 of file image_view.h.

image_transport::ImageTransport ImageView::texture_it_
private

Definition at line 78 of file image_view.h.

boost::shared_ptr<image_transport::SubscriberFilter> ImageView::texture_sub_
private

Definition at line 79 of file image_view.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat Apr 27 2019 02:33:43