#NEWLINE# def __init__( self , **traits ) : #NEWLINE# #INDENT# d = { #NEWLINE# #INDENT# 'bmp' : tvtk . BMPReader ( ) , #NEWLINE# 'jpg' : tvtk . JPEGReader ( ) , #NEWLINE# 'png' : tvtk . PNGReader ( ) , #NEWLINE# 'pnm' : tvtk . PNMReader ( ) , #NEWLINE# 'dcm' : tvtk . DICOMImageReader ( ) , #NEWLINE# 'tiff' : tvtk . TIFFReader ( ) , #NEWLINE# 'ximg' : tvtk . GESignaReader ( ) , #NEWLINE# 'dem' : tvtk . DEMReader ( ) , #NEWLINE# 'mha' : tvtk . MetaImageReader ( ) , #NEWLINE# 'mhd' : tvtk . MetaImageReader ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# if hasattr ( tvtk , 'MINCImageReader' ) : #NEWLINE# #INDENT# d [ 'mnc' ] = tvtk . MINCImageReader ( ) #NEWLINE# #UNINDENT# d [ 'jpeg' ] = d [ 'jpg' ] #NEWLINE# self . _image_reader_dict = d #NEWLINE# super ( ImageReader , self ) . __init__ ( ** d )