[vtkusers] Question about the vtk and iso-surface
Wei Guo
weiguo at cs.utah.edu
Thu Aug 25 15:16:46 EDT 2005
Hi,
I am new to vtk and I can not find the answer in the VTK FAQ. Sorry for
bothering you.
There are two files in the attachment: one is a data file and another is a
tcl program for the iso-surface. The data file is a volume of dimention
3*4*6: only the scalars of the first and last slice are defined as 10.0,
other slices are defined as 0.0.
My question is that I can not get the isosurface with isovalue as 0.0 but
can get all the other iso-surface from 1.0 to 10.0, though there are lots
0.0 in the file. And I use the version of vtk as 3.2.
Could some one help me with this problem?
Thanks,
Wei
-------------- next part --------------
# vtk DataFile Version 2.0
Volume example
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 3 4 6
ORIGIN 0 0 0
SPACING 1.000000 1.000000 1.000000
POINT_DATA 72
SCALARS sampledata double
LOOKUP_TABLE default
10.000000 10.000000 10.000000 10.000000 10.000000 10.000000 10.000000 10.00000 10.000000 10.000000 10.000000 10.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000
10.000000 10.000000 10.000000 10.000000 10.000000 10.000000 10.000000 10.00000 10.000000 10.000000 10.000000 10.000000
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skin.tcl
Type: application/x-tcl
Size: 1659 bytes
Desc:
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050825/a1ad8d83/attachment.tcl>
More information about the vtkusers
mailing list