r460: no message
[ctsim.git] / src / dlgreconstruct.h
index b73cf0931ed1802b909c584a9e93c666ce7bea47..6cf6ba3f3aabcb03d64dc2188941807c06188134 100644 (file)
@@ -2,14 +2,14 @@
 ** FILE IDENTIFICATION
 **
 **   Name:          dlgreconstruct.h
-**   Purpose:       Headers for Projection Collection Animation Dialog
+**   Purpose:       Headers for Reconstruction Animation Dialog
 **   Programmer:    Kevin Rosenberg
 **   Date Started:  August 2000
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: dlgreconstruct.h,v 1.1 2000/09/02 05:13:57 kevin Exp $
+**  $Id: dlgreconstruct.h,v 1.8 2001/01/28 19:10:18 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;
 
    wxButton *m_btnAbort;    // the abort button (or NULL if none)
    wxButton *m_btnPause; 
@@ -100,6 +100,11 @@ private:
    wxMemoryDC m_memoryDC;  // for restoring image on OnPaint
    wxBitmap m_bitmap;
 
+   int m_nxImage;
+   int m_nyImage;
+   int m_nxGraph;
+   int m_nyGraph;
+
    // continue processing or not (return value for Update())
    enum
    {
@@ -110,10 +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 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()
 };