[vtkusers] vtkBPMReader
Ermin Hasičević
Ermin.Hasicevic at iskon.hr
Tue Sep 4 08:14:01 EDT 2001
I have looked at vtkBMPReader.cpp few moments ago, and
it seems that that error can only occur if fopen fails to open
file of interest. Check that file name is also precede whit full
path to the file. I can't think of any other reason why should
that error happen presuming that file exist and it's name
is correctly supplied to bmp reader.
Ermin
-----Original Message-----
From: lappadj at libero.it
Sent: uto 04.09.01 10:42
To:
Cc: vtkusers at public.kitware.com
Subject: [vtkusers] vtkBPMReader
Hi,
i have followed your instruction for reading the volume with
vtkBMPReader:
/////////////////////////////////////////////
BMPReader->SetFilePrefix(FilePrefix);
BMPReader->SetFilePattern("%s_%03d.bmp");
Here %s stands for file prefix. So all files should be named
something
like:
image_001.bmp
image_002.bmp
//////////////////////////////////////////
,the visual C++ compiler build the project without problem,but i
receive an error message window:the memory is not read,and in
vtkOutputWindow receive this massage:"error in
C:/programmi/vtk-src-
windows/imaging/vtkBPMReader.cxx(01D695E8) unable to open
pat_00.bpm.You can help?
Thanks a lot
Massimiliano La Paglia
_______________________________________________
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4782 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010904/5964117b/attachment.bin>
More information about the vtkusers
mailing list