#include <obstDet.h>
Collaboration diagram for obstDet:

Public Member Functions | |
| obstDet (QWidget *parent=0) | |
| The default constructor. | |
Private Slots | |
| void | openFile () |
| This slot handles opening files (video/data) using a file dialog. | |
| void | about () |
| Displays the "About" dialog. | |
| void | addVideoMessage (QString *str) |
| Adds a message (string) to the text box below the video display widget. | |
| void | addTcasMessage (QString *str) |
| Adds a message (string) to the text box below the obstacle display widget(s). | |
| void | updateCaptureInt (int i) |
| void | toggleCapture (int i) |
| void | algToggle (int i) |
| void | togglePause () |
Private Member Functions | |
| void | test () |
| A utility function, it will be removed in the final release. | |
Private Attributes | |
| Ui::mainForm | mf |
| The main form. | |
| QMainWindow | w |
| An instance of QMainWindow, of which mainForm is derived from. | |
| QFileDialog | fd |
| The file dialog used when opening a file. | |
| frameServer | fs |
| An instance of a frameserver. | |
| TestAlg | tsAlg |
| Here the algorithm classes to be used are declared. | |
This class uses VisualODF and presents an application that can display captured video, plot the orientation/attitude of the aircraft, process video using sample image processing algorithms, and display threats using different types of custom threat display widgets.
Definition at line 551 of file obstDet.h.
| obstDet::obstDet | ( | QWidget * | parent = 0 |
) |
The default constructor.
| parent | Pointer to the parent widget. |
Definition at line 7 of file obstDet.cpp.
References about(), algToggle(), fs, ProcAlg::getName(), mf, openFile(), frameServer::setCaptureRate(), test(), toggleCapture(), togglePause(), tsAlg, updateCaptureInt(), and w.
| void obstDet::about | ( | ) | [private, slot] |
| void obstDet::addTcasMessage | ( | QString * | str | ) | [private, slot] |
Adds a message (string) to the text box below the obstacle display widget(s).
| str | The string to display in the message box. |
Definition at line 89 of file obstDet.cpp.
References mf.
Referenced by algToggle().
| void obstDet::addVideoMessage | ( | QString * | str | ) | [private, slot] |
Adds a message (string) to the text box below the video display widget.
| str | The string to display in the message box. |
Definition at line 84 of file obstDet.cpp.
References mf.
Referenced by algToggle(), toggleCapture(), and updateCaptureInt().
| void obstDet::algToggle | ( | int | i | ) | [private, slot] |
Definition at line 121 of file obstDet.cpp.
References addTcasMessage(), addVideoMessage(), fs, ProcAlg::getName(), mf, and tsAlg.
Referenced by obstDet().
| void obstDet::openFile | ( | ) | [private, slot] |
This slot handles opening files (video/data) using a file dialog.
Definition at line 32 of file obstDet.cpp.
References frameServer::attachSource(), fs, mf, and frameServer::togglePause().
Referenced by obstDet().
| void obstDet::test | ( | ) | [private] |
A utility function, it will be removed in the final release.
Definition at line 62 of file obstDet.cpp.
Referenced by obstDet().
QFileDialog obstDet::fd [private] |
frameServer obstDet::fs [private] |
An instance of a frameserver.
A frameserver is necessary for obtaining video frame data from a video source.
Definition at line 605 of file obstDet.h.
Referenced by algToggle(), obstDet(), openFile(), toggleCapture(), togglePause(), and updateCaptureInt().
Ui::mainForm obstDet::mf [private] |
The main form.
Definition at line 592 of file obstDet.h.
Referenced by addTcasMessage(), addVideoMessage(), algToggle(), obstDet(), and openFile().
TestAlg obstDet::tsAlg [private] |
Here the algorithm classes to be used are declared.
#- TestAlg is a simple test algorithm that receives frames fromt the frameserver, inverts the video, and signals that it has been processed. It also signals (randomly) that it has found any number of obstacles for display in any widgets that are listening.
Definition at line 614 of file obstDet.h.
Referenced by algToggle(), and obstDet().
QMainWindow obstDet::w [private] |
1.4.7