![]() |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
The ImageTaskPixmapScene class models a graphics scene for viewing the pixmap-based results of image tasks. More...
#include <imagetaskpixmapscene.h>
Classes | |
class | ImageTaskPixmapSceneImpl |
Public Member Functions | |
ImageTaskPixmapScene (QObject *parent=nullptr) | |
virtual | ~ImageTaskPixmapScene () |
void | setWorkingPixmap (const QPixmap &pixmap) |
setWorkingPixmap Sets the pixmap that provides the current/working image visualization. More... | |
![]() | |
ImageTaskScene (QObject *parent=nullptr) | |
virtual | ~ImageTaskScene () |
void | setTargetPixmapOpacity (float opacity) |
setTargetPixmapOpacity Sets the opacity of the target pixmap. More... | |
void | setTargetPixmap (const QPixmap &pixmap) |
setTargetPixmap Sets the pixmap that provides the target/goal image visualization. More... | |
ImageTaskPixmapGraphicsItem & | getTargetPixmapItem () |
getTargetPixmapItem Gets a refernece to the graphics item that houses the target pixmap. More... | |
void | setOverlayShape (SvgItem *item) |
setOverlayItem Sets the given overlay shape upon the scene. More... | |
void | setOverlayShapeVisibility (bool visible) |
setOverlayShapeVisibility Whether the overlay shape(s) in the scene should be visible. More... | |
Private Attributes | |
std::unique_ptr< ImageTaskPixmapSceneImpl > | d |
Additional Inherited Members | |
![]() | |
bool | event (QEvent *event) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
void | wheelEvent (QGraphicsSceneWheelEvent *event) override |
void | keyPressEvent (QKeyEvent *event) override |
void | keyReleaseEvent (QKeyEvent *event) override |
void | focusInEvent (QFocusEvent *event) override |
void | focusOutEvent (QFocusEvent *event) override |
The ImageTaskPixmapScene class models a graphics scene for viewing the pixmap-based results of image tasks.
|
explicit |
void geometrize::scene::ImageTaskPixmapScene::setWorkingPixmap | ( | const QPixmap & | pixmap | ) |
setWorkingPixmap Sets the pixmap that provides the current/working image visualization.
pixmap | The pixmap to set as the current/working image visualization. |
|
private |