cellUview 1.0.0
A real-time image processing and analysis suite for digital microscopy.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Gui Class Reference

#include <gui.h>

Inheritance diagram for Gui:
imageProcessor

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
imageProcessorframeCb = nullptr
 
bool enabled = false
 

Detailed Description

A class which handles GUI connections and functionality.

Constructor & Destructor Documentation

◆ Gui()

Gui::Gui ( QMainWindow *  win,
Ui_GUI *  ui_win,
Gallery galleryIn,
MotorDriver motorsIn,
std::vector< imageProcessor * > &  blocksIn 
)

Constructor to initialise the GUI and set connections

Parameters
winpoints to QMainWindow
ui_winpoints to Ui_GUI
galleryInpoints to Gallery instance
motorsInpoints to MotorDriver instance
blocksInis a std::vector of the image processing blocks

Member Function Documentation

◆ receiveFrame()

void Gui::receiveFrame ( frame  newFrame)
virtual

Function to recieve callbacks frames from image processor blocks and display in GUI and optionally pass to gallery to do captures

Parameters
newFrameframe structure from processing block via callback interface

Implements imageProcessor.

◆ SetVisible()

void Gui::SetVisible ( bool  visible)

Sets UI visibility

Parameters
visibletrue to make visible

The documentation for this class was generated from the following files: