]> Creatis software - gdcm.git/blobdiff - vtk/vtkGdcmReader.h
Temporarlily ask not to swig for Python SetUserFunction and SetCoherentFileList
[gdcm.git] / vtk / vtkGdcmReader.h
index ba30d132ff6dcf26c01edd8e3194361d2bc0b58c..a84f3b7bf1e5a703eb47a1b773d2f9f41c663b72 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: vtkGdcmReader.h,v $
   Language:  C++
-  Date:      $Date: 2005/07/30 18:31:25 $
-  Version:   $Revision: 1.24 $
+  Date:      $Date: 2005/08/22 12:43:11 $
+  Version:   $Revision: 1.27 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -43,11 +43,21 @@ public:
    virtual void RemoveAllFileName(void);
    virtual void AddFileName(const char *name);
    virtual void SetFileName(const char *name);
+
+   //BTX
    void SetCoherentFileList( std::vector<gdcm::File* > *cfl) {
                                                       CoherentFileList = cfl; }    
-   void SetCheckFileCoherenceLight();
+   //ETX
+
+   vtkSetMacro(AllowLightChecking, int);
+   vtkGetMacro(AllowLightChecking, int);
+   vtkBooleanMacro(AllowLightChecking, int);
+
+   //BTX
    void SetUserFunction (VOID_FUNCTION_PUINT8_PFILE_POINTER userFunc )
-                        { UserFunction = userFunc; }   
+                        { UserFunction = userFunc; } 
+   //ETX
+  
    // Description:
    // 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 
@@ -66,7 +76,9 @@ 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; }
+   vtkSetMacro(LoadMode, int);
+   vtkGetMacro(LoadMode, int);
+   vtkBooleanMacro(LoadMode, int);
 
 protected:
    vtkGdcmReader();
@@ -101,7 +113,8 @@ private:
    vtkLookupTable *LookupTable;
    vtkTimeStamp fileTime;
    int AllowLookupTable;
-   bool LightChecking;
+
+   int AllowLightChecking;
 
    //BTX
    // Number of columns of the image/volume to be loaded