X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcmReader.h;h=dc29361fed76782e4647e6b2f7777e3bbf35d69f;hb=fd5c14391627c6e42283ced90561271af2a161a2;hp=928013a772bf85fc050f587dcae4f7680a15bd9d;hpb=50600b72b592a13f87f549aa370137b3e994f015;p=gdcm.git diff --git a/vtk/vtkGdcmReader.h b/vtk/vtkGdcmReader.h index 928013a7..dc29361f 100644 --- a/vtk/vtkGdcmReader.h +++ b/vtk/vtkGdcmReader.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkGdcmReader.h,v $ Language: C++ - Date: $Date: 2009/04/18 14:42:51 $ - Version: $Revision: 1.36 $ + Date: $Date: 2011/03/29 07:36:02 $ + Version: $Revision: 1.39 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -65,7 +65,7 @@ public: // If this flag is set and the DICOM reader encounters a dicom file with // lookup table the data will be kept as unsigned chars and a lookuptable // will be exported and accessible through GetLookupTable() - + vtkSetMacro(AllowLookupTable, bool); vtkGetMacro(AllowLookupTable, bool); vtkBooleanMacro(AllowLookupTable, bool); @@ -73,10 +73,16 @@ public: vtkSetMacro(KeepOverlays, bool); vtkGetMacro(KeepOverlays, bool); vtkBooleanMacro(KeepOverlays, bool); - - vtkSetMacro(FlipY, bool); - vtkGetMacro(FlipY, bool); - vtkBooleanMacro(FlipY, bool); + +// Implementation note: when FileLowerLeft (gdcm2) is set to on the image is not flipped +// upside down as VTK would expect, use this option only if you know what you are doing. + // vtkSetMacro(FileLowerLeft, bool); + // vtkGetMacro(FileLowerLeft, bool); + // vtkBooleanMacro(FileLowerLeft, bool); + + vtkSetMacro(FlipY, bool); + vtkGetMacro(FlipY, bool); + vtkBooleanMacro(FlipY, bool); vtkGetObjectMacro(LookupTable, vtkLookupTable); @@ -191,8 +197,9 @@ private: bool KeepOverlays; + // bool FileLowerLeft; bool FlipY; - + /// Pointer to a user suplied function to allow modification of pixel order VOID_FUNCTION_PUINT8_PFILE_POINTER UserFunction;