MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkIGTMimeTypes.cpp
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13// MITK
14#include "mitkIGTMimeTypes.h"
15
17{
18 mitk::CustomMimeType mimeType(IOMimeTypes::DEFAULT_BASE_NAME() + ".NavigationDataSet.xml");
19 std::string category = "NavigationDataSet";
20 mimeType.SetComment("NavigationDataSet (XML)");
21 mimeType.SetCategory(category);
22 mimeType.AddExtension("xml");
23 return mimeType;
24}
25
27{
28 mitk::CustomMimeType mimeType(IOMimeTypes::DEFAULT_BASE_NAME() + ".NavigationDataSet.csv");
29 std::string category = "NavigationDataSet";
30 mimeType.SetComment("NavigationDataSet (csv)");
31 mimeType.SetCategory(category);
32 mimeType.AddExtension("csv");
33 return mimeType;
34}
35
37{
38 mitk::CustomMimeType mimeType(IOMimeTypes::DEFAULT_BASE_NAME() + ".USDeviceInformation.xml");
39 std::string category = "USDeviceInformation";
40 mimeType.SetComment("USDeviceInformation (XML)");
41 mimeType.SetCategory(category);
42 mimeType.AddExtension("xml");
43 return mimeType;
44}
static CustomMimeType USDEVICEINFORMATIONXML_MIMETYPE()
static CustomMimeType NAVIGATIONDATASETXML_MIMETYPE()
static CustomMimeType NAVIGATIONDATASETCSV_MIMETYPE()