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
mitkDICOMImageFrameInfo.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 mitkDICOMImageFrameInfo_h
18 #define mitkDICOMImageFrameInfo_h
19 
20 #include "itkObjectFactory.h"
21 #include "mitkCommon.h"
22 
23 #include "MitkDICOMReaderExports.h"
24 
25 namespace mitk
26 {
35  class MITKDICOMREADER_EXPORT DICOMImageFrameInfo : public itk::LightObject
36  {
37  public:
38 
40  const std::string Filename;
42  const unsigned int FrameNo;
43 
44  mitkClassMacroItkParent( DICOMImageFrameInfo, itk::LightObject )
45 
46  itkFactorylessNewMacro( DICOMImageFrameInfo );
47  mitkNewMacro1Param( DICOMImageFrameInfo, const std::string&);
48  mitkNewMacro2Param( DICOMImageFrameInfo, const std::string&, unsigned int );
49 
50  bool operator==(const DICOMImageFrameInfo& other) const;
51 
52  protected:
53 
54  DICOMImageFrameInfo(const std::string& filename = "", unsigned int frameNo = 0);
55  };
56 
57  typedef std::vector<DICOMImageFrameInfo::Pointer> DICOMImageFrameList;
58 }
59 
60 #endif
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
const unsigned int FrameNo
frame number, starting with 0
#define MITKDICOMREADER_EXPORT
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:89
Describes a frame within a DICOM file.
const std::string Filename
absolute filename
static const std::string filename
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53