proj home

Files   Classes   Functions   Hierarchy  

plotpolar.h

Go to the documentation of this file.
00001 #ifndef PLOTPOLAR_H
00002 #define PLOTPOLAR_H
00003 
00004 #include <vector>
00005 using namespace std;
00006 
00007 #include <point.h>
00008 #include <gobj.h>
00009 
00010 /*
00011 \brief  Plot a polar graph in 2D.
00012 
00013 Configure the state after construction.
00014 */
00015 class plotpolar : public gobjContainer
00016 {
00017   vector< point2<double> > pts;
00018 public:
00019 
00021   void adddatapointsinPolarDegrees
00022   ( 
00023     vector< point2<double> > const & p 
00024   );
00026   void adddatapointsinPolarRadians
00027   ( 
00028     vector< point2<double> > const & p 
00029   );
00030 
00033   void addpoints(uintc r, uintc g, uintc b);
00034 
00036   void addcrosses
00037   (
00038     uintc r,  
00039     uintc g, 
00040     uintc b,
00041     doublec crosshairlength
00042   );
00043 
00044 };
00045 
00046 
00047 
00048 
00049 
00050 
00051 #endif
00052 
00053 

Generated on Fri Mar 4 00:49:30 2011 for Chelton Evans Source by  doxygen 1.5.8