X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgreconstruct.h;h=b0552443ddddba3b30f7600e78ca37deda67685a;hb=a2bb680d159717dbd81e3ad179cb28adbf3a3e9a;hp=b73cf0931ed1802b909c584a9e93c666ce7bea47;hpb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977;p=ctsim.git diff --git a/src/dlgreconstruct.h b/src/dlgreconstruct.h index b73cf09..b055244 100644 --- a/src/dlgreconstruct.h +++ b/src/dlgreconstruct.h @@ -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$ ** ** 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,7 +87,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 +96,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 +111,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() };