Mercurial > hg > aimc
view src/Modules/Output/Graphics/GraphicsViewTime.h @ 119:9d880fb93c39
- Well, most of the graphics stuff at least compiles now. Next step is getting it running.
M Modules/Output/Graphics/GraphicsView.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h
M Modules/Output/Graphics/Scale/ScaleLog.h
M Modules/Output/Graphics/Scale/ScaleERB.h
M Modules/Output/Graphics/Scale/ScaleLinear.h
M Modules/Output/Graphics/Scale/ScaleLogScaled.h
M Modules/Output/Graphics/Scale/Scale.cc
M Modules/Output/Graphics/Scale/Scale.h
M Support/Common.h
author | tom@acousticscale.org |
---|---|
date | Sat, 16 Oct 2010 23:05:26 +0000 |
parents | 18237d55e346 |
children | 3cdaa81c3aca |
line wrap: on
line source
/*! * \file * \brief Time-representation graphics view definition * * \author Willem van Engen <cnbh@willem.engen.nl> * \date created 2006/09/26 * \version \$Id: GraphicsViewTime.h 459 2007-11-08 11:50:04Z tom $ */ /* (c) 2006, University of Cambridge, Medical Research Council * http://www.pdn.cam.ac.uk/groups/cnbh/aimmanual */ #ifndef __GRAPHICS_VIEW_TIME_H__ #define __GRAPHICS_VIEW_TIME_H__ #include "Support/SignalBank.h" #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h" #include "Modules/Output/Graphics/GraphicsView.h" namespace aimc { /*! * \class GraphicsViewTime "Output/GraphicsViewTime.h" * \brief Time-definition graphics view class * * This plots a Signal or SignalBank in the time domain. */ class GraphicsViewTime : public GraphicsView { public: /*! \brief Create a new view * \param pParam Main parameter store */ GraphicsViewTime(Parameters *pParam); virtual ~GraphicsViewTime() { }; virtual GraphicsViewTime *Clone(GraphicsOutputDevice *pDev); private: void PlotData(const vector<float> &signal, float sample_rate, float yOffset, float height, float xScale = 1.0); void PlotAxes(const vector<float> &signal); void PlotAxes(const SignalBank &pBank); }; } // namesapce aimc #endif /* __GRAPHICS_VIEW_TIME_H__ */