for (int iView = iStartView; iView < (iStartView + iViewCount); iView++) {
if (m_iTrace == Trace::TRACE_CONSOLE)
- std::cout <<"Reconstructing view " << iView << " (last = " << m_pProj->nView() - 1 << ")\n";
+ std::cout <<"Reconstructing view " << iView << " (last = " << m_pProj->nView() - 1 << ")\n";
const DetectorArray& rDetArray = m_pProj->getDetectorArray (iView);
const DetectorValue* detval = rDetArray.detValues();
#endif
#endif
- if (bBackprojectView)
+ if (bBackprojectView)
m_pBackprojector->BackprojectView (adFilteredProj, rDetArray.viewAngle());
#ifdef HAVE_SGP
ezplotProj.ezset (osXLength.str().c_str());
ezplotProj.ezset ("box.");
ezplotProj.ezset ("grid.");
-#if 0 // workaround c++ optimizer bug, now disabled by using /O1 in code
- double* pdDetval = new double [m_pProj->nDet()];
- for (unsigned int id = 0; id < m_pProj->nDet(); id++) {
- pdDetval[id] = detval[id];
- }
- ezplotProj.addCurve (m_adPlotXAxis, pdDetval, m_pProj->nDet());
- delete pdDetval;
-#else
ezplotProj.addCurve (m_adPlotXAxis, detval, m_pProj->nDet());
-#endif
pSGP->setTextPointSize (9);
ezplotProj.plot (pSGP);