[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    Re: [vtk-developers] vtkPolyDataReader
From:       "Mathieu Malaterre" <mathieu.malaterre () gmail ! com>
Date:       2007-11-13 17:11:48
Message-ID: bf0c3b3f0711130911u3fd234d5n4cac54406b83a717 () mail ! gmail ! com
[Download RAW message or body]

On Nov 12, 2007 10:26 AM, hagbard23 <philipp.huebner@freenet.de> wrote:
>
> Is there a way to check weather a file is valid before its opened and a vtk
> error message is thrown.....Openvtk always rreturns a 1 as long as the file
> is named .vtk?thx

Old VTK IO are deprecated AFAIK. Switch to the XML ones, they provide
a vtkXMLReader::CanRead API.

HTH

-- 
Mathieu
_______________________________________________
vtk-developers mailing list
vtk-developers@vtk.org
http://www.vtk.org/mailman/listinfo/vtk-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic