68 #ifndef VTKGDCMIMAGEREADER2_H
69 #define VTKGDCMIMAGEREADER2_H
71 #include "vtkMedicalImageReader2.h"
72 #include "vtkImageData.h"
81 #ifndef VTK_INVERSE_LUMINANCE
82 #define VTK_INVERSE_LUMINANCE 5
84 #ifndef VTK_LOOKUP_TABLE
85 #define VTK_LOOKUP_TABLE 6
95 namespace gdcm {
class ImageReader; }
129 vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4);
139 vtkGetMacro(LoadOverlays,
int);
140 vtkSetMacro(LoadOverlays,
int);
141 vtkBooleanMacro(LoadOverlays,
int);
148 vtkGetMacro(LoadIconImage,
int);
149 vtkSetMacro(LoadIconImage,
int);
150 vtkBooleanMacro(LoadIconImage,
int);
157 vtkGetMacro(LossyFlag,
int);
158 vtkSetMacro(LossyFlag,
int);
159 vtkBooleanMacro(LossyFlag,
int);
167 vtkGetMacro(NumberOfOverlays,
int);
175 vtkGetMacro(NumberOfIconImages,
int);
194 vtkGetMacro(ApplyLookupTable,
int);
195 vtkSetMacro(ApplyLookupTable,
int);
196 vtkBooleanMacro(ApplyLookupTable,
int);
203 vtkGetMacro(ApplyYBRToRGB,
int)
204 vtkSetMacro(ApplyYBRToRGB,
int)
205 vtkBooleanMacro(ApplyYBRToRGB,
int);
214 vtkGetMacro(ImageFormat,
int);
223 vtkGetMacro(PlanarConfiguration,
int);
235 vtkGetVector3Macro(ImagePositionPatient,
double);
236 vtkGetVector6Macro(ImageOrientationPatient,
double);
243 vtkGetObjectMacro(Curve,vtkPolyData);
244 virtual
void SetCurve(vtkPolyData *pd);
255 vtkGetMacro(Shift,
double);
256 vtkGetMacro(Scale,
double);
263 vtkSetVector6Macro(ImageOrientationPatient,
double);
266 void FillMedicalImageInformation(const
gdcm::ImageReader &reader);
268 int RequestInformationCompat();
269 int RequestDataCompat();
271 int ProcessRequest(vtkInformation* request,
272 vtkInformationVector** inputVector,
273 vtkInformationVector* outputVector);
274 int RequestInformation(vtkInformation *request,
275 vtkInformationVector **inputVector,
276 vtkInformationVector *outputVector);
277 int RequestData(vtkInformation *request,
278 vtkInformationVector **inputVector,
279 vtkInformationVector *outputVector);
282 vtkMatrix4x4 *DirectionCosines;
284 int NumberOfOverlays;
286 int NumberOfIconImages;
287 int IconImageDataExtent[6];
288 double ImagePositionPatient[3];
289 double ImageOrientationPatient[6];
294 int ApplyInverseVideo;
295 int ApplyLookupTable;
298 int ApplyPlanarConfiguration;
301 int LoadSingleFile(const
char *filename,
char *pointer,
unsigned long &outlen);
305 int IconDataScalarType;
306 int IconNumberOfScalarComponents;
307 int PlanarConfiguration;
313 void SetFilePrefix(const
char *) {}
314 vtkGetStringMacro(FilePrefix);
316 vtkGetStringMacro(FilePattern);