/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    $RCSfile: DicomImageReaderBase.h,v $
  Language:  C++
  Date:      $Date: 2004/04/08 15:46:25 $
  Version:   $Revision: 1.1 $

  Copyright (c) 2002 Insight Consortium. All rights reserved.
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/

#ifndef __ISIS_DicomImageReaderBase_h__
#define __ISIS_DicomImageReaderBase_h__

#include "itkImageSeriesReader.h"
#include "itkDICOMSeriesFileNames.h"

/** 
  \class DicomImageReaderBase
  \brief Class for reading DICOM series files.

  This class is the base class for reading DICOM series files. It uses
  the SeriesFileNamesType class of the itk.

*/

namespace ISIS
{

class DicomImageReaderBase
{

  typedef itk::DICOMSeriesFileNames       SeriesFileNamesType;
  typedef SeriesFileNamesType::Pointer    SeriesFileNamesPointer;


public:
  DicomImageReaderBase( void );

  virtual ~DicomImageReaderBase( void );

  /**  The method SetDirectory sets the directory of the DICOM series data.  
  */
  void SetDirectory( const char * directory );

  /**  The method gets the Seried UIDs of the image files in the directory of 
  the DICOM series data.  
  */
  const std::vector<std::string> &GetSeriesUIDs();


protected:

  SeriesFileNamesPointer    m_FilenamesGenerator;

};


}  // end namespace ISIS

  

#endif



