Beginning GUI: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 89: Line 89:


==Move the camera==
==Move the camera==
ParaView allows the user to change the position of the camera.  Such controls as '''Roll''', '''Elevation''' and '''Azimuth''' are available.  The '''Adjust Camera''' icon is on the right side of the row of icons at the top left of the 3d window.  It looks like this:  
ParaView allows the user to change and store the position of the camera.  Such controls as '''Roll''', '''Elevation''' and '''Azimuth''' are available.  The '''Adjust Camera''' icon is on the left side of the row of icons at the top left of the 3d window.  It looks like this:  


[[Image:beginning_gui_20.png]]
[[Image:beginning_gui_20.png]]


The A'''djust Camera''' dialog box looks like this:  
The '''Adjust Camera''' dialog box looks like this:  


[[Image:beginning_gui_21.png]]
[[Image:beginning_gui_21.png]]


Useful controls that I often use (in order) are as follows:
Useful controls that I often use (in order) are as follows:
*'''Custom Configure''' - Save up to 4 camera positions.
*'''Azimuth''' - rotate around the vertical axis.  Be sure to hit the button after entering a number.
*'''Azimuth''' - rotate around the vertical axis.  Be sure to hit the button after entering a number.
*'''Elevation''' - rotate around the horizontal axis in the plane of the screen.
*'''Elevation''' - rotate around the horizontal axis in the plane of the screen.
Line 106: Line 107:
*'''View Up''' - I don't know what this is.
*'''View Up''' - I don't know what this is.
*You can always recenter the object using the '''Reset''' icon.  First, however, be sure to change '''View angle''' back to 30.
*You can always recenter the object using the '''Reset''' icon.  First, however, be sure to change '''View angle''' back to 30.


==Color Map==
==Color Map==

Revision as of 01:14, 23 December 2015

Introduction

This usecase presents a few of the more important new ParaView 3.X GUI features. A full list of features can be found in the online help.

The paraview viewscreen can now be split. This allows a user to see multiple aspects of their data at one time, or to display in multiple data files side by side.

Data is opened by going to File → Open. Example data files can be found on the ParaView web page at http://www.paraview.org

Information tab

  • Open can.exo. Turn all of the variables on. Press Apply.
  • Open the Information tab.
    • The first section tells you what blocks and sets you have in this dataset.
    • Next comes properties on this dataset.
    • The Statistics section tells you the number of cells and points in your dataset. Note that Memory is incorrect.
    • Data Arrays gives information on each variable, including the min and max. Note that this is for the current timestep only.
    • Bounds give the X, Y and Z bounds of the bounding box.
    • Last is a list of all timesteps, with their associated time.

Beginning gui information tab.jpg

Right click menu based commands

  • Open can.exo. Press Apply.
  • Right click on the object.

Beginning gui onscreenMenu.png

Click on object to select

  • Open can.exo. Press Apply.
  • Open disk_out_ref.exo. Press Apply.
  • Left click on the can.
  • Left click on disk_out_ref.
  • Notice that the focus in the pipeline browser is following your selections.

Split windows

  • Open can.exo. Press Apply.
  • Drag the can around with the left mouse button until you can see the can.
  • Split screen vertical – i.e., one above the other. This is the little box with the horizontal line.

Beginning gui 1.png

  • Select 3D View.
  • Turn the eyeball on for can, in the Pipeline Browser.
  • Split screen vertical – i.e., one above the other. This is the little box with the horizontal line.

Beginning gui 1.png

  • Select 3D View.
  • Turn the eyeball on for can, in the Pipeline Browser.
  • This last was a mistake. Undo, Undo, Undo. Undo is the red counter clockwise button.

Beginning gui 2.png

  • Select the bottom viewport.
  • Split screen horizontal – i.e., one next to the other. This is the little box with the vertical line.

Beginning gui 1.png

  • Select 3D View.
  • Turn the eyeball on for can, in the Pipeline Browser.
  • Now lets link the cameras. Right click on the upper window, and click on Link Camera. Click on the lower right window. Do the same between the two bottom windows.
  • Click in the lower left window, color by DISPL. Turn on Color Legend Visibility.
  • Click in the lower right window, color by ACCL. Turn on Color Legend Visibility.
  • Click in the upper window, color by VEL. Turn on Color Legend Visibility.
  • Go to the last frame, click on Rescale to Data Range, go to first frame, play.


