Mercurial > hg > ambi-plugin
view Source/MyPlot.h @ 13:989865d55c73 tip
Commit.
author | martinm_home <martin.morrell@eecs.qmul.ac.uk> |
---|---|
date | Thu, 27 Sep 2012 23:30:29 +0100 |
parents | 87dc3d84c120 |
children |
line wrap: on
line source
// // MyPlot.h // ClassicAmbiDec // // Created by Martin Morrell on 25/06/2012. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // // include VSTGUI #ifndef __vstgui__ #include "vstgui.h" #endif #define gFactor 20//Scales the gain for use in the plot class polarPlot : public CView { public: //Constructor polarPlot(const CRect &size); //Variables int stereo_mode; double pattern; double width; double centre_pattern; double centre_gain; int surround_mode; double surround_pattern; double surround_width; double surround_gain; int decoder_mode; int decoder_prev; int decoder_mode5x; //Functions void draw (CDrawContext* context); void circle(CDrawContext* context); void leftMicPattern(CDrawContext* context); void rightMicPattern(CDrawContext* context); void centreMicPattern(CDrawContext* context); void lsMicPattern(CDrawContext* context); void rsMicPattern(CDrawContext* context); void heller1Pattern(CDrawContext* context); void heller2Pattern(CDrawContext* context); protected: };