#include <image_view.h>
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 |
qreal | pixelRatio () 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_ |
ROSImageTexture * | texture_ |
image_transport::ImageTransport | texture_it_ |
boost::shared_ptr< image_transport::SubscriberFilter > | texture_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 | |
RenderSystem * | render_system_ |
Ogre::RenderWindow * | render_window_ |
QFrame * | renderFrame |
Definition at line 56 of file image_view.h.
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.
|
privateslot |
Definition at line 132 of file image_view.cpp.
|
protected |
Definition at line 70 of file image_view.cpp.
|
private |
Definition at line 162 of file image_view.cpp.
|
private |
Definition at line 73 of file image_view.h.
|
private |
Definition at line 76 of file image_view.h.
|
private |
Definition at line 72 of file image_view.h.
|
private |
Definition at line 74 of file image_view.h.
|
private |
Definition at line 78 of file image_view.h.
|
private |
Definition at line 79 of file image_view.h.