The Inspector (GNU Radio module gr-inspector)
vis3d_vf_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * This is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this software; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef INCLUDED_INSPECTOR_VIS3D_VF_IMPL_H
24 #define INCLUDED_INSPECTOR_VIS3D_VF_IMPL_H
25 
26 #include <inspector/vis3d_vf.h>
27 #include "vis3d_vf_form.h"
28 #include <chrono>
29 
30 using namespace std::chrono;
31 
32 
33 namespace gr
34 {
35  namespace inspector
36  {
37 
38  class vis3d_vf_impl : public vis3d_vf
39  {
40  private:
41  QApplication *d_qApplication;
42  int width, height;
43 
44  double maxz;
45 
46  int fcount;
47 
48  int fps;
49 
50  milliseconds oldms;
51  public:
52  vis3d_vf_impl(int vlen,int width, int height,int gwidth,int gheight,double maxz, int fps,char *xaxis,char* yaxis, char *zaxis,QWidget *parent);
53  ~vis3d_vf_impl();
55  int work(int noutput_items,
56  gr_vector_const_void_star &input_items,
57  gr_vector_void_star &output_items);
58 #ifdef ENABLE_PYTHON
59  PyObject* pyqwidget();
60 #else
61  void* pyqwidget();
62 #endif
63  };
64 
65  } // namespace inspector
66 } // namespace gr
67 
68 #endif /* INCLUDED_INSPECTOR_VIS3D_VF_IMPL_H */
69 
Definition: vis3d_vf_impl.h:38
Definition: ofdm_bouzegzi_c.h:30
vis3d_vf_form * d_main_gui
Definition: vis3d_vf_impl.h:54
3D visualisation for the inspector toolkit
Definition: vis3d_vf.h:52
Definition: vis3d_vf_form.h:109