** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: phantom.h,v 1.23 2001/02/09 14:34:16 kevin Exp $
+** $Id: phantom.h,v 1.27 2003/03/15 15:03:46 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 u() const {return m_u;}
const double v() const {return m_v;}
+ static PhmElemType convertNameToType (const char* const typeName);
+
void printDefinition (std::ostream& os) const;
void printDefinition (std::ostringstream& os) const;
static const int POINTS_PER_CIRCLE;
static const double SCALE_PELEM_EXTENT; // increase pelem limits by 0.5%
- static PhmElemType convertNameToType (const char* const typeName);
static const char* const convertTypeToName (PhmElemType iType);
void makeTransformMatrices ();
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 convertToImagefile (ImageFile& im, double dViewRatio, const int in_nsample, const int trace, const int colStart, const int colCount, bool bStoreAtColumnPos) const;
-
void convertToImagefile (ImageFile& im, double dViewRatio, const int in_nsample, const int trace) const;
+ void convertToImagefile (ImageFile& im, double dViewRatio, const int in_nsample, const int trace,
+ const int colStart, const int colCount, bool bStoreAtColumnPos) const;
+ void convertToImagefile (ImageFile& im, int iNX, double dViewRatio, const int in_nsample, const int trace,
+ const int colStart, const int colCount, int iStorageOffset) const;
void printDefinitions (std::ostream& os) const;
void printDefinitions (std::ostringstream& os) const;
const std::string& name() const {return m_name;}
const int id() const {return m_id;}
-#if HAVE_SGP
+#ifdef HAVE_SGP
void show () const;
void show (SGP& sgp) const;
void draw (SGP& sgp) const;