X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fthreadproj.h;h=805718e49602a1336733bcaa37d8c41a4b13c51d;hp=f5c565b3c035d0283225f369533c4d62621d8c2d;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=c8b19dfaffba9f06d8b6c40cb1bb83a8964867f7 diff --git a/src/threadproj.h b/src/threadproj.h index f5c565b..805718e 100644 --- a/src/threadproj.h +++ b/src/threadproj.h @@ -59,7 +59,7 @@ private: const std::string m_strLabel; public: - ProjectorSupervisorThread(PhantomFileView* pProjView, int iNDet, int iNView, int iOffsetView, + 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); @@ -77,7 +77,7 @@ private: PhantomFileView* m_pPhantomView; PhantomFileDocument* m_pPhantomDoc; Scanner* m_pScanner; - + const int m_iNDet; const int m_iNView; const int m_iOffsetView; @@ -127,11 +127,11 @@ private: public: - ProjectorWorker (ProjectorSupervisor* pSupervisor, int iThread, int iStartView, int iNumViews) + ProjectorWorker (ProjectorSupervisor* pSupervisor, int iThread, int iStartView, int iNumViews) : BackgroundWorkerThread (pSupervisor, iThread, iStartView, iNumViews) {} - - void SetParameters (PhantomFileView* pPhantomFile, Projections* pProjections, Scanner* pScanner, + + void SetParameters (PhantomFileView* pPhantomFile, Projections* pProjections, Scanner* pScanner, int iNDet, int iView, int iOffsetView, const char* const pszGeometry, int iNSample, double dRotation, double dFocalLength, double dCenterDetectorLength, double dViewRatio, double dScanRatio); @@ -144,4 +144,4 @@ public: #endif // HAVE_WXTHREADS #endif // _THREADPROJ_H_ - +