Medical Imaging Interaction Toolkit  2024.06.99-caca2dd0
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 "MitkDICOMExports.h"
20 
21 namespace mitk
22 {
31  class MITKDICOM_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
mitkNewMacro2Param
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:81
mitk::DICOMImageFrameList
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList
Definition: mitkDICOMImageFrameInfo.h:53
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
MitkDICOMExports.h
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk::DICOMImageFrameInfo::Filename
const std::string Filename
absolute filename
Definition: mitkDICOMImageFrameInfo.h:36
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DICOMImageFrameInfo
Describes a frame within a DICOM file.
Definition: mitkDICOMImageFrameInfo.h:31
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
mitkCommon.h
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition: MitkDICOMExports.h:15
mitk::DICOMImageFrameInfo::FrameNo
const unsigned int FrameNo
frame number, starting with 0
Definition: mitkDICOMImageFrameInfo.h:38