diff options
author | Daniel M. Pelt <D.M.Pelt@cwi.nl> | 2015-03-10 15:11:15 +0100 |
---|---|---|
committer | Daniel M. Pelt <D.M.Pelt@cwi.nl> | 2015-03-10 15:11:15 +0100 |
commit | 150951875c236f95a64fd132c26576bd19daca80 (patch) | |
tree | ecafe5eed21bc15e577be9cb16702d1e03d31162 /src/ConeProjectionGeometry3D.cpp | |
parent | 535564ccd8b9563fb52be0dff247b99495942f51 (diff) | |
download | astra-150951875c236f95a64fd132c26576bd19daca80.tar.gz astra-150951875c236f95a64fd132c26576bd19daca80.tar.bz2 astra-150951875c236f95a64fd132c26576bd19daca80.tar.xz astra-150951875c236f95a64fd132c26576bd19daca80.zip |
Use new logging API internally instead of printf / iostream
Diffstat (limited to 'src/ConeProjectionGeometry3D.cpp')
-rw-r--r-- | src/ConeProjectionGeometry3D.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ConeProjectionGeometry3D.cpp b/src/ConeProjectionGeometry3D.cpp index eb9adcf..13f147b 100644 --- a/src/ConeProjectionGeometry3D.cpp +++ b/src/ConeProjectionGeometry3D.cpp @@ -28,6 +28,8 @@ $Id$ #include "astra/ConeProjectionGeometry3D.h" +#include "astra/Logging.h" + #include <boost/lexical_cast.hpp> #include <cstring> @@ -257,7 +259,7 @@ void CConeProjectionGeometry3D::projectPoint(float32 fX, float32 fY, float32 fZ, // Scale fS to detector plane fU = detectorOffsetXToColIndexFloat( (fS * (m_fOriginSourceDistance + m_fOriginDetectorDistance)) / fD ); - fprintf(stderr, "alpha: %f, D: %f, V: %f, S: %f, U: %f\n", alpha, fD, fV, fS, fU); + astra::CLogger::debug(__FILE__,__LINE__,"alpha: %f, D: %f, V: %f, S: %f, U: %f", alpha, fD, fV, fS, fU); } |