# vtkGDCMTesting.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004   Module:  $URL$
    00005
    00006   Copyright (c) 2006-2010 Mathieu Malaterre
    00007   All rights reserved.
    00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00009
    00010      This software is distributed WITHOUT ANY WARRANTY; without even
    00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00012      PURPOSE.  See the above copyright notice for more information.
    00013
    00014 =========================================================================*/
    00015 // .NAME vtkGDCMTesting - GDCM Testing
    00016 // .SECTION Description
    00017 // GDCM Testing
    00018
    00019 // .SECTION See Also
    00020 // vtkTesting
    00021
    00022 #ifndef VTKGDCMTESTING_H
    00023 #define VTKGDCMTESTING_H
    00024
    00025 #include "vtkObject.h"
    00026
    00027 class VTK_EXPORT vtkGDCMTesting : public vtkObject
    00028 {
    00029 public:
    00030   static vtkGDCMTesting *New();
    00031   vtkTypeRevisionMacro(vtkGDCMTesting,vtkObject);
    00032   void PrintSelf(ostream& os, vtkIndent indent);
    00033
    00034   static const char *GetVTKDataRoot();
    00035   static const char *GetGDCMDataRoot();
    00036
    00037 //BTX
    00038   typedef const char* const (*MD5MetaImagesType)[3];
    00039   static const char * const * GetMD5MetaImage(unsigned int file);
    00040 //ETX
    00041   static unsigned int GetNumberOfMD5MetaImages();
    00042
    00043   static const char * GetMHDMD5FromFile(const char *filepath);
    00044   static const char * GetRAWMD5FromFile(const char *filepath);
    00045
    00046 protected:
    00047   vtkGDCMTesting();
    00048   ~vtkGDCMTesting();
    00049
    00050 private:
    00051   vtkGDCMTesting(const vtkGDCMTesting&);  // Not implemented.
    00052   void operator=(const vtkGDCMTesting&);  // Not implemented.
    00053 };
    00054
    00055 #endif