[vtkusers] vtkBMPWriter
Franz Th. Langer
eplanung at t-online.de
Sun Sep 30 08:56:49 EDT 2001
Hallo vtkusers,
we found a strange problem with vtkBMPWriter:
in trying to write a bmp-file we got an Error in the virtual function
Write().
..
..
vtkRendererSource *renSrc=vtkRendererSource::New();
renSrc->SetInput(Renderer);
renSrc->WholeWindowOn();
vtkBMPWriter *writer=vtkBMPWriter::New();
writer->SetInput(renSrc->GetOutput());
writer->SetFileName("circtest.bmp");
writer->Write();
renSrc->Delete();
writer->Delete();
..
debugging information on the pointer writer-> says for the FileName: 99
'c' only!!!!
it looks like that vtkImageWriter.SetFileName(const char *name) is on
Error!!
we working with: NT 4.0/sp5, VC++ 5.0/sp3, VTK 3.2
perhaps someone can help?
regards Franz.
More information about the vtkusers
mailing list