X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=888b9b46716570ab00697d918d04781ce24cdfa1;hb=1ef49f39828474ed05fe69aff68d400e3b7d4044;hp=b8404bda75be20c0dfea8b9e5b9badc333e750d9;hpb=e081109a4a541c8780aaa253b874acada5957200;p=ctsim.git diff --git a/src/views.cpp b/src/views.cpp index b8404bd..888b9b4 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: views.cpp,v 1.113 2001/02/22 15:00:20 kevin Exp $ +** $Id: views.cpp,v 1.115 2001/02/23 18:56:56 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 @@ -2411,6 +2411,7 @@ ProjectionFileView::OnReconstructFBP (wxCommandEvent& event) ::wxUsleep(50); } } + pReconstructor->postProcessing(); delete pDlgReconstruct; delete pReconstructor; ImageFileDocument* pReconDoc = theApp->newImageDoc(); @@ -2433,7 +2434,7 @@ ProjectionFileView::OnReconstructFBP (wxCommandEvent& event) } else { if (theApp->getUseBackgroundTasks() || theApp->getNumberCPU() > 1) { - ThreadedReconstructor* pReconstructor = new ThreadedReconstructor (this, + ReconstructorSupervisor* pReconstructor = new ReconstructorSupervisor (this, m_iDefaultNX, m_iDefaultNY, optFilterName.c_str(), m_dDefaultFilterParam, optFilterMethodName.c_str(), m_iDefaultZeropad, optFilterGenerationName.c_str(), optInterpName.c_str(), m_iDefaultInterpParam, optBackprojectName.c_str(), os.str().c_str()); @@ -2458,6 +2459,7 @@ ProjectionFileView::OnReconstructFBP (wxCommandEvent& event) return; } } + pReconstructor->postProcessing(); delete pReconstructor; ImageFileDocument* pReconDoc = theApp->newImageDoc(); if (! pReconDoc) {