** 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.2 2000/09/04 09:06:46 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
#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"
/* 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
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;
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 MAX_IMAGE_X = 400;
- const static int MAX_IMAGE_Y = 400;
+ 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()
};