Mercurial > hg > ambi-plugin
annotate 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 |
rev | line source |
---|---|
martin@0 | 1 // |
martin@0 | 2 // MyPlot.h |
martin@12 | 3 // ClassicAmbiDec |
martin@0 | 4 // |
martin@0 | 5 // Created by Martin Morrell on 25/06/2012. |
martin@0 | 6 // Copyright (c) 2012 __MyCompanyName__. All rights reserved. |
martin@0 | 7 // |
martin@0 | 8 |
martin@0 | 9 |
martin@0 | 10 // include VSTGUI |
martin@0 | 11 #ifndef __vstgui__ |
martin@0 | 12 #include "vstgui.h" |
martin@0 | 13 #endif |
martin@12 | 14 #define gFactor 20//Scales the gain for use in the plot |
martin@0 | 15 |
martin@0 | 16 |
martin@7 | 17 class polarPlot : public CView |
martin@0 | 18 { |
martin@0 | 19 public: |
martin@8 | 20 //Constructor |
martin@7 | 21 polarPlot(const CRect &size); |
martin@7 | 22 |
martin@8 | 23 //Variables |
martin@7 | 24 int stereo_mode; |
martin@7 | 25 double pattern; |
martin@7 | 26 double width; |
martin@8 | 27 double centre_pattern; |
martin@8 | 28 double centre_gain; |
martin@8 | 29 int surround_mode; |
martin@8 | 30 double surround_pattern; |
martin@8 | 31 double surround_width; |
martin@8 | 32 double surround_gain; |
martin@8 | 33 int decoder_mode; |
martin@9 | 34 int decoder_prev; |
martin@9 | 35 int decoder_mode5x; |
martin@7 | 36 |
martin@8 | 37 //Functions |
martin@8 | 38 void draw (CDrawContext* context); |
martin@8 | 39 void circle(CDrawContext* context); |
martin@8 | 40 void leftMicPattern(CDrawContext* context); |
martin@8 | 41 void rightMicPattern(CDrawContext* context); |
martin@8 | 42 void centreMicPattern(CDrawContext* context); |
martin@8 | 43 void lsMicPattern(CDrawContext* context); |
martin@8 | 44 void rsMicPattern(CDrawContext* context); |
martin@9 | 45 void heller1Pattern(CDrawContext* context); |
martin@9 | 46 void heller2Pattern(CDrawContext* context); |
martin@7 | 47 |
martin@7 | 48 protected: |
martin@0 | 49 }; |