[vtk-developers] vtkWriter and vtkImageWriter
Andy Cedilnik
Andy.Cedilnik at kitware.com
Fri Jan 18 16:31:01 EST 2002
Hello!
After careful observation, you will notice that all writers do not have
the same parent class, but use some of the same interface.
For example:
vtkStructuredPointsWrite is a subclass of vtkWriter, which provide some
functionality including:
Set/GetFileName
Set/GetInput
Write
vtkPNGWriter on the other hand is a subclass of vtkImageWriter, which
provides different functionality but also provides interface for:
Set/GetFileName
Set/GetInput
Write
So, how about either make vtkImageWriter a subclass of vtkWriter or
add additional parent class for both types of writers?
Andy Cedilnik
More information about the vtk-developers
mailing list