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 "vtkPolyDataAlgorithm.h"
34
35class vtkMedicalImageProperties;
37//BTX
38namespace gdcm { class Reader; }
39//ETX
40class VTK_EXPORT vtkGDCMPolyDataReader : public vtkPolyDataAlgorithm
41{
42public:
44 vtkTypeMacro(vtkGDCMPolyDataReader,vtkPolyDataAlgorithm);
45 virtual void PrintSelf(ostream& os, vtkIndent indent);
46
48
51 vtkSetStringMacro(FileName);
52 vtkGetStringMacro(FileName);
54
56
59 vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties);
61
62 vtkGetObjectMacro(RTStructSetProperties, vtkRTStructSetProperties);
63
64protected:
67
68 char *FileName;
69 vtkMedicalImageProperties *MedicalImageProperties;
71//BTX
72 void FillMedicalImageInformation(const gdcm::Reader &reader);
73//ETX
74
75 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
77 vtkInformation *vtkNotUsed(request),
78 vtkInformationVector **vtkNotUsed(inputVector),
79 vtkInformationVector *outputVector);
80//BTX
81 int RequestInformation_RTStructureSetStorage(gdcm::Reader const & reader);
82 int RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
83 int RequestInformation_HemodynamicWaveformStorage(gdcm::Reader const & reader);
84 int RequestData_HemodynamicWaveformStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector);
85//ETX
86
87private:
88 vtkGDCMPolyDataReader(const vtkGDCMPolyDataReader&); // Not implemented.
89 void operator=(const vtkGDCMPolyDataReader&); // Not implemented.
90};
91
92#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.