Medical Imaging Interaction Toolkit  2026.06.00
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 
35  const std::string Filename;
36  const unsigned int FrameNo;
37 
39 
40  itkFactorylessNewMacro( DICOMImageFrameInfo );
41  mitkNewMacro1Param( DICOMImageFrameInfo, const std::string&);
42  mitkNewMacro2Param( DICOMImageFrameInfo, const std::string&, unsigned int );
43 
49  bool operator==(const DICOMImageFrameInfo& other) const;
50 
51  protected:
52 
53  DICOMImageFrameInfo(const std::string& filename = "", unsigned int frameNo = 0);
54  };
55 
56  typedef std::vector<DICOMImageFrameInfo::Pointer> DICOMImageFrameList;
57 }
58 
59 #endif
#define MITKDICOM_EXPORT
Describes a frame within a DICOM file.
const std::string Filename
Absolute filename of the DICOM file.
mitkNewMacro2Param(DICOMImageFrameInfo, const std::string &, unsigned int)
DICOMImageFrameInfo(const std::string &filename="", unsigned int frameNo=0)
mitkClassMacroItkParent(DICOMImageFrameInfo, itk::LightObject)
const unsigned int FrameNo
Frame number within the file, starting with 0.
bool operator==(const DICOMImageFrameInfo &other) const
Equality comparison based on filename and frame number.
mitkNewMacro1Param(DICOMImageFrameInfo, const std::string &)
Find image slices visible on a given plane.
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList