[vtkusers] Please help
Ahmed Mahmoud
ahmedmm at gega.net
Tue Jan 16 17:49:11 EST 2001
Hello all,
I have 2D images 16 bit files , I opened the images with vtkVolume16Reader
and I made some image processing and transfer the file to
vtkStructuredPoints and I want to write it back to another file.
I tried the following without success
1) renderWin->SetFileName(File name);
renderWin->SaveImageAsPPM ();
2) vtkPNMWriter *writer1
writer1->SetFileName (file name);
writer1->SetInput (vtkStructuredPoints * );
writer1->Write ();
3) vtkStructuredPointsWriter *writer;
writer->SetInput(vtkStructuredPoints * );
writer->SetFileName(file name);
writer->Write ();
Please , How can I save the resultant image to another file
Thank You .
Ahmed
More information about the vtkusers
mailing list