[vtk-developers] Description of file you are about to read

Andy Cedilnik Andy.Cedilnik at kitware.com
Thu Mar 14 10:04:42 EST 2002


Hi all!

When writing application that loads different data, it
is a common thing to get some short description of this
data. In several image viewers/editors, you can get
things such as strings stored in images and so on.

Recently some readers got CanReadFile method, which
determines wether the file is the right format. I
suggest adding a method which returns a description
of a file as a string in plain English. This way
application can report this information before
trying to open the actual file or when the file
is opened. The function would have the same prototype
for all readers, and maybe eventually for all the
vtkObjects.

So, comments?

			Andy Cedilnik




More information about the vtk-developers mailing list