ParaView/Users Guide/Saving Data: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
== Saving Data ==
== Saving Data ==
Once you have created a visualization of your data in ParaView, you can save the resulting work as raw data, image, movie, and geometry.
Once you have created a visualization of your data in ParaView, you can save the resulting work as raw data, or an image, movie, or geometry.


=== Save raw data ===
=== Save raw data ===
Any object in the ParaView pipeline browser can be saved to a data file by selecting '''Save Data''' from the '''File''' menu. The available file types will change based on the data set type of the current data set. The file formats in which ParaView can save data are listed on [[ParaView/Users Guide/List_of_writers|List of Writers]]  
Any object in the ParaView pipeline browser can be saved to a data file by selecting Save Data from the File menu. The available file types will change based on the dataset type of the current dataset. The file formats in which ParaView can save data are listed on [[ParaView/Users Guide/List_of_writers|List of Writers]]  


[[Image:ParaView_UsersGuide_SaveParaViewWindowDialog.png‎|500px]]
[[Image:ParaView_UsersGuide_SaveParaViewWindowDialog.png‎|thumb|center|500px|'''Figure 7.1''' Saving Files in ParaView]]


=== Save screenshots ===
=== Save screenshots ===
Line 12: Line 12:


* Image size
* Image size
* Aspect Ratio of the Image
* Aspect ratio of the image
* Image Quality
* Image quality
* [[Color_Palettes|Color Palette]]  
* [[Color_Palettes|Color palette]]  
* Stereo Mode
* Stereo mode


[[Image:ParaView_UG_ScreenshotDialog.png‎]]
[[Image:ParaView_UG_ScreenshotDialog.png‎|thumb|center|400px|'''Figure 7.2''' Save Snapshot Resolution Dialog Box]]


=== Save Animation ===
=== Save Animation ===
Once you have created an animation of your data, you can save the animation to disk either as a series of images (one per animation frame) or as a movie file. The animation will contain all the visible views.  
Once you have created an animation of your data, you can save the animation to disk either as a series of images (one per animation frame) or as a movie file. The animation will contain all the visible views.  


To do this, select '''Save Animation''' from the '''File''' menu. The '''Animation Settings Dialog''' then appears, which lets you set properties for the recorded animation.
To do this, select Save Animation from the File menu. The Animation Settings Dialog then appears, which lets you set properties for the recorded animation.


[[Image:ParaView_UG_SaveAnimation.png]]
[[Image:ParaView_UG_SaveAnimation.png|thumb|center|600px|'''Figure 7.3''' Animation Settings Dialog Box]]


Once you press the Save Animation button, a save file dialog box will allow you to choose where to save your image or movie file(s). Enter a file name, select an image file type (.jpg, .tif, or .png) or a movie file type (.avi).  
Once you press the Save Animation button, a save file dialog box will allow you to choose where to save your image or movie file(s). Enter a file name then select an image file type (.jpg, .tif, or .png) or a movie file type (.avi).  


Once you choose a file name, the animation will play from beginning to end, and the animation frames generated will be used to create the selected type of image or movie file(s). While the image is playing the render window in ParaView will not update with the correct frame.
Once you choose a file name, the animation will play from beginning to end, and the animation frames generated will be used to create the selected type of image or movie file(s). While the image is playing the render window in ParaView will not update with the correct frame.


If you are connected to a remote server then the Disconnect before saving animation checkbox will be enabled. If you select this before saving the animation, then the ParaView client will disconnect from the server immediately, and the server will continue generating and saving images until the animation completes. When it is finished recording the animation, the server will shut down.
If you are connected to a remote server then the Disconnect Before Saving Animation checkbox will be enabled. If you select this before saving the animation, then the ParaView client will disconnect from the server immediately, and the server will continue generating and saving images until the animation completes. When it is finished recording the animation, the server will shut down.


=== Save geometries ===
=== Save geometries ===


