Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUSImageMetadata.cpp
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 #include "mitkUSImageMetadata.h"
18 
19 const char* mitk::USImageMetadata::PROP_DEV_MANUFACTURER = "US.Device.Manufacturer";
20 const char* mitk::USImageMetadata::PROP_DEV_MODEL = "US.Device.Model";
21 const char* mitk::USImageMetadata::PROP_DEV_COMMENT = "US.Device.Comment";
22 const char* mitk::USImageMetadata::PROP_DEV_ISCALIBRATED = "US.Device.IsCalibrated";
23 const char* mitk::USImageMetadata::PROP_DEV_ISVIDEOONLY = "US.Device.VideoOnly";
24 const char* mitk::USImageMetadata::PROP_PROBE_NAME = "US.Probe.Name";
25 const char* mitk::USImageMetadata::PROP_PROBE_FREQUENCY = "US.Probe.Frequency";
26 const char* mitk::USImageMetadata::PROP_ZOOM = "US.Zoom.Factor";
27 const char* mitk::USImageMetadata::PROP_DEVICE_CLASS = "org.mitk.modules.us.USVideoDevice";
28 
30 {
31  // Set Default Values
32  this->SetDeviceComment("None");
33  this->SetDeviceIsVideoOnly(true);
34  this->SetDeviceManufacturer("Unknown Manufacturer");
35  this->SetDeviceModel("Unknown Model");
36  this->SetProbeFrequency("Unknown Frequency");
37  this->SetProbeName("Unknown Probe");
38  this->SetZoom("Unknown Zoom Factor");
39  m_DeviceIsCalibrated = false;
40 }
41 
43 {
44 }
virtual void SetDeviceManufacturer(std::string _arg)
static const char * PROP_DEV_MODEL
virtual void SetZoom(std::string _arg)
virtual void SetDeviceModel(std::string _arg)
static const char * PROP_DEVICE_CLASS
USImageMetadata()
Creates a new metadata object with all fields set to default values.
virtual void SetProbeFrequency(std::string _arg)
static const char * PROP_PROBE_FREQUENCY
static const char * PROP_PROBE_NAME
static const char * PROP_DEV_ISVIDEOONLY
virtual void SetProbeName(std::string _arg)
virtual void SetDeviceIsVideoOnly(bool _arg)
static const char * PROP_DEV_ISCALIBRATED
static const char * PROP_DEV_COMMENT
static const char * PROP_DEV_MANUFACTURER
static const char * PROP_ZOOM
virtual void SetDeviceComment(std::string _arg)