Display 3D scalar in Structured Points data file
32*32*12 CT scan data of the human heart (courtesy of Henk Mastenbroek, RuG)
All Tcl-scripts are modifications of the basic script isosurface.tcl
../fortranVtk/3DdataVtk.f shows how to generate and display this data with a Fortran program.
Uses data file $VTKDATA/rheart.vtk , see data spacing
Special: vtkPlane, vtkCutter
contour lines in z-slices
Special: vtkStructuredPointsGeometryFilter, tcl-procedure
spheres colored by data values, see also ../glyphs
Special: vtkSphereSource, vtkGlyph3D, vtkExtractVOI
See book=2ed. 216 ...
Needs binary data file $VTKDATA/binHeart.vtk .
See conversion program $VTKDATA/asciiToBinSP.c to generate Structured Points BINARY vtk file from the ASCII data file $VTKDATA/heartData.vtk
Special: vtkPiecewiseFunction, vtkColorTransferFunction, vtkVolumeProperty, vtkVolumeRayCastCompositeFunction , vtkVolumeRayCastMapper, vtkVolume volume
two isosurfaces, change opacity of one iso surface
The order in which the actors are added to the Rendere is critical!
reads data file
two scalars: scalars and colors
An isosurface is generated from the scalars data and the color is generated from the colors values
See how two scalar data sets must be read with two separate readers ...
Special: vtkContourFilter, vtkProbeFilter, vtkCastToConcrete,vtkPolyDataNormals, vtkLODActor
Cones are not displayed during transformations - this effect is caused by vtkLODActor.
Special: vtkConeSource, vtkGlyph3D, vtkLODActor
RuG vtk course