R How to arrange data to be read in by vtkStructuredPointsReader ?
Dingrong Yi
yidingr at cim.mcgill.ca
Sun Dec 19 12:30:51 EST 1999
Hello everybody,
Maybe I have a too simple question for you, but please help....
I want to visualize a structured data set as:
vtkStructuredPointsReader *aReader;
aReader = vtkStructuredPointsReader::New();
aReader->SetFileName(
"/home/scaphoid/yidingr/ShapeAnalysis/project/volume1_BS.data");
But the reader can not recognize my data. The reported error like this:
ERROR In vtkDataReader.cxx, line 369
vtkDataReader (0x805b6c8): Unrecognized file type: #vtk Boundary Seeded
field. for file:
/home/scaphoid/yidingr/ShapeAnalysis/project/volume1_BS.data
The volume1_BS.data is arranged as follows: yidingr at Brain{project}less
volume1_BS.data:
#vtk Boundary Seeded field.
Vessel Boundary Seeded field
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 164 151 63
ORIGIN 100.0 80.0 1.0
ASPECT_RATIO 1.0 1.0 1.0
POINT_DATA 1560132
SCALARS scalars float
LOOKUP_TABLE default
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
83.1522 77.6087 72.0652 66.5217 66.5217 72.0652
77.6087 83.1522 99.7826 116.413 110.87 110.87
116.413 121.957 127.5 133.043 138.587 144.13
.....
Could anybody tell me what is wrong with the combination of the
structured point volume1_BS.data and the vtkStructuredPointsReader ?
Thanks.
>
> Dingrong
>
>
>
>
>
>
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list