STIR  6.2.0
Namespaces | Functions
demo3.cxx File Reference

A modification of demo2.cxx that parses all parameters from a parameter file. More...

#include <memory>
#include "stir/recon_buildblock/BackProjectorByBinUsingProjMatrixByBin.h"
#include "stir/recon_buildblock/ProjMatrixByBinUsingRayTracing.h"
#include "stir/IO/OutputFileFormat.h"
#include "stir/IO/read_from_file.h"
#include "stir/ProjData.h"
#include "stir/DiscretisedDensity.h"
#include "stir/shared_ptr.h"
#include "stir/ParsingObject.h"
#include "stir/Succeeded.h"
#include "stir/display.h"
#include <stdio.h>

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

int main (int argc, char **argv)
 

Detailed Description

A modification of demo2.cxx that parses all parameters from a parameter file.

It illustrates

Note that the same functionality could be provided without deriving a new class from ParsingObject. One could have a KeyParser object in main() and fill it in directly.

See README.txt in the directory where this file is located.

Author
Kris Thielemans