** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: threadproj.h,v 1.4 2001/03/01 07:30:49 kevin Exp $
+** $Id: threadproj.h,v 1.7 2001/09/24 09:40:42 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 _THREADPROJ_H
#define _THREADPROJ_H
+#ifdef HAVE_WXTHREADS
+
#include <vector>
#include <wx/thread.h>
#include <wx/progdlg.h>
PhantomFileView* m_pPhantomView;
const int m_iNDet;
const int m_iNView;
+ const int m_iOffsetView;
const std::string m_strGeometry;
const int m_iNSample;
const double m_dRotation;
const std::string m_strLabel;
public:
- ProjectorSupervisorThread(PhantomFileView* pProjView, int iNDet, int iNView,
+ ProjectorSupervisorThread(PhantomFileView* pProjView, int iNDet, int iNView, int iOffsetView,
const char* pszGeometry, int iNSample, double dRotation, double dFocalLength, double dCenterDetectorLength,
double dViewRatio, double dScanRatio, const char* const pszLabel);
private:
std::vector<Projections*> m_vecpChildProjections;
- PhantomFileDocument* m_pPhantomDoc;
PhantomFileView* m_pPhantomView;
+ PhantomFileDocument* m_pPhantomDoc;
Scanner* m_pScanner;
const int m_iNDet;
const int m_iNView;
+ const int m_iOffsetView;
const char* const m_pszGeometry;
const int m_iNSample;
const double m_dRotation;
public:
- ProjectorSupervisor (SupervisorThread* pThread, PhantomFileView* pProjView, int iNDet, int iNView,
+ ProjectorSupervisor (SupervisorThread* pThread, PhantomFileView* pProjView, int iNDet, int iNView, int iOffsetView,
const char* pszGeometry, int iNSample, double dRotation, double dFocalLength, double dCenterDetectorLength,
double dViewRatio, double dScanRatio, const char* const pszLabel);
Scanner* m_pScanner;
int m_iNDet;
int m_iNView;
+ int m_iOffsetView;
const char* m_pszGeometry;
int m_iNSample;
double m_dRotation;
{}
void SetParameters (PhantomFileView* pPhantomFile, Projections* pProjections, Scanner* pScanner,
- int iNDet, int iView,
+ int iNDet, int iView, int iOffsetView,
const char* const pszGeometry, int iNSample, double dRotation, double dFocalLength, double dCenterDetectorLength,
double dViewRatio, double dScanRatio);
};
-#endif
+#endif // HAVE_WXTHREADS
+#endif // _THREADPROJ_H_