Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef VTKGDCMPOLYDATAREADER_H
00030 #define VTKGDCMPOLYDATAREADER_H
00031
00032 #include "vtkPolyDataAlgorithm.h"
00033
00034 class vtkMedicalImageProperties;
00035
00036 namespace gdcm { class Reader; }
00037
00038 class VTK_EXPORT vtkGDCMPolyDataReader : public vtkPolyDataAlgorithm
00039 {
00040 public:
00041 static vtkGDCMPolyDataReader *New();
00042 vtkTypeRevisionMacro(vtkGDCMPolyDataReader,vtkPolyDataAlgorithm);
00043 virtual void PrintSelf(ostream& os, vtkIndent indent);
00044
00045
00046
00047 vtkSetStringMacro(FileName);
00048 vtkGetStringMacro(FileName);
00049
00050
00051
00052 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
00053
00054 protected:
00055 vtkGDCMPolyDataReader();
00056 ~vtkGDCMPolyDataReader();
00057
00058 char *FileName;
00059 vtkMedicalImageProperties *MedicalImageProperties;
00060
00061 void FillMedicalImageInformation(const gdcm::Reader &reader);
00062
00063
00064 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00065 int RequestInformation(
00066 vtkInformation *vtkNotUsed(request),
00067 vtkInformationVector **vtkNotUsed(inputVector),
00068 vtkInformationVector *outputVector);
00069
00070 int RequestInformation_RTStructureSetStorage(gdcm::Reader const & reader);
00071 int RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
00072 int RequestInformation_HemodynamicWaveformStorage(gdcm::Reader const & reader);
00073 int RequestData_HemodynamicWaveformStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
00074
00075
00076 private:
00077 vtkGDCMPolyDataReader(const vtkGDCMPolyDataReader&);
00078 void operator=(const vtkGDCMPolyDataReader&);
00079 };
00080
00081 #endif