vtkgdcm
vtkGDCMPolyDataReader.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=========================================================================*/
30#ifndef VTKGDCMPOLYDATAREADER_H
31#define VTKGDCMPOLYDATAREADER_H
32
33#include "vtkgdcmModule.h"
34#include "vtkPolyDataAlgorithm.h"
35
36class vtkMedicalImageProperties;
38//BTX
39namespace gdcm { class Reader; }
40//ETX
41class VTKGDCM_EXPORT vtkGDCMPolyDataReader : public vtkPolyDataAlgorithm
42{
43public:
45 vtkTypeMacro(vtkGDCMPolyDataReader,vtkPolyDataAlgorithm);
46 virtual void PrintSelf(ostream& os, vtkIndent indent);
47
49
52 vtkSetStringMacro(FileName);
53 vtkGetStringMacro(FileName);
55
57
60 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
62
63 vtkGetObjectMacro(RTStructSetProperties, vtkRTStructSetProperties);
64
65protected:
68
69 char *FileName;
70 vtkMedicalImageProperties *MedicalImageProperties;
72//BTX
73 void FillMedicalImageInformation(const gdcm::Reader &reader);
74//ETX
75
76 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
78 vtkInformation *vtkNotUsed(request),
79 vtkInformationVector **vtkNotUsed(inputVector),
80 vtkInformationVector *outputVector);
81//BTX
82 int RequestInformation_RTStructureSetStorage(gdcm::Reader const & reader);
83 int RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
84 int RequestInformation_HemodynamicWaveformStorage(gdcm::Reader const & reader);
85 int RequestData_HemodynamicWaveformStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
86//ETX
87
88private:
89 vtkGDCMPolyDataReader(const vtkGDCMPolyDataReader&); // Not implemented.
90 void operator=(const vtkGDCMPolyDataReader&); // Not implemented.
91};
92
93#endif
read DICOM PolyData files (Contour Data...)
void FillMedicalImageInformation(const gdcm::Reader &reader)
vtkRTStructSetProperties * RTStructSetProperties
int RequestData_HemodynamicWaveformStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector)
vtkMedicalImageProperties * MedicalImageProperties
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
int RequestInformation_HemodynamicWaveformStorage(gdcm::Reader const &reader)
int RequestInformation_RTStructureSetStorage(gdcm::Reader const &reader)
virtual void PrintSelf(ostream &os, vtkIndent indent)
int RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector)
static vtkGDCMPolyDataReader * New()
some rtstruct properties.