Visualization with
Before we begin Make sure you have 3.10.1 installed so you can follow along in the lab section http://paraview.org/paraview/resources/software.html
http://www.paraview.org/ Background Open-source, multi-platform parallel data analysis and visualization application Mature, feature-rich interface Good for general-purpose, rapid visualization Built upon the Visualization ToolKit (VTK) library Primary contributors: Kitware, Inc. Sandia National Laboratory Los Alamos National Laboratory Army Research Laboratory
Data Types Supports a wide variety of data types Structured grids uniform rectilinear, non-uniform rectilinear, and curvilinear Unstructured grids Polygonal data Images Multi-block AMR Time series support
Visualization Algorithms Supports a wide variety of visualization algorithms Isosurfaces Cutting planes Streamlines Glyphs Volume rendering Clipping Height maps
Special Features Supports derived variables New scalar / vector variables that are functions of existing variables in your data set Scriptable via Python Saves animations Can run in parallel / distributed mode for large data visualization
Data Formats Supports a wide variety of data formats VTK (http://www.vtk.org/vtk/img/file-formats.pdf) EnSight Plot3D Various polygonal formats Users can write data readers to extend support to other formats Conversion to the VTK format is straightforward
Data Formats VTK Simple Legacy Format ASCII or binary Supports all VTK grid types Easiest for data conversion Note: use VTK XML format for parallel I/O VTK simple legacy format (http://www.vtk.org/vtk/img/file-formats.pdf)
Data Formatting Example Data set: 4x4x4 rectilinear grid with one scalar variable
Visualization Pipeline All processing operations (filters) produce data sets Can further process the result of every operation to build complex visualizations e.g. can extract a cutting plane, and apply glyphs (i.e. vector arrows) to the result Gives a plane of glyphs through your 3D volume
Demonstration WRF weather forecast data set Rectilinear grid Multiple scalar and vector variables Time series Can show: Clouds Wind Temperature
Test-Drive
Getting Started Download example data file RectGrid2.vtk http://portal.longhorn.tacc.utexas.edu/training/ Right-click, Save link as Open
Today we will: Create isosurfaces for a scalar variable Clip and slice the isosurfaces Use glyphs to display a vector field Use streamlines to show flow through a vector field Edit color maps Add slices to show variable values over a plane Adjust opacities of filters Add color legends Create volume rendering
Open the file RectGrid2.vtk Click File -> Open Select RectGrid2.vtk Click OK Box outline of dataset extent displayed
Open the file RectGrid2.vtk Click File -> Open Select RectGrid2.vtk Click OK Box outline of dataset extent displayed
Open the file RectGrid2.vtk Click File -> Open Select RectGrid2.vtk Click OK Box outline of dataset extent displayed
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Create isosurfaces Common -> Contour In Isosurfaces box, click Delete All Click New Range Keep defaults, click OK Click Display tab In Color by box, select vectors
Clip isosurfaces Click +Y view button Common -> Clip Drag arrow point around to front of surface (arrow turns red when selected) Click Inside Out checkbox Click Show Center button to remove crosshairs
Clip isosurfaces Click +Y view button Common -> Clip Drag arrow point around to front of surface (arrow turns red when selected) Click Inside Out checkbox Click Show Center button to remove crosshairs
Clip isosurfaces Click +Y view button Common -> Clip Drag arrow point around to front of surface (arrow turns red when selected) Click Inside Out checkbox Click Show Center button to remove crosshairs
Clip isosurfaces Click +Y view button Common -> Clip Drag arrow point around to front of surface (arrow turns red when selected) Click Inside Out checkbox Click Show Center button to remove crosshairs
Clip isosurfaces Click +Y view button Common -> Clip Drag arrow point around to front of surface (arrow turns red when selected) Click Inside Out checkbox Click Show Center button to remove crosshairs
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Slice isosurfaces Click eye next to Clip1 to hide clip plot Click Contour1 in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected)
Create Glyph of Vector Field Click RectGrid2.vtk in Pipeline Browser Common -> Glyph
Create Glyph of Vector Field Click RectGrid2.vtk in Pipeline Browser Common -> Glyph
Create Glyph of Vector Field Click RectGrid2.vtk in Pipeline Browser Common -> Glyph
Create Glyph of Vector Field Click RectGrid2.vtk in Pipeline Browser Common -> Glyph
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Streamlines Click eye next to Glyph1 to hide glyph plot Click RectGrid2.vtk in Pipeline Browser Common -> Stream Tracer Under Display tab, in the Color by box, select Vorticity
Create Tubes Click StreamTracer1 in Pipeline Browser Alphabetical -> Tube
Create Tubes Click StreamTracer1 in Pipeline Browser Alphabetical -> Tube
Create Tubes Click StreamTracer1 in Pipeline Browser Alphabetical -> Tube
Create Tubes Click StreamTracer1 in Pipeline Browser Alphabetical -> Tube
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Edit Color Map Click Edit Color Map Click Choose Preset Select BLUE...HSV Click blue OK Click blue Close
Create Slice Click RectGrid2.vtk in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected) Or click Y Normal Click Show Plane
Create Slice Click RectGrid2.vtk in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected) Or click Y Normal Click Show Plane
Create Slice Click RectGrid2.vtk in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected) Or click Y Normal Click Show Plane
Create Slice Click RectGrid2.vtk in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected) Or click Y Normal Click Show Plane
Create Slice Click RectGrid2.vtk in Pipeline Browser Common -> Slice Drag arrow point around to front of surface (arrow turns red when selected) Or click Y Normal Click Show Plane
Background Color Click the button above the 3D view Click Choose Color Drag box to black Click blue Ok Click blue Ok
Background Color Click the button above the 3D view Click Choose Color Drag box to black Click blue Ok Click blue Ok
Background Color Click the button above the 3D view Click Choose Color Drag box to black Click blue Ok Click blue Ok
Background Color Click the button above the 3D view Click Choose Color Drag box to black Click blue Ok Click blue Ok
Background Color Click the button above the 3D view Click Choose Color Drag box to black Click blue Ok Click blue Ok
Object Opacity Click Slice2 in Pipeline Browser Click Display Change Opacity to 0.70 -> Enter Click Color by vectors Click eye next to RectGrid2.vtk to hide box outline
Object Opacity Click Slice2 in Pipeline Browser Click Display Change Opacity to 0.70 -> Enter Click Color by vectors Click eye next to RectGrid2.vtk to hide box outline
Object Opacity Click Slice2 in Pipeline Browser Click Display Change Opacity to 0.70 -> Enter Click Color by vectors Click eye next to RectGrid2.vtk to hide box outline
Object Opacity Click Slice2 in Pipeline Browser Click Display Change Opacity to 0.70 -> Enter Click Color by vectors Click eye next to RectGrid2.vtk to hide box outline
Object Opacity Click Slice2 in Pipeline Browser Click Display Change Opacity to 0.70 -> Enter Click Color by vectors Click eye next to RectGrid2.vtk to hide box outline
Enable Color Legend Click Display Click Edit Color Map Click Color Legend Click Show Color Legend Click -> Blue Close Select Color Legend (notice white rectangle) and move to top of 3D viewer
Enable Color Legend Click Display Click Edit Color Map Click Color Legend Click Show Color Legend Click -> Blue Close Select Color Legend (notice white rectangle) and move to top of 3D viewer
Enable Color Legend Click Display Click Edit Color Map Click Color Legend Click Show Color Legend Click -> Blue Close Select Color Legend (notice white rectangle) and move to top of 3D viewer
Enable Color Legend Click Display Click Edit Color Map Click Color Legend Click Show Color Legend Click -> Blue Close Select Color Legend (notice white rectangle) and move to top of 3D viewer
Enable Color Legend Click Display Click Edit Color Map Click Color Legend Click Show Color Legend Click -> Blue Close Select Color Legend (notice white rectangle) and move to top of 3D viewer
Create Volume Rendering Click RectGrid2.vtk in Pipeline Browser Alphabetical -> Tetrahedralize Click -> Apply Click Display Click Representation Select Volume Click -> Edit Color Map (To edit transfer function)
Create Volume Rendering Click RectGrid2.vtk in Pipeline Browser Alphabetical -> Tetrahedralize Click -> Apply Click Display Click Representation Select Volume Click -> Edit Color Map (To edit transfer function)
Create Volume Rendering Click RectGrid2.vtk in Pipeline Browser Alphabetical -> Tetrahedralize Click -> Apply Click Display Click Representation Select Volume Click -> Edit Color Map (To edit transfer function)
Create Volume Rendering Click RectGrid2.vtk in Pipeline Browser Alphabetical -> Tetrahedralize Click -> Apply Click Display Click Representation Select Volume Click -> Edit Color Map (To edit transfer function)
Create Volume Rendering Click RectGrid2.vtk in Pipeline Browser Alphabetical -> Tetrahedralize Click -> Apply Click Display Click Representation Select Volume Click -> Edit Color Map (to edit transfer function)
Questions? More tutorials available: http://www.paraview.org/wiki/the Tutorial