X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgreconstruct.h;h=6cf6ba3f3aabcb03d64dc2188941807c06188134;hp=b73cf0931ed1802b909c584a9e93c666ce7bea47;hb=9f29c8b32c972db1178d6f8551d5cd57ceb67083;hpb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977 diff --git a/src/dlgreconstruct.h b/src/dlgreconstruct.h index b73cf09..6cf6ba3 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: 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() };