** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: threadrecon.h,v 1.4 2001/02/23 02:06:02 kevin Exp $
+** $Id: threadrecon.h,v 1.5 2001/02/23 03:28:26 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
};
+// Pure virtual class for BackgroundTasks that can communication
+// with BackgroundManager
+
class BackgroundTask : public wxEvtHandler {
private:
bool m_bDone;
class ReconstructionThread;
class ProjectionFileView;
+
class ThreadedReconstructor : public BackgroundTask {
private:
DECLARE_DYNAMIC_CLASS(ThreadedReconstructor)
- std::vector<Reconstructor*> m_vecpReconstructor;
std::vector<ImageFile*> m_vecpChildImageFile;
std::vector<ReconstructionThread*> m_vecpThread;
ProjectionFileView* m_pProjView;
int m_iThread;
public:
- ReconstructionThread (ThreadedReconstructor* pSupervisor, Reconstructor* pReconstructor,
- int iThread, int iStartView, int iNumViews);
+ ReconstructionThread (ThreadedReconstructor* pSupervisor,
+ ProjectionFileView* pProjFile, ImageFile* pImageFile,
+ int iThread, int iStartView, int iNumViews,
+ const char* pszFilterName, double dFilterParam, const char* pszFilterMethod,
+ int iZeropad, const char* pszFilterGenerationName, const char* pszInterpName, int iInterpParam,
+ const char* pszBackprojectName);
virtual wxThread::ExitCode Entry(); // thread execution starts here
#endif
+
\ No newline at end of file