** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: threadrecon.h,v 1.8 2001/02/25 06:32:12 kevin Exp $
+** $Id: threadrecon.h,v 1.12 2001/03/05 19:14:40 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
#ifndef _THREADRECON_H
#define _THREADRECON_H
+#ifdef HAVE_WXTHREADS
+
+
#include <vector>
#include <wx/thread.h>
#include <wx/progdlg.h>
private:
std::vector<ImageFile*> m_vecpChildImageFile;
- ProjectionFileDocument* m_pProjDoc;
ProjectionFileView* m_pProjView;
+ ProjectionFileDocument* m_pProjDoc;
const int m_iImageNX;
const int m_iImageNY;
const char* const m_pszLabel;
public:
- ReconstructorSupervisor (ProjectionFileView* pProjView, int iNX, int iNY, const char* pszFilterName,
+ ReconstructorSupervisor (SupervisorThread* pMyThread, ProjectionFileView* pProjView, int iNX, int iNY, const char* pszFilterName,
double dFilterParam, const char* pszFilterMethod, int iZeropad, const char* pszFilterGenerationName,
const char* pszInterpName, int iInterpParam, const char* pszBackprojectName, const char* const pszLabel);
: BackgroundWorkerThread (pSupervisor, iThread, iStartView, iNumViews)
{}
- SetParameters (ProjectionFileView* pProjFile, ImageFile* pImageFile,
+ void SetParameters (ProjectionFileView* pProjFile, ImageFile* pImageFile,
const char* const pszFilterName, double dFilterParam, const char* const pszFilterMethod,
int iZeropad, const char* const pszFilterGenerationName, const char* const pszInterpName, int iInterpParam,
const char* pszBackprojectName);
virtual void OnExit();
};
-
-#endif
+#endif // HAVE_WXTHREADS
+#endif // _THREADRECON_H_