64#ifndef VTKGDCMIMAGEREADER_H
65#define VTKGDCMIMAGEREADER_H
67#include "vtkgdcmModule.h"
68#include "vtkMedicalImageReader2.h"
69#include "vtkImageData.h"
70#include "vtkVersion.h"
72#if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
74class vtkMedicalImageProperties;
76#if (VTK_MAJOR_VERSION > 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION > 0 )
87#ifndef VTK_INVERSE_LUMINANCE
88#define VTK_INVERSE_LUMINANCE 5
90#ifndef VTK_LOOKUP_TABLE
91#define VTK_LOOKUP_TABLE 6
101namespace gdcm {
class ImageReader; }
134#if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
142#if (VTK_MAJOR_VERSION > 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION > 0 )
181#if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
184 vtkAlgorithmOutput* GetOverlayPort(
int index);
185 vtkAlgorithmOutput* GetIconImagePort();
200 vtkSetMacro(ApplyYBRToRGB,
int)
201 vtkBooleanMacro(ApplyYBRToRGB,
int);
207 vtkGetMacro(ImageFormat,
int);
213 vtkGetMacro(PlanarConfiguration,
int);
222 vtkGetVector3Macro(ImagePositionPatient,
double);
223 vtkGetVector6Macro(ImageOrientationPatient,
double);
227 vtkGetObjectMacro(Curve,vtkPolyData);
228 virtual
void SetCurve(vtkPolyData *pd);
236 vtkGetMacro(Shift,
double);
237 vtkGetMacro(Scale,
double);
243 vtkSetVector6Macro(ImageOrientationPatient,
double);
246 void FillMedicalImageInformation(const
gdcm::ImageReader &reader);
248 int RequestInformationCompat();
249 int RequestDataCompat();
251#if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
252 int ProcessRequest(vtkInformation* request,
253 vtkInformationVector** inputVector,
254 vtkInformationVector* outputVector);
255 int RequestInformation(vtkInformation *request,
256 vtkInformationVector **inputVector,
257 vtkInformationVector *outputVector);
258 int RequestData(vtkInformation *request,
259 vtkInformationVector **inputVector,
260 vtkInformationVector *outputVector);
267#if (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 5 )
273#if (VTK_MAJOR_VERSION > 5) || ( VTK_MAJOR_VERSION == 5 && VTK_MINOR_VERSION > 0 )
283 int IconImageDataExtent[6];
284 double ImagePositionPatient[3];
285 double ImageOrientationPatient[6];
Definition vtkGDCMImageReader.h:105
void SetFilePattern(const char *)
Definition vtkGDCMImageReader.h:311
int NumberOfIconImages
Definition vtkGDCMImageReader.h:282
virtual void SetFileNames(vtkStringArray *)
vtkGetObjectMacro(MedicalImageProperties, vtkMedicalImageProperties)
int ForceRescale
Definition vtkGDCMImageReader.h:305
vtkGetMacro(NumberOfOverlays, int)
int LoadSingleFile(const char *filename, char *pointer, unsigned long &outlen)
virtual const char * GetDescriptiveName()
Definition vtkGDCMImageReader.h:124
int LossyFlag
Definition vtkGDCMImageReader.h:304
virtual void SetMedicalImageProperties(vtkMedicalImageProperties *pd)
vtkGetObjectMacro(DirectionCosines, vtkMatrix4x4)
double Shift
Definition vtkGDCMImageReader.h:299
int ApplyLookupTable
Definition vtkGDCMImageReader.h:291
vtkMedicalImageProperties * MedicalImageProperties
Definition vtkGDCMImageReader.h:271
virtual void PrintSelf(ostream &os, vtkIndent indent)
int ApplyPlanarConfiguration
Definition vtkGDCMImageReader.h:294
int ImageFormat
Definition vtkGDCMImageReader.h:288
vtkSetMacro(LoadIconImage, int)
vtkGetMacro(LoadIconImage, int)
vtkBooleanMacro(LossyFlag, int)
vtkGetStringMacro(FilePattern)
void ExecuteInformation()
vtkImageData * GetOverlay(int i)
vtkBooleanMacro(LoadOverlays, int)
int ApplyInverseVideo
Definition vtkGDCMImageReader.h:290
vtkSetMacro(ApplyLookupTable, int)
vtkGetObjectMacro(FileNames, vtkStringArray)
vtkSetMacro(LossyFlag, int)
vtkGetMacro(ApplyLookupTable, int)
vtkPolyData * Curve
Definition vtkGDCMImageReader.h:286
static vtkGDCMImageReader * New()
vtkGetMacro(LossyFlag, int)
int LoadIconImage
Definition vtkGDCMImageReader.h:281
vtkGetStringMacro(FilePrefix)
vtkImageData * GetIconImage()
vtkBooleanMacro(ApplyLookupTable, int)
int LoadOverlays
Definition vtkGDCMImageReader.h:279
virtual int CanReadFile(const char *fname)
int ApplyShiftScale
Definition vtkGDCMImageReader.h:295
int ApplyYBRToRGB
Definition vtkGDCMImageReader.h:292
vtkSetMacro(LoadOverlays, int)
vtkStringArray * FileNames
Definition vtkGDCMImageReader.h:275
vtkMatrix4x4 * DirectionCosines
Definition vtkGDCMImageReader.h:278
void ExecuteData(vtkDataObject *out)
vtkGetMacro(LoadOverlays, int)
int PlanarConfiguration
Definition vtkGDCMImageReader.h:303
int IconNumberOfScalarComponents
Definition vtkGDCMImageReader.h:302
vtkGetMacro(ApplyYBRToRGB, int) vtkSetMacro(ApplyYBRToRGB
vtkBooleanMacro(LoadIconImage, int)
int IconDataScalarType
Definition vtkGDCMImageReader.h:301
double Scale
Definition vtkGDCMImageReader.h:300
int NumberOfOverlays
Definition vtkGDCMImageReader.h:280
virtual const char * GetFileExtensions()
Definition vtkGDCMImageReader.h:116
vtkTypeMacro(vtkGDCMImageReader, vtkMedicalImageReader2)
void SetFilePrefix(const char *)
Definition vtkGDCMImageReader.h:309
vtkGetMacro(NumberOfIconImages, int)