** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phantom.h,v 1.18 2001/01/02 05:33:37 kevin Exp $
+** $Id: phantom.h,v 1.19 2001/01/02 07:47:36 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
const double v() const {return m_v;}\r
\r
void printDefinition (std::ostream& os) const;
+ void printDefinition (std::ostringstream& os) const;
private:
PhmElemType m_type; // pelem type (box, ellipse, etc)
void convertToImagefile (ImageFile& im, const int in_nsample, const int trace) const;
\r
void printDefinitions (std::ostream& os) const;\r
+ void printDefinitions (std::ostringstream& os) const;\r
bool fail() const {return m_fail;}
const std::string& failMessage() const {return m_failMessage;}
void addStdSheppLoganBordered ();
void print (std::ostream& os) const;
+ void print (std::ostringstream& os) const;
const double maxAxisLength () const {return (((m_xmax - m_xmin) > (m_ymax - m_ymin)) ? (m_xmax - m_xmin) : (m_ymax - m_ymin));}