20 #ifndef LIVEFITWINDOW_HPP 21 #define LIVEFITWINDOW_HPP 23 #include "FrameConverter.hpp" 24 #include "TrackingStream.hpp" 27 #include <QMainWindow> 30 #include <ui_LiveFitWindow.h> 43 void chooseVideoFile();
45 void displayVideoStream();
102 void on_actionFind_Projector_Window_triggered();
106 Ui::liveFitWindow
ui;
122 #endif // LIVEFITWINDOW_HPP void on_action_Open_triggered()
Called when the Open action is triggered (ie file>open)
Definition: LiveFitWindow.cpp:360
void startCamera0()
Equivalent to startStream(0)
Definition: LiveFitWindow.cpp:193
void populateCameraMenu()
Populate the file>camera menu.
Definition: LiveFitWindow.cpp:136
void readSettings()
Read in this application's QSettings.
Definition: LiveFitWindow.cpp:270
void setupCamera()
Set up the video stream and the converter, as well as requisite signals.
Definition: LiveFitWindow.cpp:28
FrameConverter mFrameConverter
The FrameConverter which takes incoming frames from the stream and converts them into QImages to be s...
Definition: LiveFitWindow.hpp:113
void on_pauseButton_clicked()
Called when the pauseButton is clicked.
Definition: LiveFitWindow.cpp:355
void writeSettings()
Write this application's QSettings.
Definition: LiveFitWindow.cpp:220
QSize mVideoSize
Pixel size of the video stream.
Definition: LiveFitWindow.hpp:39
The window which manages all logic for the LiveFit application.
Definition: LiveFitWindow.hpp:35
void startStream(char *videoFile)
Start a new stream with video from videoFile.
Definition: LiveFitWindow.cpp:181
void closeEvent(QCloseEvent *ev)
Called when this window is closed; destruct all necessary objects and close streams, etc cleanly.
Definition: LiveFitWindow.cpp:342
TrackingStream mTrackingStream
The TrackingStream object which manages the current video stream and tracking.
Definition: LiveFitWindow.hpp:110
Ui::liveFitWindow ui
This window's QDesigner ui, LiveFitWindow.ui.
Definition: LiveFitWindow.hpp:106
LiveFitWindow(QWidget *parent=0)
Default constructor; default to webcam 0.
Definition: LiveFitWindow.cpp:159
QThread mStreamThread
A QThread for the video stream.
Definition: LiveFitWindow.hpp:116
void setupSignalConnections()
Set up the ProjectorWindow which displays information to the class.
Definition: LiveFitWindow.cpp:48
void sendCameraAction(QAction *)
Handle a camera-related QAction, like those in file>camera.
Definition: LiveFitWindow.cpp:206
An object which owns some sort of input video stream, manages running it (and any tracking...
Definition: TrackingStream.hpp:47
void startCamera2()
Equivalent to startStream(2)
Definition: LiveFitWindow.cpp:201
QThread mConverterThread
A QThread for the video converter.
Definition: LiveFitWindow.hpp:118
void startCamera1()
Equivalent to startStream(1)
Definition: LiveFitWindow.cpp:197
Recieves frames (as cv::Mat), processes them (ideally asynchronously) and emits them as a QImage (i...
Definition: FrameConverter.hpp:35