Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkDiffusionCoreIOMimeTypes.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKDiffusionCoreIOMimeTypes_H
18 #define MITKDiffusionCoreIOMimeTypes_H
19 
20 #include "mitkCustomMimeType.h"
21 
22 #include <string>
23 
24 namespace mitk {
25 
27 {
28 public:
29 
31  {
32  public:
34  virtual bool AppliesTo(const std::string &path) const override;
35  virtual DiffusionImageNrrdMimeType* Clone() const override;
36  };
37 
39  {
40  public:
42  virtual bool AppliesTo(const std::string &path) const override;
43  virtual DiffusionImageNiftiMimeType* Clone() const override;
44  };
45  // Get all Diffusion Mime Types
46  static std::vector<CustomMimeType*> Get();
47 
48  // ------------------------- Image formats (ITK based) --------------------------
49 
52  static CustomMimeType DTI_MIMETYPE(); // dti, hdti
53  static CustomMimeType QBI_MIMETYPE(); // qbi, hqbi
54 
55  static std::string DWI_NRRD_MIMETYPE_NAME();
56  static std::string DWI_NIFTI_MIMETYPE_NAME();
57  static std::string DTI_MIMETYPE_NAME();
58  static std::string QBI_MIMETYPE_NAME();
59 
60  static std::string DWI_NRRD_MIMETYPE_DESCRIPTION();
61  static std::string DWI_NIFTI_MIMETYPE_DESCRIPTION();
62  static std::string DTI_MIMETYPE_DESCRIPTION();
63  static std::string QBI_MIMETYPE_DESCRIPTION();
64 
65 private:
66 
67  // purposely not implemented
70 };
71 
72 }
73 
74 #endif // MITKDiffusionCoreIOMimeTypes_H
static DiffusionImageNrrdMimeType DWI_NRRD_MIMETYPE()
DataCollection - Class to facilitate loading/accessing structured data.
virtual bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
virtual bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
virtual DiffusionImageNiftiMimeType * Clone() const override
static std::vector< CustomMimeType * > Get()
virtual DiffusionImageNrrdMimeType * Clone() const override
static DiffusionImageNiftiMimeType DWI_NIFTI_MIMETYPE()