FlashView - PowerPoint PPT Presentation

1 / 35
About This Presentation
Title:

FlashView

Description:

Series of images movie. Parallel. 25-Jan-05. Argonne Futures Laboratory ... axestoggle true // toggle display of axes glyph ('true' or 'false' (default) ... – PowerPoint PPT presentation

Number of Views:79
Avg rating:3.0/5.0
Slides: 36
Provided by: randyh92
Category:
Tags: flashview | glyph

less

Transcript and Presenter's Notes

Title: FlashView


1
FlashView
  • Introduction
  • Installing
  • Controls
  • Tutorials

2
Introduction
3
Introduction, cont.
  • HDF5 flash data
  • Linux
  • Serial parallel
  • Interactive batch
  • Movies

4
Introduction, cont.
  • Concurrent display
  • Grid
  • Iso-surfaces of 5 variables
  • Cutting planes of 5 variables
  • Unique colormap per variable
  • Three clipping planes

5
Installing
  • Building
  • Libs
  • VTK Visualization
  • MPICH Parallelism
  • FLTK GUI
  • HDF5 Data
  • CMake
  • CMakeLists.txt
  • ccmake ltsource_dirgt

6
CMakeLists.txt
  • Variable name Sample value
  • CMAKE_BACKWARDS_COMPATIBILITY 1.8
  • CMAKE_CXX_COMPILER g
  • CMAKE_C_COMPILER gcc
  • CMAKE_INSTALL_PREFIX bin
  • CMAKE_VERBOSE_MAKEFILE ON
  • FLASHHDF_HEADERS
    /fvpath/FlashHDF5
  • FLASHVTKCOMPONENTS_HEADERS
    /fvpath/FlashVTKComponents
  • FLTK_GL_LIBRARY
    /fltkpath/lib/libfltk_gl.a
  • FLTK_HEADERS
    /fltkpath/include
  • FLTK_LIBRARY
    /fltkpath/lib/libfltk.a
  • HDF_HEADERS /hdfpath/include
  • HDF_LIBRARY
    /hdfpath/lib/libhdf5.so
  • MPICH_HEADERS
    /mpichpath/include
  • MPICH_LIBRARY
    /mpichpath/lib/libmpich.a
  • VTKFLRENDERWINDOWINTERACTOR_HEADERS
    /fvpath/vtkFlRenderWindowInteractor
  • VTK_COMMON_LIBRARY
    /vtkpath/lib/vtk/libvtkCommon.so
  • VTK_FILTERING_LIBRARY
    /vtkpath/lib/vtk/libvtkFiltering.so
  • VTK_GRAPHICS_LIBRARY
    /vtkpath/lib/vtk/libvtkGraphics.so

7
ccmake
8
Installing
  • make
  • make install

9
Controls
  • Interactive
  • Menus
  • File
  • Open (CTL-O)
  • Save image (CTL-I)
  • Save UG (CTL-U)
  • Quit (CTL-Q)
  • Show
  • Toggle axes and colorbars

10
Controls, cont.
  • Interactive, cont.
  • Control panels
  • Graphical display
  • Resize
  • Manipulate objects in scene
  • vtkInteractorStyle

11
Controls, cont.
  • Interactive
  • Control panels
  • Global
  • Display grid
  • Load variables
  • Active Variables
  • Cutting planes
  • Isosurfaces
  • Colormaps
  • Save objects to file
  • Rendering
  • Clipping
  • Three planes
  • Cutting planes
  • Isosurfaces
  • Grid

12
Clipping
13
Clipping, cont.
14
Controls, cont.
  • Interactive, cont.
  • Control panels, cont.
  • Information
  • Number of polygons
  • Area of isosurfaces
  • Camera location

15
Controls, cont.
  • Batch
  • Parameter file
  • Single image
  • Series of images movie
  • Parallel