In addition to saving images of each time step in your animation, you may also wish to save the geometry itself. Select '''Save Geometry''' from the '''File''' menu to do this. This will cause a file navigation dialog box to be displayed. Navigate to the location where you wish to save the geometry, and enter a file name. You must save your data using ParaView’s .pvd file format.  
In addition to saving images of each time step in your animation, you may also wish to save the geometry itself. Select Save Geometry from the File menu to do this. This will cause a file navigation dialog box to be displayed. Navigate to the location where you wish to save the geometry, and enter a file name. You must save your data using ParaView’s .pvd file format.  


Unlike an animation, save geometry will only save the visible geometry of the active view for each time step. The resulting .pvd file will contain a pointer to each of these files, which are saved in a folder with the same as the .pvd file.  
Unlike an animation, save geometry will only save the visible geometry of the active view for each time step. The resulting .pvd file will contain a pointer to each of these files, which are saved in a folder with the same as the .pvd file.  


You can later reload the .pvd file into ParaView as a time varying data set. If multiple data sets were displayed while the animation was running, they will be grouped together as a multi-block data set for each time step. If you then want to operate on the parts individually, run the '''Extract Blocks''' filter to select the appropriate block(s).
You can later reload the .pvd file into ParaView as a time varying dataset. If multiple datasets were displayed while the animation was running, they will be grouped together as a multi-block dataset for each time step. If you then want to operate on the parts individually, run the Extract Blocks filter to select the appropriate block(s).

Revision as of 15:55, 14 June 2011

Saving Data

Once you have created a visualization of your data in ParaView, you can save the resulting work as raw data, or an image, movie, or geometry.

Save raw data

Any object in the ParaView pipeline browser can be saved to a data file by selecting Save Data from the File menu. The available file types will change based on the dataset type of the current dataset. The file formats in which ParaView can save data are listed on List of Writers

Figure 7.1 Saving Files in ParaView

Save screenshots

ParaView allows the user to save either the active view or all the views. The resulting image will be saved on the client machine, even when running with a remote server. The dialog allows you to control the following:

  • Image size
  • Aspect ratio of the image
  • Image quality
  • Color palette
  • Stereo mode
Figure 7.2 Save Snapshot Resolution Dialog Box

Save Animation

Once you have created an animation of your data, you can save the animation to disk either as a series of images (one per animation frame) or as a movie file. The animation will contain all the visible views.

To do this, select Save Animation from the File menu. The Animation Settings Dialog then appears, which lets you set properties for the recorded animation.

Figure 7.3 Animation Settings Dialog Box

Once you press the Save Animation button, a save file dialog box will allow you to choose where to save your image or movie file(s). Enter a file name then select an image file type (.jpg, .tif, or .png) or a movie file type (.avi).

Once you choose a file name, the animation will play from beginning to end, and the animation frames generated will be used to create the selected type of image or movie file(s). While the image is playing the render window in ParaView will not update with the correct frame.

If you are connected to a remote server then the Disconnect Before Saving Animation checkbox will be enabled. If you select this before saving the animation, then the ParaView client will disconnect from the server immediately, and the server will continue generating and saving images until the animation completes. When it is finished recording the animation, the server will shut down.

Save geometries

In addition to saving images of each time step in your animation, you may also wish to save the geometry itself. Select Save Geometry from the File menu to do this. This will cause a file navigation dialog box to be displayed. Navigate to the location where you wish to save the geometry, and enter a file name. You must save your data using ParaView’s .pvd file format.

Unlike an animation, save geometry will only save the visible geometry of the active view for each time step. The resulting .pvd file will contain a pointer to each of these files, which are saved in a folder with the same as the .pvd file.

You can later reload the .pvd file into ParaView as a time varying dataset. If multiple datasets were displayed while the animation was running, they will be grouped together as a multi-block dataset for each time step. If you then want to operate on the parts individually, run the Extract Blocks filter to select the appropriate block(s).