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.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,
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 
18 
20 ::DICOMImageFrameInfo(const std::string& filename, unsigned int frameNo)
21 :Filename(filename)
22 ,FrameNo(frameNo)
23 {
24 }
25 
26 bool
28 ::operator==(const DICOMImageFrameInfo& other) const
29 {
30  return
31  this->Filename == other.Filename
32  && this->FrameNo == other.FrameNo;
33 
34 }
bool operator==(const DICOMImageFrameInfo &other) const
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
static const std::string filename