r473: no message
[ctsim.git] / src / ctsim.h
index 99b94b86ae6b8019fe0a111fdb940101c2efdf3b..2577849c4eecd6c78299466f6d5f2b900dd15c3e 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.h,v 1.35 2001/01/29 23:11:32 kevin Exp $
+**  $Id: ctsim.h,v 1.38 2001/01/30 10:58:13 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
@@ -59,6 +59,7 @@ class ProjectionFileDocument;
 class PhantomFileDocument;
 class PlotFileDocument;
 class TextFileDocument;
+class Graph3dFileDocument;
 
 #include <vector>
 #include "wx/docview.h"
@@ -102,6 +103,8 @@ private:
   double m_dDefaultFilterInputScale;
   double m_dDefaultFilterOutputScale;
 
+  bool m_bShuttingDown;
+
 #if CTSIM_WINHELP
   wxWinHelpController      m_winHelp;
 #endif
@@ -161,6 +164,8 @@ public:
   void OnWindowMenu19 (wxCommandEvent& event);
   
   void DoWindowMenu (int iMenuPosition, wxCommandEvent& event);
+
+  bool getShuttingDown() const { return m_bShuttingDown; }
 };
 
 
@@ -180,6 +185,7 @@ private:
   wxDocTemplate* m_pDocTemplPhantom;
   wxDocTemplate* m_pDocTemplPlot;
   wxDocTemplate* m_pDocTemplText;
+  wxDocTemplate* m_pDocTemplGraph3d;
   TextFileDocument* m_pLogDoc;
 
   void usage (const char* program);
@@ -213,6 +219,7 @@ public:
   wxDocTemplate* getDocTemplPhantom() { return m_pDocTemplPhantom; }
   wxDocTemplate* getDocTemplPlot() { return m_pDocTemplPlot; }
   wxDocTemplate* getDocTemplText() { return m_pDocTemplText; }
+  wxDocTemplate* getDocTemplGraph3d() { return m_pDocTemplGraph3d; }
   TextFileDocument* getLogDoc() { return m_pLogDoc; }
 
   ProjectionFileDocument* newProjectionDoc();
@@ -220,7 +227,7 @@ public:
   PhantomFileDocument* newPhantomDoc();
   PlotFileDocument* newPlotDoc();
   TextFileDocument* newTextDoc();
-
+  Graph3dFileDocument* newGraph3dDoc();
 };
 
 DECLARE_APP(CTSimApp)
@@ -265,6 +272,7 @@ enum {
     IFMENU_IMAGE_SUBTRACT,
     IFMENU_IMAGE_MULTIPLY,
     IFMENU_IMAGE_DIVIDE,
+    IFMENU_IMAGE_CONVERT3D,
     
     IFMENU_FILTER_INVERTVALUES,
     IFMENU_FILTER_SQRT,