X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgreconstruct.h;h=91f1790f0592723162e28fb1ef92ca195a888d9b;hp=b73cf0931ed1802b909c584a9e93c666ce7bea47;hb=9ac3b88884957e2c07bf365c2503c6c1fbeaa60e;hpb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977 diff --git a/src/dlgreconstruct.h b/src/dlgreconstruct.h index b73cf09..91f1790 100644 --- a/src/dlgreconstruct.h +++ b/src/dlgreconstruct.h @@ -2,14 +2,12 @@ ** 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 -** -** $Id: dlgreconstruct.h,v 1.1 2000/09/02 05:13:57 kevin Exp $ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** 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 @@ -28,10 +26,6 @@ #ifndef __DLGRECONSTRUCT_H_ #define __DLGRECONSTRUCT_H_ -#ifdef __GNUG__ -#pragma interface "dlgreconstruct.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" #include "wx/dcmemory.h" @@ -56,7 +50,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,15 +85,20 @@ 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; + wxButton *m_btnPause; wxButton *m_btnStep; 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 +109,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() };