[vtkusers] vtkPNMWriter::SetFileDimensionality(3)

David Gobbi dgobbi at irus.rri.ca
Fri Nov 30 15:05:57 EST 2001


Hi Sylvain,

It should work if you set the FileDimensionality to 2
(because the PNM files are 2-dimensional).

 - David


On Fri, 30 Nov 2001, Sylvain Jaume wrote:

> 
> When I save a 3D image into pnm using in VTK 4.0
> vtkPNMWriter with SetFileDimensionality(3)
> I only get the first slice (filename.000)
> Is there a way to save a 3D image as a set of pnm files?
> 
> Besides, could one of the kitware guy answer my previous question:
> Why did you remove RenderWindow::SaveImageAsPPM?
> 
> Thank you so much!
> Sylvain
> 
> _______________________________________________
> 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