![]() |
cellUview 1.0.0
A real-time image processing and analysis suite for digital microscopy.
|
#include <gui.h>
Public Member Functions | |
| void | receiveFrame (frame newFrame) |
| Gui (QMainWindow *, Ui_GUI *, Gallery *, MotorDriver *, std::vector< imageProcessor * > &) | |
| void | SetVisible (bool visible) |
| void | returnPosition (int x, int y, int z) |
Public Member Functions inherited from imageProcessor | |
| virtual void | receiveFrame (frame newFrame)=0 |
| virtual void | updateSettings (std::map< std::string, std::string >)=0 |
| virtual std::string | getParamLabel ()=0 |
| void | registerCallback (imageProcessor *cb) |
| bool | toggleEnable () |
| bool | getEnabled () |
Additional Inherited Members | |
Protected Attributes inherited from imageProcessor | |
| imageProcessor * | frameCb = nullptr |
| bool | enabled = false |
A class which handles GUI connections and functionality.
| Gui::Gui | ( | QMainWindow * | win, |
| Ui_GUI * | ui_win, | ||
| Gallery * | galleryIn, | ||
| MotorDriver * | motorsIn, | ||
| std::vector< imageProcessor * > & | blocksIn | ||
| ) |
Constructor to initialise the GUI and set connections
| win | points to QMainWindow |
| ui_win | points to Ui_GUI |
| galleryIn | points to Gallery instance |
| motorsIn | points to MotorDriver instance |
| blocksIn | is a std::vector of the image processing blocks |
|
virtual |
Function to recieve callbacks frames from image processor blocks and display in GUI and optionally pass to gallery to do captures
| newFrame | frame structure from processing block via callback interface |
Implements imageProcessor.
| void Gui::SetVisible | ( | bool | visible | ) |
Sets UI visibility
| visible | true to make visible |