vtkgdcm
vtkGDCMThreadedImageReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html 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 =========================================================================*/
38 #ifndef VTKGDCMTHREADEDIMAGEREADER_H
39 #define VTKGDCMTHREADEDIMAGEREADER_H
40 
41 #include "vtkGDCMImageReader.h"
42 #include "vtkVersion.h"
43 
45 {
46 public:
49  virtual void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55  vtkSetMacro(Shift,double);
57 
59 
62  vtkSetMacro(Scale,double);
64 
66 
70  vtkSetMacro(UseShiftScale,int);
71  vtkGetMacro(UseShiftScale,int);
72  vtkBooleanMacro(UseShiftScale,int);
74 
75  // Within this class this is allowed to set the Number of Overlays from outside
76  //vtkSetMacro(NumberOfOverlays,int);
77 
78 protected:
81 
82 #if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
83  int RequestInformation(vtkInformation *request,
84  vtkInformationVector **inputVector,
85  vtkInformationVector *outputVector);
86  int RequestData(vtkInformation *request,
87  vtkInformationVector **inputVector,
88  vtkInformationVector *outputVector);
89 #else /*(VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )*/
90  void ExecuteInformation();
91  void ExecuteData(vtkDataObject *out);
92 #endif /*(VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )*/
93 
94  void ReadFiles(unsigned int nfiles, const char *filenames[]);
95  void RequestDataCompat();
96 
97 private:
98  vtkGDCMThreadedImageReader(const vtkGDCMThreadedImageReader&); // Not implemented.
99  void operator=(const vtkGDCMThreadedImageReader&); // Not implemented.
100 
101  int UseShiftScale;
102 };
103 
104 #endif
vtkGDCMImageReader::New
static vtkGDCMImageReader * New()
vtkGDCMThreadedImageReader
read DICOM files with multiple threads
Definition: vtkGDCMThreadedImageReader.h:44
vtkGDCMImageReader.h
vtkGDCMImageReader
read DICOM Image files (Pixel Data)
Definition: vtkGDCMImageReader.h:107
vtkGDCMImageReader::RequestDataCompat
int RequestDataCompat()
vtkGDCMImageReader::ExecuteData
void ExecuteData(vtkDataObject *out)
vtkGDCMImageReader::ExecuteInformation
void ExecuteInformation()
vtkGDCMImageReader::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)