Changes between Version 16 and Version 17 of Examples/Brain


Ignore:
Timestamp:
04/11/17 15:10:09 (7 years ago)
Author:
Herwig Zilken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Examples/Brain

    v16 v17  
    256256keyFrame2.ViewUp = [-0.981, 0.0255, -0.193]
    257257keyFrame2.ParallelScale = 0.8516115354228021
    258 # create key frame 2
     258# create key frame 3
    259259keyFrame3.KeyTime = 1.0
    260260keyFrame3.Position = [-0.0237, -0.092, 0.1564]
     
    283283=== Animation of Color and Opacity
    284284As seen above, the color and opacity maps are stored in Python as lists.
    285 Given a start and a end color/opacity list, it is very easy to implement a small python function to calculate a linear interpolation. In the following example, images of interpolated opacity values are rendered in 30 steps.
     285Given a start and a end color/opacity list, it is very easy to implement a python function to calculate a linear interpolation. In the following example, images of interpolated opacity values are rendered in 30 steps.
    286286{{{
    287287#!python
     
    321321Not only the data source, but also the output of !ParaView filters can be visualized. In this example we will use the !ExtractSubset filter to visualize a smaller part of the whole grid.
    322322The input of the !ExtractSubset has to be connected to the output of the XDMF reader.
    323 Then the scripts animates the volume of interest in 81 steps, fading away slices from the top and bottom side of the grid. At the end about 70 slices located in the middle of the grid are visible.
     323Then the scripts animates the volume of interest in 81 steps, fading away slices from the top and bottom side of the grid. At the end about 70 slices located in the middle of the original grid are visible.
    324324
    325325{{{