Beginning gui 3.png


Move/control windows

  • Select the top window. Apply a clip filter to this window. Filters/ Common/ Clip/ Apply. Deselect the Show Plane check box.
  • Click on the Maximize button of the upper window.

Beginning gui 1.png

  • Click the Restore button of the upper window.
  • Next, using the left mouse button, grab the title bar of the lower left window and drag/drop it into the upper window. These two windows have now switched places.
  • Finally, grab the divider between the two lower windows and drag it left and right. You can also move the divider between the upper and lower windows.

Unlink windows

  • To unlink the windows, we use the Link Manager. Tools/ Manage Links. Select the second link, and click Remove. Close.
  • Now, grab and rotate can in the three windows.
  • Finally, delete the bottom two windows, using the Close button.

Beginning gui 1.png

Control the center

  • Click on the Show Center icon. Notice that this toggles the center cross.
  • Click on the Pick Center icon, then select a location on the can. Rotate the can, and notice where it is rotating.
  • Click on the Reset Center icon, returning the rotation location and center cross to the center of the object.

Beginning gui 4.png

  • You can always recenter the object using the Reset icon.

Beginning gui 5.png


Auto apply

ParaView now has the ability to auto apply commands. This button is to the left of the blue question mark, and looks like this:AutoApplyToggle.png

Move the camera

ParaView allows the user to change and store the position of the camera. Such controls as Roll, Elevation and Azimuth are available. The Adjust Camera icon is on the left side of the row of icons at the top left of the 3d window. It looks like this:

Beginning gui 20.png

The Adjust Camera dialog box looks like this:

Beginning gui 21.png

Useful controls that I often use (in order) are as follows:

  • Custom Configure - Save up to 4 camera positions.
  • Azimuth - rotate around the vertical axis. Be sure to hit the button after entering a number.
  • Elevation - rotate around the horizontal axis in the plane of the screen.
  • Roll - rotate around the axis coming out of the screen.
  • View angle - basically a zoom in.
  • Camera position - where the camera is.
  • Focal point - where the camera is looking.
  • View Up - I don't know what this is.
  • You can always recenter the object using the Reset icon. First, however, be sure to change View angle back to 30.

Color Map

  • Select the DISPL variable.

Beginning gui 6.png

  • Move forward one time step using the Next Frame icon.
  • Click on the Rescale to Data Range icon.
  • Click on the Toggle Color Legend Visibility icon.
  • Click on the Edit Color Map icon.

Beginning gui 6.png


Beginning gui 7.png


  • The Color Scale Editor is used to change the colormap. The online help covers the Color Scalar Editor (Help → Help → ParaView → Object Inspector → Display Panel → Color Selection).
  • Select the Use Logarithmic Scale icon. Notice what has happened to the colors on the can. Unselect Use Logarithmic Scale icon.
  • Select the Choose Preset icon. Choose Cool to Warm, then OK. Notice what has happened to the colormap. This is an easier to understand colormap than the rainbow one that all of us are use to. Next, choose the Blue to Red Rainbow preset. Although harder to understand (requiring an understanding of the layout of the rainbow colors), this one makes prettier pictures.


Beginning gui 8.png


  • Uncheck the Automatically Rescale to Fit Data Range checkbox. Select Rescale Range.
  • We can now select the variable ranges for the color range. Since I know the range of the data for DISPL, input 0 for the minimum and 20 for the maximum. Hit the Rescale button.


Beginning gui 9.png


  • I found these numbers by going to time step 0, doing a Rescale to Data Range and using this number for the minimum, and repeating the process for the last time step to find the maximum.


Cube Axes

  • Open dataset disk_out_ref.exo.
  • On the Display tab, scroll down to the Annotation section, and select Show Cube Axes.
  • Note that you can edit the Cube Axes attributes.


Advanced tips and tricks 1.png


Lighting - Specular

Menus and Help

  • Open help. Help/ Help/ Contents/ + ParaView
  • File menu. + File menu. Go over these entries.
  • Edit menu. + Edit Menu. Go over these entries.
  • View menu. + View Menu. Go over these entries.
  • Sources menu. Show cone. Mention use of Cone and Sphere.
  • Filters Menu. Show clip.
  • Tools menu. + Tools Menu


Acknowledgements

Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000.