Skip to content
  • jcfr's avatar
    COMP: Support building with DICOM support disabled · 96c8308d
    jcfr authored
    This commit update vtkITK to support building without DICOM support.
    Attempting to use "Add Data" dialog, selecting a DICOM file and unchecking
    the "single file" option will report an exception like the following:
    
      AssembleVolumeContainingArchetype: index archetype 0 is out of bounds 0-0
    
      vtkITKArchetypeImageSeriesReader::ExecuteInformation: Failed to read file series
      [...]
    
      ReadData: This is not a nrrd file
      ReadData: Cannot read file as a volume of type DiffusionTensorVolume[fullName = /path/to/volume0000.dcm]
    	  Number of files listed in the node = 0.
    	  File reader says it was able to read 0 files.
    	  File reader used the archetype file name of/path/to/volume0000.dcm []
      FileNotFoundError
    
      ReadData: This is not a nrrd file
      ReadData: Failed to instantiate a file reader
      ReadData: Cannot read file as a volume of type Volume[fullName =/path/to/volume0000.dcm]
    	  Number of files listed in the node = 0.
    	  File reader says it was able to read 0 files.
    	  File reader used the archetype file name of/path/to/volume0000.dcm []
      FileNotFoundError
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@26544 3bd1e089-480b-0410-8dfb-8563597acbee
    96c8308d