X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgreconstruct.h;h=d7bda83275ee6af73f616130243848215b06276a;hp=fa44d89a8b640f9ed7efc29cc57d02e5141eb91a;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=484b9ac2ebf8f88dbe36bdc1d3a9c1b6a2b242eb diff --git a/src/dlgreconstruct.h b/src/dlgreconstruct.h index fa44d89..d7bda83 100644 --- a/src/dlgreconstruct.h +++ b/src/dlgreconstruct.h @@ -7,9 +7,9 @@ ** 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.3 2000/12/16 03:29:02 kevin Exp $ +** $Id$ ** ** 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 +28,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 +52,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,10 +87,10 @@ 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 @@ -120,7 +116,7 @@ private: 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() };