** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: projections.h,v 1.15 2000/12/04 05:36:57 kevin Exp $
+** $Id: projections.h,v 1.17 2000/12/16 03:29:02 kevin Exp $
**
**
** This program is free software; you can redistribute it and/or modify
class Scanner;
class DetectorArray;
class Array2dFileLabel;
-\r
-#include <sstream>\r
// Projections
void initFromScanner (const Scanner& scanner);
+ void printProjectionData (int startView, int endView);
void printProjectionData ();
void printScanInfo (ostringstream& os) const;
const DetectorArray& getDetectorArray (const int iview) const
{ return (*m_projData[iview]); }
+
+ static bool copyHeader (const char* const filename, std::ostream& os);
+ static bool copyHeader (const string& filename, std::ostream& os);
+
+ static bool copyViewData (const char* const filename, std::ostream& os, int startView, int endView);
+ static bool copyViewData (const string& filename, std::ostream& os, int startView, int endView);
private:
int m_headerSize; // Size of disk file header
const static kuint16 m_signature;
- bool headerRead ();
- bool headerWrite ();
- bool headerRead (fnetorderstream& fs);
bool headerWrite (fnetorderstream& fs);
+ bool headerRead (fnetorderstream& fs);
void newProjData ();
void deleteProjData ();