r315: Coverted POL to C++ class
[ctsim.git] / include / ezplot.h
index a7559da265de0bfc90bc32a5cb27117581a1d4a1..b2512aab987e21ec0aa43b3c1408b65651bf7ae7 100644 (file)
@@ -7,7 +7,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ezplot.h,v 1.21 2000/12/25 21:54:26 kevin Exp $
+**  $Id: ezplot.h,v 1.22 2000/12/27 03:16:02 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -32,7 +32,8 @@
 #include <cmath>
 #include <stddef.h>
 #include "ctsupport.h"
-#include "sgp.h"
+#include "sgp.h"\r
+#include "pol.h"
 
 
 class EZPlotCurve {
@@ -319,6 +320,7 @@ private:
   int axis_scale (double min, double max, int nint, double *minp, double *maxp, int *nintp);
   
   SGP& rSGP;
+  POL m_pol;\r
   
   void clearCurves ();
   
@@ -327,10 +329,8 @@ private:
   void bad_option(char *opt);
   void initPlotSettings();
   
-  static void initKeywords ();
-  
-  static bool ezset_initialized;
-  
+  void initKeywords ();
+   
   double convertWorldToNDC_X (double x)
   { return xgn_min + (x - xgw_min) * m_xWorldScale; }