[vtkusers] Question about vtkDICOMImageReader

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Jul 28 07:14:17 EDT 2003

Ma Qianli wrote:
> mathieu,
> Thanks for your prompt. I'll try this.
> But I'm wondering why the class doesn't provide some direct method to 
> get these informations, such as GetImageWidth, GetImageHeight?

This will break the VTK design.

> That will be more convenient, I think. :)

No, I don't think so. vtkDICOMImageReader is a class for reading a dicom
file. And a dicom *file* hasn't a 'width' nor 'height'. Only image have
a width and height, therefore only image should have accessors to theses


More information about the vtkusers mailing list