[vtkusers] how to check for error when using vtkDICOMImageReader?

Mark Wyszomierski markww at gmail.com
Mon Jul 2 01:28:36 EDT 2007


Hi,

How do you check if an error occured when reading DICOM images using
vtkDICOMImageReader? I'm just doing the following:

    vtkDICOMImageReader* pRead = vtkDICOMImageReader::New();
    pRead->SetDirectoryName(strPath.c_str());
    pRead->Update();

Thanks,
Mark



More information about the vtkusers mailing list