annotate src/Modules/Output/Graphics/GraphicsViewTime.h @ 646:e76951e4da20
Style fixes.
- Fix most lint errors found by
http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py
- Clean up commenting style.
- Alphabetize #includes and using statements.
author |
ronw@google.com |
date |
Tue, 11 Jun 2013 20:41:15 +0000 |
parents |
d609725e568a |
children |
|
rev |
line source |
tomwalters@116
|
1 /*!
|
tomwalters@116
|
2 * \file
|
tomwalters@116
|
3 * \brief Time-representation graphics view definition
|
tomwalters@116
|
4 *
|
tomwalters@116
|
5 * \author Willem van Engen <cnbh@willem.engen.nl>
|
tomwalters@116
|
6 * \date created 2006/09/26
|
tomwalters@116
|
7 * \version \$Id: GraphicsViewTime.h 459 2007-11-08 11:50:04Z tom $
|
tomwalters@116
|
8 */
|
tomwalters@116
|
9 /* (c) 2006, University of Cambridge, Medical Research Council
|
tomwalters@116
|
10 * http://www.pdn.cam.ac.uk/groups/cnbh/aimmanual
|
tomwalters@116
|
11 */
|
tomwalters@116
|
12 #ifndef __GRAPHICS_VIEW_TIME_H__
|
tomwalters@116
|
13 #define __GRAPHICS_VIEW_TIME_H__
|
tomwalters@116
|
14
|
tomwalters@116
|
15 #include "Support/SignalBank.h"
|
tom@229
|
16 #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h"
|
tom@229
|
17 #include "Modules/Output/Graphics/GraphicsView.h"
|
tomwalters@116
|
18
|
tom@229
|
19 namespace aimc {
|
tomwalters@116
|
20 /*!
|
tomwalters@116
|
21 * \class GraphicsViewTime "Output/GraphicsViewTime.h"
|
tomwalters@116
|
22 * \brief Time-definition graphics view class
|
tomwalters@116
|
23 *
|
tomwalters@116
|
24 * This plots a Signal or SignalBank in the time domain.
|
tomwalters@116
|
25 */
|
tomwalters@116
|
26 class GraphicsViewTime : public GraphicsView {
|
tomwalters@116
|
27 public:
|
tomwalters@228
|
28 /*! \brief Create a new view
|
tomwalters@228
|
29 * \param pParam Main parameter store
|
tomwalters@228
|
30 */
|
tom@229
|
31 GraphicsViewTime(Parameters *pParam);
|
tomwalters@228
|
32 virtual ~GraphicsViewTime() { };
|
tomwalters@116
|
33
|
tomwalters@228
|
34 virtual GraphicsViewTime *Clone(GraphicsOutputDevice *pDev);
|
tomwalters@116
|
35
|
tomwalters@116
|
36 private:
|
tomwalters@508
|
37 virtual void PlotData(const vector<float> &signal,
|
tomwalters@508
|
38 float sample_rate,
|
tomwalters@508
|
39 float yOffset,
|
tomwalters@508
|
40 float height,
|
tomwalters@508
|
41 float xScale = 1.0);
|
tomwalters@508
|
42 virtual void PlotStrobes(const vector<float>& signal,
|
tomwalters@508
|
43 const vector<int>& strobes,
|
tomwalters@508
|
44 float sample_rate,
|
tomwalters@508
|
45 float y_offset,
|
tomwalters@508
|
46 float height,
|
tomwalters@508
|
47 float x_scale,
|
tomwalters@508
|
48 float diameter);
|
tomwalters@508
|
49 virtual void PlotAxes(const SignalBank &pBank);
|
tomwalters@116
|
50 };
|
tom@229
|
51 } // namesapce aimc
|
tomwalters@116
|
52 #endif /* __GRAPHICS_VIEW_TIME_H__ */
|