vtk-dicom  0.8.14
vtkDICOMSorter.h
1 /*=========================================================================
2 
3  Program: DICOM for VTK
4 
5  Copyright (c) 2012-2022 David Gobbi
6  All rights reserved.
7  See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef vtkDICOMSorter_h
15 #define vtkDICOMSorter_h
16 
17 #include "vtkDICOMFileSorter.h"
18 
20 class VTKDICOM_EXPORT vtkDICOMSorter : public vtkDICOMFileSorter
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) VTK_DICOM_OVERRIDE;
26  static vtkDICOMSorter *New();
28 
30  int GetFirstSeriesInStudy(int study);
32 
34  int GetNumberOfSeriesInStudy(int study);
36 
37 protected:
39  ~vtkDICOMSorter() VTK_DICOM_OVERRIDE;
40 
41 private:
42 #ifdef VTK_DICOM_DELETE
43  vtkDICOMSorter(const vtkDICOMSorter&) VTK_DICOM_DELETE;
44  void operator=(const vtkDICOMSorter&) VTK_DICOM_DELETE;
45 #else
46  vtkDICOMSorter(const vtkDICOMSorter&) = delete;
47  void operator=(const vtkDICOMSorter&) = delete;
48 #endif
49 };
50 
51 #endif
Sort DICOM files and group them by study and series.
Definition: vtkDICOMFileSorter.h:44
Deprecated class, please use vtkDICOMFileSorter instead.
Definition: vtkDICOMSorter.h:21
void PrintSelf(ostream &os, vtkIndent indent) VTK_DICOM_OVERRIDE
int GetNumberOfSeriesInStudy(int study)
Get the number of series in a particular study.