Scene to provide a convenient display for an image. More...
#include <cvb/ui/image_scene.hpp>
Inherits QGraphicsScene.
Public Member Functions | |
ImageScene (QObject *parent=nullptr) | |
Protected Member Functions | |
virtual void | UploadImage (const Image &image) noexcept |
Upload an image. More... | |
class ImageView * | ImageView () noexcept |
Return the image view associated with this scene. More... | |
Scene to provide a convenient display for an image.
This class can be subclasses to gain full access to Qt's graphics view frame work (e.g events). However, for most use cases you will not need this class at all therefore it it is recommended to use or subclass CvbQtImageView.
|
inlineexplicit |
[in] | parent | Parent object in Qt's object hierarchie. |
Any | exception derived from std::exception including CvbException. |
Return the image view associated with this scene.
Does | not throw any exception. |
This method is provided for convenience only.