NAG C++ classes for Hyperspectral Imaging  0.1
SpecImageFactory.hpp
Go to the documentation of this file.
1 /*
2  NAG Copyright 2016.
3 */
4 #ifndef SPECIMAGEFACTORY_HPP
5 #define SPECIMAGEFACTORY_HPP
6 #include "SpecImage.hpp"
7 #include <memory>
8 
9 namespace nag
10 {
15  template<class FPType> class SpecImageFactory
16  {
17  public:
97  static SpecImage<FPType> *NewSpecImage(const std::string& config);
98  };
99 }
100 #endif
Base class representing a spectral image.
Definition: SpecImage.hpp:496
Overall namespace for the NAG C++ Hyperspectral Imaging Library.
Definition: MALDISpecImage.hpp:12
static SpecImage< FPType > * NewSpecImage(const std::string &config)
Static factory function to return an object of the type decided by the contents of a configuration fi...
This class contains a function which reads in a configuration file and creates a new nag::SIMSpecImag...
Definition: SpecImageFactory.hpp:15