r571: no message
[ctsim.git] / src / ctsim.h
index a2c2afa8f0ffbdca845197b330dde5d9a38d3629..9768970a97d9c20b7008cf87ce993dec8e9fd947 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.h,v 1.50 2001/02/22 00:56:50 kevin Exp $
+**  $Id: ctsim.h,v 1.51 2001/02/22 11:05:38 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
@@ -139,6 +139,7 @@ public:
   void OnHelpTips (wxCommandEvent& event);
   void OnCreatePhantom (wxCommandEvent& event);
   void OnPreferences (wxCommandEvent& event);
+  void OnLogEvent (wxCommandEvent& event);  // used by thread children
 
   void OnHelpButton (wxCommandEvent& event);
 
@@ -224,7 +225,9 @@ public:
   { return m_docManager; }
   
   wxString getUntitledFilename();
-  
+
+  int getNumberCPU() const { return wxThread::GetCPUCount(); }
+
   EZPlotDialog* makeEZPlotDialog()
   { return new EZPlotDialog (m_pFrame); }
   
@@ -277,11 +280,11 @@ enum {
     MAINMENU_HELP_SECONDARY,
 #endif
     MAINMENU_FILE_CREATE_PHANTOM,
-    
     MAINMENU_FILE_CREATE_FILTER,
     MAINMENU_FILE_EXIT,
     MAINMENU_FILE_PREFERENCES,
-    
+    MAINMENU_LOG_EVENT,
+        
     PJMENU_FILE_PROPERTIES,
     PJMENU_RECONSTRUCT_FBP,
     PJMENU_RECONSTRUCT_FOURIER,
@@ -334,7 +337,8 @@ enum {
     PHMMENU_FILE_PROPERTIES,
     PHMMENU_PROCESS_RASTERIZE,
     PHMMENU_PROCESS_PROJECTIONS,
-    
+
+    PLOTMENU_FILE_PROPERTIES,
     PLOTMENU_VIEW_SCALE_MINMAX,
     PLOTMENU_VIEW_SCALE_AUTO,
     PLOTMENU_VIEW_SCALE_FULL,    
@@ -346,6 +350,8 @@ enum {
     GRAPH3D_VIEW_SCALE_AUTO,
     GRAPH3D_VIEW_SCALE_MINMAX,
     GRAPH3D_VIEW_SCALE_FULL,
+
+    RECONSTRUCTION_THREAD_EVENT,
 };
 
 #endif