** 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
#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;
+ 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
{
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()
};