Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkDICOMImageFrameInfo.cpp
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 
14 
16 ::DICOMImageFrameInfo(const std::string& filename, unsigned int frameNo)
17 :Filename(filename)
18 ,FrameNo(frameNo)
19 {
20 }
21 
22 bool
24 ::operator==(const DICOMImageFrameInfo& other) const
25 {
26  return
27  this->Filename == other.Filename
28  && this->FrameNo == other.FrameNo;
29 
30 }
const unsigned int FrameNo
frame number, starting with 0
DICOMImageFrameInfo(const std::string &filename="", unsigned int frameNo=0)
Describes a frame within a DICOM file.
const std::string Filename
absolute filename
bool operator==(const DICOMImageFrameInfo &other) const