[vtkusers] vtkStructuredPointsWriter

Bill Lorensen wlorens1 at nycap.rr.com
Tue Jan 23 18:27:07 EST 2001


Try 
sp->Update()

before the write

At 02:15 PM 1/23/01 +0200, Ahmed Mahmoud wrote:
>Hello all,
>I have 16 bit file , this is my pipeline
>
>vtkVolume16Reader  reader
>vtkStructuredPoints  sp
>sp=reader->GetImage (1);
>
>I want to use vtkStructuredPointsWriter to write to file
>
>  vtkStructuredPointsWriter  writer
>  writer->SetInput(sp);
>  writer->SetFileName(filename);
>  writer->Write ();
>
>the result is a file 1 KB only .....  What is the wrong ??
>Thank You.
>Ahmed.
>
>
>_______________________________________________
>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://public.kitware.com/mailman/listinfo/vtkusers 






More information about the vtkusers mailing list