print "Path to dictionaries is mandatory. Exiting"
sys.exit(1)
os.environ["GDCM_DICT_PATH"] = Path
+GDCM_DICT_PATH = os.environ["GDCM_DICT_PATH"]
### Set up the path to the data images for the demos.
GDCM_DATA_PATH = BuildInstallOrPreinstallPath("Test", "test.acr")
raise ImportError, "gdcm extension not imported."
### Expose only the necessary stuff
-gdcmGlobal = gdcm.gdcmGlobal
-gdcmDictSet = gdcm.gdcmDictSet
-gdcmDicomDir = gdcm.gdcmDicomDir
-gdcmHeader = gdcm.gdcmHeader
-gdcmHeaderHelper = gdcm.gdcmHeaderHelper
-gdcmFile = gdcm.gdcmFile
+gdcmGlobal = gdcm.gdcmGlobal
+gdcmDictSet = gdcm.gdcmDictSet
+gdcmDicomDir = gdcm.gdcmDicomDir
+gdcmHeader = gdcm.gdcmHeader
+gdcmHeaderHelper = gdcm.gdcmHeaderHelper
+gdcmFile = gdcm.gdcmFile
+
+gdcmDicomDirMeta = gdcm.gdcmDicomDirMeta
+gdcmDicomDirPatient = gdcm.gdcmDicomDirPatient
+gdcmDicomDirStudy = gdcm.gdcmDicomDirStudy
+gdcmDicomDirSerie = gdcm.gdcmDicomDirSerie
+gdcmDicomDirImage = gdcm.gdcmDicomDirImage
def GetPubDictEntryNames():
return gdcm.cvar.gdcmGlob.GetDicts().GetPubDictEntryNames()