[vtkusers] How to compile the demo project medical3

abc neuser2005 at 163.com
Thu May 18 22:17:30 EDT 2006


Hi,

I have a question about compile the medical3 demo code. I think it's about vtkVolume16Reader->SetFilePrefix() method. 

vtkVolume16Reader *v16 = vtkVolume16Reader::New();
    v16->SetDataDimensions(256,256);
    v16->SetDataByteOrderToLittleEndian();
    v16->SetFilePrefix ("D:\\VTKData\\Data\\headsq\\quarter");
    v16->SetImageRange(1, 94);
    v16->SetDataSpacing (0.8, 0.8, 1.5);

When compile this code, vtk output window will show "ERROR: In C:\martink\nightly\VTK\IO\vtkVolume16Reader.cxx, line 375
vtkVolume16Reader (0x013543D8): Error reaading raw pgm data!". who can tell me why?

Thanks




abc
2006-05-19
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060519/37685567/attachment.htm>


More information about the vtkusers mailing list