[vtk-developers] vtkStringArray and vtkImageReader

David Gobbi dgobbi at atamai.com
Sun Feb 5 13:17:56 EST 2006


--- Michael Halle <mhalle at bwh.harvard.edu> wrote:

> > The generic solution is to add a "vtkFileNameGenerator", similar to 
> > the way ITK does things.  For
> > VTK I would build the different kinds of file name generation 
> > (wildcard, numbered series,
> > archetype) into one single class rather than create a class hierarchy. 
> >  There would eventually be
> > a vtkDICOMFileNameGenerator specifically for handling DICOM series.
> 
> Maybe not even a "vtkFileNameGenerator", but a "vtkNameGenerator".
> The interface is generic enough to iterate over other
> string-described resources.  Subclasses could look for actual
> files and such.
> 
> Too general?

A generic iterator would probably go into Utilities/kwsys/SystemTools.cxx instead of into its own
VTK class.

 - David



More information about the vtk-developers mailing list