16
Parameter.txt
  • guitoggle true // GUI? If "true"
    (default), use only "mpelogtoggle" parameter
  • infilename datafile // load data from this
    file
  • outfilename outimg.ppm // save image to this file
    in batch mode (default "ltinfilegt.pnm")
  • cam 1.0 2.0 3.0 // Absolute position, in
    world-space coordinates, of camera
  • camfocus 0.0 0.0 0.0 // Absolute position, in
    world-space coordinates, of camera target
  • winres 512 512 // X-Y resolution of image
  • gridtoggle false // display data grid?
    ("true" or "false" (default))
  • vnum1 3 // Index of single variable
    to activate
  • cmap1 0 // Index, into
    "colormap-files/list", of variable's colormap
    file
  • datamodel false // "ascii" write
    VTK ASCII, and VRML, isosurfaces to files
  • dmprefix pfxname // prefix of names of all
    datamodel files written (batch mode)
  • axestoggle true // toggle display of axes
    glyph ("true" or "false" (default))
  • colorbarstoggle true // toggle display of color
    bars ("true" or "false" (default))
  • xcut3 .1 .1 .1 // normalized loc of X cut
    planes in domain for 3 active variables
  • isomode NORMAL // "ABSOLUTE" (default) or
    "NORMAL" ("NORMAL" means "normalized")
  • iso3 .2 .3 .4 // iso values for 3 variables,
    absolute or normalized
  • cmaprange3 ltmingt ltmaxgt ltmingt ltmaxgt ltmingt ltmaxgt //
    value ranges of 3 vars mapped to color
  • cliporigin .5 .5 .5 // NORMALIZED X,Y,Z
    coords of intersection of 3 clipping planes
  • cliptoggle true true true // toggle of X,Y,Z,
    resp., clip planes

17
Colormap Editor
  • General
  • Python 2.2 or 2.3 with wxPython 2.5.3.1
  • Windows or Linux
  • Controls
  • Menu
  • Load file, Save file
  • Upper Panel
  • Show maps
  • Manage control points
  • Change data range
  • Edit
  • Lower Panel
  • Color
  • Opacity

18
Tutorials - interactive
  • Start
  • Load file
  • Load variable
  • Show isosurface
  • Show cutting planes
  • Change color
  • Clip objects
  • Information
  • Save image
  • Save objects

19
Start
  • Parameters.txt at least guitoggle true
  • Serial flashview
  • Parallel
  • (distribute app, parameters, colormaps)
  • mpirun np ltnumprocsgt -machinefile ltmfilegt
    flashview

20
Load File
  • File-Open menu or CTL-O
  • (file dialog)
  • Enter input file name in dialog
  • Global and Information panels

21
Load Variable
  • Select variable from drop-down menu
  • Click Load button
  • (Active Variables and Clipping panels)

22
Show Isosurfaces
  • Select tab for variable
  • Move slider or enter value
  • Repeat for lt 4 more variables
  • Click Render Image button

23
Show Cutting Planes
  • Select tab for variable
  • Move slider or enter value
  • Repeat for lt 4 more variables
  • Click Render Image button

24
Change Color
  • Choose colormap
  • Select colormap
  • Click Apply button
  • Set log color
  • Click Log button
  • Click Apply button
  • Change data range
  • Enter new data values
  • Click Apply button

25
Clip Objects
  • Select objects to clip
  • Select clipping planes
  • (Set normals and origin)
  • (Click Invert button)
  • Click Clip button

26
Information
27
Save Image
  • File-Save Image or CTL-S
  • (Image of Graphics panel saved to pnm file)

28
Save Objects
  • Displayed models of all variables
  • Click ASC or BIN button at top of panel
  • Displayed models of one variable
  • Click ASC or BIN button at bottom of tab

29
Tutorials - batch
  • Start
  • Parameters
  • Serial
  • Parallel
  • One image
  • Image series

30
Start
31
Parameters
32
Serial
33
Parallel
34
One Image
35
Image Series
Write a Comment
User Comments (0)
About PowerShow.com