[vtkusers] Ascii to Binary in vtk files
    Mathieu Malaterre 
    Mathieu.Malaterre at creatis.insa-lyon.fr
       
    Wed Sep 10 03:36:41 EDT 2003
    
    
  
What about:
vtkPolyDataWriter::SetFileTypeToBinary()
or in a Tcl script:
vtkPolyDataWriter writer
writer SetInput ...
writer SetFileTypeToBinary
...
HTH
mathieu
Jose Luis Pina wrote:
> 
>> Hello:
> 
> 
> I have some ascii .vtk polydata files that run ok. The volume of data is 
> are too long and I am trying to convert them to binary.
> I have made a Tcl script to do this. But all the files I create don't 
> run, I think that the binary format of the data is not the correct.
> Has anyone a script (Tcl or C++) for converting an ascii .vtk to binary 
> .vtk?
> Thanks in advance.
> 
> 
> Jose Luis Pina Martinez
> jlpina at ivo.cps.unizar.es
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
    
    
More information about the vtkusers
mailing list