r354: Added Projection Polar conversions
[ctsim.git] / src / views.h
index 4463689350a0c146bef7d14e18f8881c4317a3dc..7ca2e62d739fe46d7b9f1c88582b1813ee2a1713 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: views.h,v 1.24 2001/01/03 22:00:46 kevin Exp $
+**  $Id: views.h,v 1.25 2001/01/04 21:28:41 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
@@ -87,7 +87,7 @@ public:
   void OnShuffleNaturalToFourierOrder (wxCommandEvent& event);
   void OnShuffleFourierToNaturalOrder (wxCommandEvent& event);
   
-#ifdef HAVE_FFTW
+#ifdef HAVE_FFT
   void OnFFT (wxCommandEvent& event);
   void OnIFFT (wxCommandEvent& event);
 #endif
@@ -97,6 +97,7 @@ public:
   
   void OnScaleAuto (wxCommandEvent& event);
   void OnScaleMinMax (wxCommandEvent& event);
+  void OnScaleFull (wxCommandEvent& event);
   void OnPlotRow (wxCommandEvent& event);
   void OnPlotCol (wxCommandEvent& event);
   void OnPlotHistogram (wxCommandEvent& event);
@@ -159,6 +160,11 @@ private:
   int m_iDefaultBackprojector;
   int m_iDefaultTrace;
   
+  int m_iDefaultPolarNX;
+  int m_iDefaultPolarNY;
+  int m_iDefaultPolarInterpolation;
+  int m_iDefaultPolarZeropad;
+
 public:
   ProjectionFileView(void);
   virtual ~ProjectionFileView(void);
@@ -266,9 +272,11 @@ public:
   void OnDraw(wxDC* dc);
   void OnUpdate(wxView *sender, wxObject *hint = NULL);
   bool OnClose (bool deleteWindow = true);
+
   void OnProperties (wxCommandEvent& event);
-  void OnScaleAuto (wxCommandEvent& event);
   void OnScaleMinMax (wxCommandEvent& event);
+  void OnScaleAuto (wxCommandEvent& event);
+  void OnScaleFull (wxCommandEvent& event);
   
   wxFrame* getFrame ()
   { return m_frame; }