From caab429f56d3236bfd8005b387edeae6ac83e265 Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 22 Aug 2005 12:38:01 +0000 Subject: [PATCH] Replace void SetLoadMode (int mode) by vtkSetMacro(LoadMode, int); vtkGetMacro(LoadMode, int); vtkBooleanMacro(LoadMode, int); to be vtk compilant --- vtk/vtkGdcmReader.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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(); -- 2.45.1