r311: image comparison functions
[ctsim.git] / src / dlgreconstruct.h
index 0a4f7a64786ce4dc08cb5176e91fe25d02f76be9..8ff6cb2a138ca87a2eb161df71f137b17772875b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dlgreconstruct.h,v 1.2 2000/09/04 09:06:46 kevin Exp $
+**  $Id: dlgreconstruct.h,v 1.6 2000/12/18 06:32: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
@@ -56,7 +56,7 @@ public:
    /* Perform projection on view number
        return true if ABORT button has not been pressed
    */
-   bool reconstructView (int iViewNumber);
+   bool reconstructView (int iViewNumber, bool bBackproject = true);
 
    /* Can be called to continue after the cancel button has been pressed, but
        the program decided to continue the operation (e.g., user didn't
@@ -91,7 +91,7 @@ private:
    SGPDriver* m_pSGPDriver;
    SGP* m_pSGP;
    const int m_iTrace;
-   wxMemoryDC* m_pDC;
+   wxDC* m_pDC;\r
 
    wxButton *m_btnAbort;    // the abort button (or NULL if none)
    wxButton *m_btnPause; 
@@ -115,12 +115,12 @@ private:
       Finished             // finished, waiting to be removed from screen
    } m_state;
 
-   const static int ID_BTN_PAUSE = 19998;
-   const static int ID_BTN_STEP = 19999;
-   const static int MAX_IMAGE_X = 400;
-   const static int MAX_IMAGE_Y = 400;
+   const static int ID_BTN_PAUSE;
+   const static int ID_BTN_STEP;
+   const static int MAX_IMAGE_X;
+   const static int MAX_IMAGE_Y;
 
-   void showView (int iViewNumber);
+   void showView (int iViewNumber, bool bBackprojectView = true);
 
    DECLARE_EVENT_TABLE()
 };