CustusX  22.04-rc2
An IGT application
SonixHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef SONIXHELPER_H_
13 #define SONIXHELPER_H_
14 
15 #include "cxGrabberExport.h"
16 
17 
18 #include <QObject>
19 #include "cxFrame.h"
20 
21 typedef cx::Frame Frame;
22 
36 class cxGrabber_EXPORT SonixHelper : public QObject
37 {
38  Q_OBJECT
39 
40 public:
41  signals:
42  void frame(Frame& newFrame);
43 
44 public:
45  void emitFrame(Frame& newFrame) {emit frame(newFrame);};
46 };
47 
52 #endif //SONIXHELPER_H_
Support Qt support for vtkSonixVideoSource.
Definition: SonixHelper.h:36
cx::Frame Frame
Definition: SonixHelper.h:21
void emitFrame(Frame &newFrame)
Definition: SonixHelper.h:45