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
mitkUSImage.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 
18 #ifndef MITKUSIMAGE_H_HEADER_INCLUDED_
19 #define MITKUSIMAGE_H_HEADER_INCLUDED_
20 
21 #include <MitkUSExports.h>
22 #include <mitkCommon.h>
23 #include <mitkImage.h>
24 #include "mitkUSImageMetadata.h"
25 
26 namespace mitk {
27 
35  class MITKUS_EXPORT USImage : public mitk::Image
36  {
37  public:
39  itkFactorylessNewMacro(Self)
40  itkCloneMacro(Self)
47 
51  mitk::USImageMetadata::Pointer GetMetadata() const;
52 
56  void SetMetadata(mitk::USImageMetadata::Pointer metadata);
57 
58 
59  protected:
63  USImage();
69  virtual ~USImage();
70 
71 
72  };
73 } // namespace mitk
74 #endif
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
This specialization of mitk::Image only appends necessary Metadata to an MITK image. Otherwise it can safely be treated like it's mother class. To generate an USImage from a standard mitkImage, call the appropriate constructor USImage(image::Pointer)
Definition: mitkUSImage.h:35
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Image class for storing images.
Definition: mitkImage.h:76