[vtkusers] how to use vtkDICOMImageReader->SetFilesName()

Sven Prevrhal sven.prevrhal at radiology.ucsf.edu
Thu Mar 16 12:37:04 EST 2006


Hi Veelion,

I don't think that works with SetFileName - it's really only for single
files. But if there is a good reason for not using SetDirectory(), you can
use SetFilePattern() and SetFilePrefix() from the vtkImageReader2
superclass.

- Sven


-----Original Message-----
From: Veelion Chong [mailto:veelion at gmail.com] 
Sent: Wednesday, March 15, 2006 9:10 AM
To: vtkusers at vtk.org
Subject: [vtkusers] how to use vtkDICOMImageReader->SetFilesName()

Hi,all

I have a medical data in DICOM format which includes 35 slices, Can
the method SetFilesName() read all the 35 slices, not use
SetDirectoryName()? and How to? I only konw how to use
SetDirectoryName() to read all the 35 slices. who can use
SetFilesName() to read all slices, please help me, thanks.
--
veelion





More information about the vtkusers mailing list