NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPNMReaderService.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkPNMReaderService_h
16 #define niftkPNMReaderService_h
17 
18 #include <mitkAbstractFileReader.h>
19 
20 namespace niftk
21 {
22 
27 class PNMReaderService : public mitk::AbstractFileReader
28 {
29 public:
30 
32  virtual ~PNMReaderService();
33 
34  virtual std::vector<itk::SmartPointer<mitk::BaseData> > Read() override;
35 
36 private:
37 
38  PNMReaderService(const PNMReaderService& other);
39  virtual PNMReaderService * Clone() const override;
40 
41  us::ServiceRegistration<mitk::IFileReader> m_ServiceReg;
42 };
43 
44 } // namespace niftk
45 
46 #endif
The PNMReaderService class.
Definition: niftkPNMReaderService.h:27
PNMReaderService()
Definition: niftkPNMReaderService.cxx:33
virtual ~PNMReaderService()
Definition: niftkPNMReaderService.cxx:49
virtual std::vector< itk::SmartPointer< mitk::BaseData > > Read() override
Definition: niftkPNMReaderService.cxx:62
Definition: niftkExceptionObject.h:21