GDCM
2.2.6
|
class for testing More...
#include <gdcmTesting.h>
Public Types | |
typedef const char *const (* | MD5DataImagesType )[2] |
typedef const char *const (* | MediaStorageDataFilesType )[2] |
return the table that map the media storage (as string) of a filename (gdcmData) More... | |
Public Member Functions | |
Testing () | |
~Testing () | |
void | Print (std::ostream &os=std::cout) |
Print. More... | |
Static Public Member Functions | |
static bool | ComputeFileMD5 (const char *filename, char digest_str[33]) |
static bool | ComputeMD5 (const char *buffer, unsigned long buf_len, char digest_str[33]) |
static const char * | GetDataExtraRoot () |
Return the GDCM DATA EXTRA ROOT. More... | |
static const char * | GetDataRoot () |
Return the GDCM DATA ROOT. More... | |
static const char * | GetFileName (unsigned int file) |
static const char *const * | GetFileNames () |
return the table of fullpath to gdcmData DICOM files: More... | |
static int | GetLossyFlagFromFile (const char *filepath) |
static const char *const * | GetMD5DataImage (unsigned int file) |
static MD5DataImagesType | GetMD5DataImages () |
static const char * | GetMD5FromBrokenFile (const char *filepath) |
static const char * | GetMD5FromFile (const char *filepath) |
static const char *const * | GetMediaStorageDataFile (unsigned int file) |
static MediaStorageDataFilesType | GetMediaStorageDataFiles () |
static const char * | GetMediaStorageFromFile (const char *filepath) |
static unsigned int | GetNumberOfFileNames () |
static unsigned int | GetNumberOfMD5DataImages () |
static unsigned int | GetNumberOfMediaStorageDataFiles () |
static const char * | GetPixelSpacingDataRoot () |
Return the GDCM PIXEL SPACING DATA ROOT (See David Clunie website for dataset) More... | |
static std::streamoff | GetSelectedTagsOffsetFromFile (const char *filepath) |
static const char * | GetSourceDirectory () |
static std::streamoff | GetStreamOffsetFromFile (const char *filepath) |
static const char * | GetTempDirectory (const char *subdir=0) |
static const wchar_t * | GetTempDirectoryW (const wchar_t *subdir=0) |
NOT THREAD SAFE. More... | |
static const char * | GetTempFilename (const char *filename, const char *subdir=0) |
NOT THREAD SAFE. More... | |
static const wchar_t * | GetTempFilenameW (const wchar_t *filename, const wchar_t *subdir=0) |
NOT THREAD SAFE. More... | |
class for testing
this class is used for the nightly regression system for GDCM It makes heavily use of md5 computation
typedef const char* const(* gdcm::Testing::MD5DataImagesType)[2] |
return the table that map the md5 (as in md5sum) of the Pixel Data associated to a filename
typedef const char* const(* gdcm::Testing::MediaStorageDataFilesType)[2] |
return the table that map the media storage (as string) of a filename (gdcmData)
|
inline |
|
inline |
|
static |
|
static |
|
static |
Return the GDCM DATA EXTRA ROOT.
|
static |
Return the GDCM DATA ROOT.
|
static |
|
static |
return the table of fullpath to gdcmData DICOM files:
|
static |
Return the lossy flag of the given filename -1 -> Error 0 -> Lossless 1 -> Lossy
|
static |
|
static |
|
static |
Return what should have been the md5 of file 'filepath' This is based on current GDCM implementation to decipher a broken DICOM file.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Return the GDCM PIXEL SPACING DATA ROOT (See David Clunie website for dataset)
|
static |
Return the offset just after Pixel Data Length (7fe0,0000) if found. Otherwise the offset of the very first pixel cell in Pixel Data -1 if not found
|
static |
|
static |
Return the offset of the very first pixel cell in the PixelData -1 if not found
|
static |
NOT THREAD SAFE Returns the temp directory as used in testing needing to output data:
|
static |
NOT THREAD SAFE.
|
static |
NOT THREAD SAFE.
|
static |
NOT THREAD SAFE.
void gdcm::Testing::Print | ( | std::ostream & | os = std::cout | ) |
Print.