r355: Polar conversions of projections
[ctsim.git] / src / ctsim.h
index e1055babb1c7872eec19c942ea61c90ca201ab21..9093b9b2c4e9df3cb24cf3823d2f7e0fbddbf6f9 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsim.h,v 1.21 2001/01/04 21:28:41 kevin Exp $
+**  $Id: ctsim.h,v 1.22 2001/01/06 15:33:15 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
 #include <dmalloc.h>
 #endif
 
+#ifdef MSVC
+// #define CTSIM_MDI 1
+#endif
+
+
 class wxMenu;
 class wxDocument;
 
@@ -47,7 +52,11 @@ class ImageFileDocument;
 
 
 // Define a new frame for main window
+#if CTSIM_MDI
+class MainFrame: public wxMDIParentFrame
+#else
 class MainFrame: public wxDocParentFrame
+#endif
 {
     DECLARE_CLASS(MainFrame)
 private:
@@ -156,14 +165,13 @@ extern class CTSimApp* theApp;
 
 enum {
   MAINMENU_HELP_ABOUT = 500,
+  MAINMENU_WINDOW_BASE,
   MAINMENU_HELP_CONTENTS,
   MAINMENU_FILE_CREATE_PHANTOM,
 
   MAINMENU_FILE_CREATE_FILTER,
   MAINMENU_FILE_EXIT,
 
-  IFMENU_FILE_PROPERTIES,
-
   PJMENU_FILE_PROPERTIES,
   PJMENU_RECONSTRUCT_FBP,
   PJMENU_RECONSTRUCT_FOURIER,
@@ -171,9 +179,12 @@ enum {
   PJMENU_CONVERT_FFT_POLAR,
 
   IFMENU_FILE_EXPORT,
+  IFMENU_FILE_PROPERTIES,
 
        IFMENU_PLOT_ROW,
        IFMENU_PLOT_COL,
+       IFMENU_PLOT_FFT_ROW,
+       IFMENU_PLOT_FFT_COL,
   IFMENU_PLOT_HISTOGRAM,
 
   IFMENU_VIEW_SCALE_AUTO,
@@ -198,6 +209,10 @@ enum {
   IFMENU_FILTER_INVERSE_FOURIER,
   IFMENU_FILTER_FFT,
   IFMENU_FILTER_IFFT,
+  IFMENU_FILTER_FFT_ROWS,
+  IFMENU_FILTER_FFT_COLS,
+  IFMENU_FILTER_IFFT_ROWS,
+  IFMENU_FILTER_IFFT_COLS,
   IFMENU_FILTER_MAGNITUDE,
   IFMENU_FILTER_PHASE,
   IFMENU_FILTER_SHUFFLENATURALTOFOURIERORDER,
@@ -210,7 +225,7 @@ enum {
        PLOTMENU_VIEW_SCALE_MINMAX,
        PLOTMENU_VIEW_SCALE_AUTO,
        PLOTMENU_VIEW_SCALE_FULL,
-  MAINMENU_WINDOW_BASE,
+
 };
 
 #endif