|
A clickable, i.e. selectable, visionx::ImageViewerArea. More...
#include <VisionX/libraries/SelectableImageViewer/SelectableImageViewer.h>
Signals | |
void | selected () |
Signals that a pixel was selected in the image viewer. More... | |
void | selected (int imageIndex, float x, float y) |
Signals that a pixel was selected in the image viewer. More... | |
Public Member Functions | |
void | mousePressEvent (QMouseEvent *ev) override |
SelectableImageViewer (QWidget *parent=0) | |
Public Member Functions inherited from ImageViewerArea | |
IceUtil::Time | getDisplayDelay () const |
Vec2d | getScaledImageDimensions () |
IceUtil::Time | getTimeDisplayed () const |
ImageViewerArea (QWidget *parent=0) | |
void | setImages (int numberImages, CByteImage **images, IceUtil::Time imageTimestamp, IceUtil::Time receiveTimestamp) |
~ImageViewerArea () override | |
Public Member Functions inherited from Logging | |
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
disables the logging for the current line for the given amount of seconds. More... | |
MessageTypeT | getEffectiveLoggingLevel () const |
Logging () | |
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
void | setTag (const LogTag &tag) |
void | setTag (const std::string &tagName) |
virtual | ~Logging () |
Additional Inherited Members | |
Protected Slots inherited from ImageViewerArea | |
void | updateImage (long timeReceived) |
Protected Member Functions inherited from ImageViewerArea | |
int | getNumberImages () |
void | paintEvent (QPaintEvent *pPaintEvent) override |
Protected Member Functions inherited from Logging | |
bool | checkLogLevel (MessageTypeT level) const |
const LogSenderPtr & | getLogSender () const |
Retrieve log sender. More... | |
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
A clickable, i.e. selectable, visionx::ImageViewerArea.
The SelectableImageViewer is a visionx::ImageViewerArea which can be clicked on to make a selection in the displayed image
Definition at line 44 of file SelectableImageViewer.h.
|
explicit |
Definition at line 28 of file SelectableImageViewer.cpp.
|
override |
|
signal |
Signals that a pixel was selected in the image viewer.
Signals that a pixel was selected in the image viewer.
imageIndex | the index of the selected image, in [0 .. numImages-1] |
x | the relative x coordinate, in [0 .. 1) |
y | the relative y coordinate, in [0 .. 1) |