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
mitkDiffusionIOMimeTypes.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 MITKDIFFUSIONIOMIMETYPES_H
18 #define MITKDIFFUSIONIOMIMETYPES_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  // ------------------------------ VTK formats ----------------------------------
49 
51  static std::string FIBERBUNDLE_VTK_MIMETYPE_NAME();
52 
53  static std::string FIBERBUNDLE_MIMETYPE_DESCRIPTION();
54 
55  // ------------------------------ TrackVis formats ----------------------------------
56 
58  static std::string FIBERBUNDLE_TRK_MIMETYPE_NAME();
59 
60 
61  // ------------------------- Image formats (ITK based) --------------------------
62 
65  static CustomMimeType DTI_MIMETYPE(); // dti, hdti
66  static CustomMimeType QBI_MIMETYPE(); // qbi, hqbi
67 
68  static std::string DWI_NRRD_MIMETYPE_NAME();
69  static std::string DWI_NIFTI_MIMETYPE_NAME();
70  static std::string DTI_MIMETYPE_NAME();
71  static std::string QBI_MIMETYPE_NAME();
72 
73  static std::string DWI_NRRD_MIMETYPE_DESCRIPTION();
74  static std::string DWI_NIFTI_MIMETYPE_DESCRIPTION();
75  static std::string DTI_MIMETYPE_DESCRIPTION();
76  static std::string QBI_MIMETYPE_DESCRIPTION();
77 
78  // ------------------------------ MITK formats ----------------------------------
79 
80  static CustomMimeType CONNECTOMICS_MIMETYPE(); // cnf
83 
84  static std::string CONNECTOMICS_MIMETYPE_NAME();
85  static std::string CONNECTOMICS_MATRIX_MIMETYPE_NAME();
86  static std::string CONNECTOMICS_LIST_MIMETYPE_NAME();
87 
88  static std::string CONNECTOMICS_MIMETYPE_DESCRIPTION();
89 
91 
92  static std::string PLANARFIGURECOMPOSITE_MIMETYPE_NAME();
93 
94  static std::string PLANARFIGURECOMPOSITE_MIMETYPE_DESCRIPTION();
95 
96 private:
97 
98  // purposely not implemented
101 };
102 
103 }
104 
105 #endif // MITKDIFFUSIONIOMIMETYPES_H
static std::string CONNECTOMICS_MATRIX_MIMETYPE_NAME()
static CustomMimeType FIBERBUNDLE_TRK_MIMETYPE()
static std::string PLANARFIGURECOMPOSITE_MIMETYPE_NAME()
static std::string CONNECTOMICS_LIST_MIMETYPE_NAME()
static std::string CONNECTOMICS_MIMETYPE_DESCRIPTION()
static DiffusionImageNrrdMimeType DWI_NRRD_MIMETYPE()
static std::string DTI_MIMETYPE_DESCRIPTION()
static std::string FIBERBUNDLE_MIMETYPE_DESCRIPTION()
virtual bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
static CustomMimeType DTI_MIMETYPE()
static CustomMimeType CONNECTOMICS_MIMETYPE()
DataCollection - Class to facilitate loading/accessing structured data.
static std::string FIBERBUNDLE_VTK_MIMETYPE_NAME()
static std::string DWI_NRRD_MIMETYPE_NAME()
static std::string CONNECTOMICS_MIMETYPE_NAME()
static std::string QBI_MIMETYPE_NAME()
static CustomMimeType CONNECTOMICS_LIST_MIMETYPE()
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
static std::vector< CustomMimeType * > Get()
static std::string DWI_NRRD_MIMETYPE_DESCRIPTION()
static std::string DTI_MIMETYPE_NAME()
static std::string FIBERBUNDLE_TRK_MIMETYPE_NAME()
virtual DiffusionImageNrrdMimeType * Clone() const override
static std::string QBI_MIMETYPE_DESCRIPTION()
static CustomMimeType PLANARFIGURECOMPOSITE_MIMETYPE()
static std::string DWI_NIFTI_MIMETYPE_NAME()
static CustomMimeType FIBERBUNDLE_VTK_MIMETYPE()
static std::string DWI_NIFTI_MIMETYPE_DESCRIPTION()
virtual DiffusionImageNiftiMimeType * Clone() const override
static DiffusionImageNiftiMimeType DWI_NIFTI_MIMETYPE()
static CustomMimeType CONNECTOMICS_MATRIX_MIMETYPE()
virtual bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
static CustomMimeType QBI_MIMETYPE()
static std::string PLANARFIGURECOMPOSITE_MIMETYPE_DESCRIPTION()