vtkGDCMPolyDataReader.h
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 #include "gdcmTypes.h"
00034
00035 class vtkMedicalImageProperties;
00036
00037 namespace gdcm { class Reader; }
00038
00039 class GDCM_EXPORT vtkGDCMPolyDataReader : public vtkPolyDataAlgorithm
00040 {
00041 public:
00042 static vtkGDCMPolyDataReader *New();
00043 vtkTypeRevisionMacro(vtkGDCMPolyDataReader,vtkPolyDataAlgorithm);
00044 virtual void PrintSelf(ostream& os, vtkIndent indent);
00045
00046
00047
00048 vtkSetStringMacro(FileName);
00049 vtkGetStringMacro(FileName);
00050
00051
00052
00053 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
00054
00055 protected:
00056 vtkGDCMPolyDataReader();
00057 ~vtkGDCMPolyDataReader();
00058
00059 char *FileName;
00060 vtkMedicalImageProperties *MedicalImageProperties;
00061
00062 void FillMedicalImageInformation(const gdcm::Reader &reader);
00063
00064
00065 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00066 int RequestInformation(
00067 vtkInformation *vtkNotUsed(request),
00068 vtkInformationVector **vtkNotUsed(inputVector),
00069 vtkInformationVector *outputVector);
00070
00071 int RequestInformation_RTStructureSetStorage(gdcm::Reader const & reader);
00072 int RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
00073 int RequestInformation_HemodynamicWaveformStorage(gdcm::Reader const & reader);
00074 int RequestData_HemodynamicWaveformStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
00075
00076
00077 private:
00078 vtkGDCMPolyDataReader(const vtkGDCMPolyDataReader&);
00079 void operator=(const vtkGDCMPolyDataReader&);
00080 };
00081
00082 #endif