From: jpr Date: Mon, 22 Aug 2005 12:38:01 +0000 (+0000) Subject: Replace X-Git-Tag: Version1.2.bp~218 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=caab429f56d3236bfd8005b387edeae6ac83e265;p=gdcm.git Replace void SetLoadMode (int mode) by vtkSetMacro(LoadMode, int); vtkGetMacro(LoadMode, int); vtkBooleanMacro(LoadMode, int); to be vtk compilant --- diff --git a/vtk/vtkGdcmReader.h b/vtk/vtkGdcmReader.h index 73386ba3..dccaef8e 100644 --- a/vtk/vtkGdcmReader.h +++ b/vtk/vtkGdcmReader.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkGdcmReader.h,v $ Language: C++ - Date: $Date: 2005/08/22 12:30:36 $ - Version: $Revision: 1.25 $ + Date: $Date: 2005/08/22 12:38:01 $ + Version: $Revision: 1.26 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -45,7 +45,7 @@ public: virtual void SetFileName(const char *name); void SetCoherentFileList( std::vector *cfl) { CoherentFileList = cfl; } - //void SetCheckFileCoherenceLight(); + vtkSetMacro(AllowLightChecking, int); vtkGetMacro(AllowLightChecking, int); vtkBooleanMacro(AllowLightChecking, int); @@ -70,7 +70,10 @@ public: * of *each* Shadow Group. The parser will fail if the size is wrong ! * @param mode Load mode to be used */ - void SetLoadMode (int mode) { LoadMode = mode; } + // void SetLoadMode (int mode) { LoadMode = mode; } + vtkSetMacro(LoadMode, int); + vtkGetMacro(LoadMode, int); + vtkBooleanMacro(LoadMode, int); protected: vtkGdcmReader();