view Source/MyPlot.h @ 7:f7ec6d983ec0

Begins of the polar plot.
author martinm_home <martin.morrell@eecs.qmul.ac.uk>
date Sat, 15 Sep 2012 15:07:00 +0100
parents 503cbcdd0b2a
children d967dd1eafe8
line wrap: on
line source
//
//  MyPlot.h
//  SoundField
//
//  Created by Martin Morrell on 25/06/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

//#ifndef SoundField_MyPlot_h
//#define SoundField_MyPlot_h


// include VSTGUI
#ifndef __vstgui__
#include "vstgui.h"
#endif
//#define PLOT_OFFSET  75



class polarPlot : public CView
{
public:
    
    polarPlot(const CRect &size);
    
    int     stereo_mode;
    double  pattern;
    double  width;
    
    
    void draw (CDrawContext* context);
    void circle(CDrawContext* context);
    void leftMicPattern(CDrawContext* context);
    void rightMicPattern(CDrawContext* context);
    
    
        
    //void setBackgroundColour (const CColor& c) { backgroundColour = c; }
    //void setPoint (CPoint& p) { myPoint = p; }
    
    
protected:
	//CColor backgroundColour;
    //CPoint myPoint;
};