X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fphantom.h;h=32eedf6e9f933ee8e617e19eeef89b50266c5ba9;hb=595e63c804284d460ce4d032c3848b75bc57186d;hp=21b08c40822e0ba769d53b7832fc87ff589abf95;hpb=63ddd1048df804cc73f21c1cdaf70f32324d0197;p=ctsim.git diff --git a/include/phantom.h b/include/phantom.h index 21b08c4..32eedf6 100644 --- a/include/phantom.h +++ b/include/phantom.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phantom.h,v 1.1 2000/06/19 18:45:36 kevin Exp $ +** $Id: phantom.h,v 1.2 2000/06/19 20:08:09 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 @@ -137,18 +137,20 @@ class Phantom void addPElem (const char* const composition, const double cx, const double cy, const double u, const double v, const double rot, const double atten); - void print (void) const; + void convertToImagefile (ImageFile& im, const int in_nsample, const int trace, const int colStart, const int colCount) const; + + void convertToImagefile (ImageFile& im, const int in_nsample, const int trace) const; #if HAVE_SGP void show (void) const; void draw (void) const; #endif - void std_herman (void); + void addStdHerman (void); + void addStdRowland (void); + void addStdRowlandBordered (void); - void std_rowland (void); - - void std_rowland_bordered (void); + void print (void) const; const double maxAxisLength (void) const {return (((m_xmax - m_xmin) > (m_ymax - m_ymin)) ? (m_xmax - m_xmin) : (m_ymax - m_ymin));}