Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkDICOMImageFrameInfo_h
14 #define mitkDICOMImageFrameInfo_h
15 
16 #include "itkObjectFactory.h"
17 #include "mitkCommon.h"
18 
19 #include "MitkDICOMReaderExports.h"
20 
21 namespace mitk
22 {
31  class MITKDICOMREADER_EXPORT DICOMImageFrameInfo : public itk::LightObject
32  {
33  public:
34 
36  const std::string Filename;
38  const unsigned int FrameNo;
39 
40  mitkClassMacroItkParent( DICOMImageFrameInfo, itk::LightObject );
41 
42  itkFactorylessNewMacro( DICOMImageFrameInfo );
43  mitkNewMacro1Param( DICOMImageFrameInfo, const std::string&);
44  mitkNewMacro2Param( DICOMImageFrameInfo, const std::string&, unsigned int );
45 
46  bool operator==(const DICOMImageFrameInfo& other) const;
47 
48  protected:
49 
50  DICOMImageFrameInfo(const std::string& filename = "", unsigned int frameNo = 0);
51  };
52 
53  typedef std::vector<DICOMImageFrameInfo::Pointer> DICOMImageFrameList;
54 }
55 
56 #endif
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
const unsigned int FrameNo
frame number, starting with 0
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:85
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Describes a frame within a DICOM file.
const std::string Filename
absolute filename
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49