X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fphantom.cpp;h=8d02d1115865e206c90e49e28f58f4ab8d518b33;hb=d5a70ac05a479dfb99571bcba4069008d0f3697a;hp=dff1d0ee6bcc137ab1257d31d828921ffc937f96;hpb=432ba2c487a5320352f14bdd2cce008fccef6902;p=ctsim.git diff --git a/libctsim/phantom.cpp b/libctsim/phantom.cpp index dff1d0e..8d02d11 100644 --- a/libctsim/phantom.cpp +++ b/libctsim/phantom.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: phantom.cpp,v 1.30 2001/02/27 03:59:30 kevin Exp $ +** $Id: phantom.cpp,v 1.32 2002/05/28 18:43:16 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 @@ -28,7 +28,8 @@ #include "ct.h" const int PhantomElement::POINTS_PER_CIRCLE = 360; -const double PhantomElement::SCALE_PELEM_EXTENT=0.005; // increase pelem limits by 0.5% +const double PhantomElement::SCALE_PELEM_EXTENT=0.000; // increase pelem limits by 0.5% +//const double PhantomElement::SCALE_PELEM_EXTENT=0.005; // increase pelem limits by 0.5% const int Phantom::PHM_INVALID = -1; const int Phantom::PHM_HERMAN = 0; @@ -216,7 +217,7 @@ Phantom::createFromFile (const char* const fname) bool Phantom::fileWrite (const char* const fname) { - fstream file (fname, ios::out); + fstream file (fname, std::ios::out); if (! file.fail()) printDefinitions (file);