Pat Marion | 1 Mar 01:58 2013

Re: Controlling RenderView using Wiimote and VRPlugin

Hi Travis,

If you should decide that the VRPN is not the right fit for your application, you can have a look at the MobileRemoteControl plugin.  This plugin can be found in the paraview master branch, and it is in the ParaView v.3.98.1 source code and binary distribution.

You should be able to use this plugin as is, as long as your application conforms to the very simple socket communication protocol it expects.  To use it:

Your application is the client, the plugin in ParaView is the server.  You application connects to the socket that is opened by the mobile remote control plugin.
Your client code receives an integer (value of 1), then you send an integer (value of 4), then send camera state as 9 floats:  Position[3], FocalPoint[3], ViewUp[3].  You can see the server loop in the Run() method at the bottom of this file:

http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/MobileRemoteControl/pqRemoteControlThread.cxx;h=bcfec0343922e7325ea5110cbadb59cf39169a38;hb=HEAD

You can build or download ParaView 3.98.1, load the "Mobile Remote Control" plugin, then just click Start in the panel, and it will display the server ip and port number that your application should connect to.  This plugin was designed to support remote control by KiwiViewer, an iOS/Android app (which will be released next week, look for the release announcement soon!)

Pat

 

that is now included in the paraview master branch and packaged in ParaView v3.98.1.  This plugin is based off the socket plugin, but is improved and should no 

On Fri, Mar 1, 2013 at 8:09 AM, Aashish Chaudhary <aashish.chaudhary <at> kitware.com> wrote:
If you using the VRPN to read the Wiimote data, then it should be straightforward. 

The simplest example is vtkVRTrackStyle which handle a single tracker input. Have a look at it here: 


I could provide more help if needed. Let me know if you have any questions. 

Thanks, 
 


On Thu, Feb 28, 2013 at 4:41 PM, Bueter, Travis J. (S&T-Student) <tjbxv7 <at> mail.mst.edu> wrote:

Hi,

 

I am currently trying to create a way of controlling the camera in ParaView using the Joystick of a Wiimote (WiiC library). I had previously attempted this by using Pat Marion’s socket plugin to send camera changes through the python shell but ran into a problem with sending too many Render() commands. It was suggested to me by Pat Marion and the Kitware employees I met at SuperComputing 2012 to use the VRPlugin to accomplish this. So after a 3 month hiatus from my project, I have finally gotten back to it but am currently lost in documentation. I have no idea where to begin with writing the code for a custom device and then connecting to and writing the camera changes to the VRPN server for ParaView. If someone could point me in the right direction of documentation that explains how to create a custom device/interaction for the VRPlugin/VRPN or some examples of such user created applications I would greatly appreciate it!

 

Thanks,

 

Travis J. Bueter

----------------------------------------------------------------------

Missouri University of Science and Technology - Junior

B.S. Computer Engineering/Computer Science

tjbxv7 <at> mail.mst.edu

(573)-238-5843

 

IT Research Support Service

Treasurer – MS&T Robotics Competition Team

----------------------------------------------------------------------

 


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




--
| Aashish Chaudhary
| R&D Engineer        
| Kitware Inc.           
| www.kitware.com   

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


<div>
<p>Hi Travis,<br><br>If you should decide that the VRPN is not the right fit for your application, you can have a look at the MobileRemoteControl plugin.&nbsp; This plugin can be found in the paraview master branch, and it is in the ParaView v.3.98.1 source code and binary distribution.<br><br>You should be able to use this plugin as is, as long as your application conforms to the very simple socket communication protocol it expects.&nbsp; To use it:<br><br>Your application is the client, the plugin in ParaView is the server.&nbsp; You application connects to the socket that is opened by the mobile remote control plugin.<br>

Your client code receives an integer (value of 1), then you send an integer (value of 4), then send camera state as 9 floats:&nbsp; Position[3], FocalPoint[3], ViewUp[3].&nbsp; You can see the server loop in the Run() method at the bottom of this file:<br><br><a href="http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/MobileRemoteControl/pqRemoteControlThread.cxx;h=bcfec0343922e7325ea5110cbadb59cf39169a38;hb=HEAD" target="_blank">http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/MobileRemoteControl/pqRemoteControlThread.cxx;h=bcfec0343922e7325ea5110cbadb59cf39169a38;hb=HEAD</a><br><br>You can build or download ParaView 3.98.1, load the "Mobile Remote Control" plugin, then just click Start in the panel, and it will display the server ip and port number that your application should connect to.&nbsp; This plugin was designed to support remote control by KiwiViewer, an iOS/Android app (which will be released next week, look for the release announcement soon!)<br><br>Pat<br><br>&nbsp;<br><br>that is now included in the paraview master branch and packaged in ParaView v3.98.1.&nbsp; This plugin is based off the socket plugin, but is improved and should no&nbsp; <br><br></p>
<div class="gmail_quote">On Fri, Mar 1, 2013 at 8:09 AM, Aashish Chaudhary <span dir="ltr">&lt;<a href="mailto:aashish.chaudhary <at> kitware.com" target="_blank">aashish.chaudhary <at> kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

If you using the VRPN to read the Wiimote data, then it should be&nbsp;straightforward.&nbsp;<div><br></div>
<div>The simplest example is vtkVRTrackStyle which handle a single tracker input. Have a look at it here:&nbsp;</div>
<div><br></div>

<div><a href="http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/VR/vtkVRTrackStyle.h;h=7d73c7c5282b2c166223ee2bdd235f2cfb9d8356;hb=HEAD" target="_blank">http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/VR/vtkVRTrackStyle.h;h=7d73c7c5282b2c166223ee2bdd235f2cfb9d8356;hb=HEAD</a></div>

<div><br></div>
<div>I could provide more help if needed. Let me know if you have any questions.&nbsp;</div>
<div><br></div>
<div>Thanks,&nbsp;</div>
<div>&nbsp;</div>
<div>
<br><br><div class="gmail_quote">
<div>On Thu, Feb 28, 2013 at 4:41 PM, Bueter, Travis J. (S&amp;T-Student) <span dir="ltr">&lt;<a href="mailto:tjbxv7 <at> mail.mst.edu" target="_blank">tjbxv7 <at> mail.mst.edu</a>&gt;</span> wrote:<br>
</div>
<blockquote class="gmail_quote">
<div><div>

<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I am currently trying to create a way of controlling the camera in ParaView using the Joystick of a Wiimote (WiiC library). I had previously attempted this by using Pat Marion&rsquo;s socket plugin to send camera changes through the python shell
 but ran into a problem with sending too many Render() commands. It was suggested to me by Pat Marion and the Kitware employees I met at SuperComputing 2012 to use the VRPlugin to accomplish this. So after a 3 month hiatus from my project, I have finally gotten
 back to it but am currently lost in documentation. I have no idea where to begin with writing the code for a custom device and then connecting to and writing the camera changes to the VRPN server for ParaView. If someone could point me in the right direction
 of documentation that explains how to create a custom device/interaction for the VRPlugin/VRPN or some examples of such user created applications I would greatly appreciate it!
</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span>Travis J. Bueter</span></p>
<p class="MsoNormal"><span>----------------------------------------------------------------------</span></p>
<p class="MsoNormal"><span>Missouri University of Science and Technology - Junior</span></p>
<p class="MsoNormal"><span>B.S. Computer Engineering/Computer Science</span></p>
<p class="MsoNormal"><a href="mailto:tjbxv7 <at> mail.mst.edu" target="_blank"><span>tjbxv7 <at> mail.mst.edu</span></a><span></span></p>

<p class="MsoNormal"><span><a href="tel:%28573%29-238-5843" value="+15732385843" target="_blank">(573)-238-5843</a></span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>IT Research Support Service</span></p>
<p class="MsoNormal"><span>Treasurer &ndash; MS&amp;T Robotics Competition Team</span></p>
<p class="MsoNormal"><span>----------------------------------------------------------------------</span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>

<br>
</div></div>
<div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>
Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br>
</div>
</blockquote>
</div>
<div>
<br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <br>| Kitware Inc.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>&nbsp; &nbsp; 
</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>
Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br>
</blockquote>
</div>
<br>
</div>
Li Guan | 1 Mar 21:11 2013
Picon

Set up camera intrinsic matrix in python Paraview

Hi all,

I am trying to set up the camera view w.r.t. the camera matrix K in Paraview python shell. Basically, I create an intrinsic matrix to store the new projective matrix obtained from 3x3 camera intrinsic matrix K, get the current projection transform matrix A, and create a new matrix apply_matrix, as intrinsic/A, and apply it to vtk.vtkPerspectiveTransform() The code is shown below. My question is if this code is correct? Because when I run the script twice, the rendered views are a little bit different. And the third time the view will become the same as the first time again. I wonder if this is some numerical error or what I have done wrong? Many thanks!

Li

RenderView1 = GetRenderView();
[w, h]=RenderView1.GetRenderer().GetSize();
camera = RenderView1.GetActiveCamera();
[n, f] = camera.GetClippingRange();
print f,n;

A = camera.GetProjectionTransformMatrix(double(w)/double(h), -1.0, 1.0);

iIntrinsic = vtk.vtkMatrix4x4();
A.Invert(A, iIntrinsic);

intrinsic = vtk.vtkMatrix4x4();
intrinsic.SetElement(0,0,2.0*K.getA()[0][0]/double(w));
intrinsic.SetElement(0,1,-2.0*K.getA()[0][1]/double(w));
intrinsic.SetElement(0,2,-2.0*K.getA()[0][2]/double(w)+1.0);
intrinsic.SetElement(0,3,0.0);
intrinsic.SetElement(1,0,0.0);
intrinsic.SetElement(1,1,2.0*K.getA()[1][1]/double(h));
intrinsic.SetElement(1,2,-2.0*(double(h)-K.getA()[1][2])/double(h)+1.0);
intrinsic.SetElement(1,3,0.0);
intrinsic.SetElement(2,0,0.0);
intrinsic.SetElement(2,1,0.0);
intrinsic.SetElement(2,2,-(f+n)/(f-n));
intrinsic.SetElement(2,3,-2.0*f*n/(f-n));
intrinsic.SetElement(3,0,0.0);
intrinsic.SetElement(3,1,0.0);
intrinsic.SetElement(3,2,-1.0);
intrinsic.SetElement(3,3,0.0);

apply_matrix = vtk.vtkMatrix4x4();
apply_matrix.Multiply4x4(intrinsic, iIntrinsic, apply_matrix);
print "apply_matrix\n";
print apply_matrix;
T = vtk.vtkPerspectiveTransform();
T.SetMatrix(apply_matrix);

camera.SetUserTransform(T);
Render()
;


<div>
<p>Hi all,<br><br>I am trying to set up the camera view w.r.t. the camera matrix K in Paraview python shell. Basically, I create an <span><span>intrinsic </span></span>matrix to store the new projective matrix obtained from 3x3 camera intrinsic matrix K, get the current projection transform matrix <span><span>A</span></span>, and create a new matrix <span><span>apply_matrix<span><span>, as </span></span></span></span><span><span>intrinsic/A</span></span>, and apply it to <span><span>vtk.vtkPerspectiveTransform() </span></span>The code is shown below. My question is if this code is correct? Because when I run the script twice, the rendered views are a little bit different. And the third time the view will become the same as the first time again. I wonder if this is some numerical error or what I have done wrong? Many thanks!<br><br>Li<br><br></p>
<div>
<span><span>RenderView1 = GetRenderView();<br>[w, h]=RenderView1.GetRenderer().GetSize();<br>
camera = RenderView1.GetActiveCamera();<br>[n, f] = camera.GetClippingRange();<br>print f,n;<br><br>A = camera.GetProjectionTransformMatrix(double(w)/double(h), -1.0, 1.0);<br><br>iIntrinsic = vtk.vtkMatrix4x4();<br>A.Invert(A, iIntrinsic);<br><br>intrinsic = vtk.vtkMatrix4x4();<br>intrinsic.SetElement(0,0,2.0*K.getA()[0][0]/double(w));<br>intrinsic.SetElement(0,1,-2.0*K.getA()[0][1]/double(w));<br>intrinsic.SetElement(0,2,-2.0*K.getA()[0][2]/double(w)+1.0);<br>
intrinsic.SetElement(0,3,0.0);<br>intrinsic.SetElement(1,0,0.0);<br>intrinsic.SetElement(1,1,2.0*K.getA()[1][1]/double(h));<br>intrinsic.SetElement(1,2,-2.0*(double(h)-K.getA()[1][2])/double(h)+1.0);<br>intrinsic.SetElement(1,3,0.0);<br>
intrinsic.SetElement(2,0,0.0);<br>intrinsic.SetElement(2,1,0.0);<br>intrinsic.SetElement(2,2,-(f+n)/(f-n));<br>intrinsic.SetElement(2,3,-2.0*f*n/(f-n));<br>intrinsic.SetElement(3,0,0.0);<br>intrinsic.SetElement(3,1,0.0);<br>
intrinsic.SetElement(3,2,-1.0);<br>intrinsic.SetElement(3,3,0.0);<br><br>apply_matrix = vtk.vtkMatrix4x4();<br>apply_matrix.Multiply4x4(intrinsic, iIntrinsic, apply_matrix);<br>print "apply_matrix\n";<br>print apply_matrix;<br>
T = vtk.vtkPerspectiveTransform();<br>T.SetMatrix(apply_matrix);<br><br>camera.SetUserTransform(T); <br>Render()</span></span>;<br><br><br>
</div>
</div>
the lily | 2 Mar 12:33 2013
Picon

Getting a parameter scalar value on an iso-surface

Dear all

I have two parameters "A" and "B"

I'm applying a Contour filter on the data when A = 0.5

and I want to get the scalar values of "B" on that surface, I mean I wanna get the value of "B" for each pixel on the surface either as map or as an array

how can I do that ?


<div><div dir="ltr">
Dear all<br><br>I have two parameters "A" and "B"<br><br>I'm applying a Contour filter on the data when A = 0.5<br><br>and I want to get the scalar values of "B" on that surface, I mean I wanna get the value of "B" for each pixel on the surface either as map or as an array <br><br>how can I do that ?<br><br><br>
</div></div>
Yarek | 3 Mar 17:37 2013
Picon

In Paraview 3.12 setting opacity below 1 triggers segmentation fault when saving animation

Hi,

First of all, this concerns ParaFOAM edition and I am not sure if this is the right place to seek support. I am trying to use saved python state and code samples from paraview wiki to create a script that would read results, create two filters, set display properties and generate animation. The script works fine with "DataRepresentation1.Opacity" set to "1" (line 110 - the script attached below), but throws segmentation fault when I decrease it. Unfortunately, I need it at 0.1 to show the outline of the container during filling, so this is a serious problem. I do not get this error, regardless of opacity setting, when no images are saved (i.e. last line: "AnimateReader(results_OpenFOAM)").

This error should be easy to reproduce using the results of the "Dam Break" OpenFOAM tutorial. I did this by entering the tutorial directory, creating script.py and starting the post-processing with command "paraFoam --script=script.py" (with opacity set to less than 1).

As I am a beginner, any help would be appreciated.

Best regards,
Yarek

P.S. I have one question regarding the scripting itself: could someone explain to me how to set the image resolution and number of frames per time step for an animation which is defined like it is defined in my script?


The script:

Delete()

results_OpenFOAM = PV3FoamReader( guiName="results.OpenFOAM", UseVTKPolyhedron=0, LagrangianFields=[], VolumeFields=['alpha1'], UiRefresh=0, FileName='*.OpenFOAM', UpdateGUI=0, PointFields=[], MeshParts=['internalMesh'] )

RenderView1 = GetActiveCamera()
RenderView1.LightSpecularColor = [1.0, 1.0, 1.0]
RenderView1.InteractionMode = '3D'
RenderView1.UseTexturedBackground = 0
RenderView1.UseLight = 1
RenderView1.CameraPosition = [0.599999999627471, 0.47538539953529835, 3.3687869950278144]
RenderView1.FillLightKFRatio = 3.0
RenderView1.Background2 = [0.0, 0.0, 0.16470588235294117]
RenderView1.FillLightAzimuth = -10.0
RenderView1.LODResolution = 50.0
RenderView1.BackgroundTexture = []
RenderView1.HeadPose = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]
RenderView1.KeyLightAzimuth = 10.0
RenderView1.StencilCapable = 1
RenderView1.LightIntensity = 1.0
RenderView1.CameraFocalPoint = [0.599999999627471, 0.47538539953529835, 0.0]
RenderView1.ImageReductionFactor = 2
RenderView1.CameraViewAngle = 30.0
RenderView1.CameraParallelScale = 0.8719062332068892
RenderView1.EyeAngle = 2.0
RenderView1.HeadLightKHRatio = 3.0
RenderView1.StereoRender = 0
RenderView1.KeyLightIntensity = 0.75
RenderView1.BackLightAzimuth = 110.0
RenderView1.OrientationAxesInteractivity = 0
RenderView1.UseInteractiveRenderingForSceenshots = 0
RenderView1.UseOffscreenRendering = 0
RenderView1.Background = [0.0, 0.0, 0.0]
RenderView1.UseOffscreenRenderingForScreenshots = 1
RenderView1.NonInteractiveRenderDelay = 2
RenderView1.CenterOfRotation = [0.599999999627471, 0.47538539953529835, 0.0]
RenderView1.CameraParallelProjection = 1
RenderView1.CompressorConfig = 'vtkSquirtCompressor 0 3'
RenderView1.HeadLightWarmth = 0.5
RenderView1.MaximumNumberOfPeels = 4
RenderView1.LightDiffuseColor = [1.0, 1.0, 1.0]
RenderView1.StereoType = 'Red-Blue'
RenderView1.DepthPeeling = 1
RenderView1.BackLightKBRatio = 3.5
RenderView1.StereoCapableWindow = 1
RenderView1.CameraViewUp = [0.0, 1.0, 0.0]
RenderView1.LightType = 'HeadLight'
RenderView1.LightAmbientColor = [1.0, 1.0, 1.0]
RenderView1.WandPose = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]
RenderView1.RemoteRenderThreshold = 3.0
RenderView1.KeyLightElevation = 50.0
RenderView1.CenterAxesVisibility = 0
RenderView1.MaintainLuminance = 0
RenderView1.StillRenderImageReductionFactor = 1
RenderView1.BackLightWarmth = 0.5
RenderView1.FillLightElevation = -75.0
RenderView1.MultiSamples = 0
RenderView1.FillLightWarmth = 0.4
RenderView1.AlphaBitPlanes = 1
RenderView1.LightSwitch = 0
RenderView1.OrientationAxesVisibility = 0
RenderView1.CameraClippingRange = [2.8375991250775363, 4.045568799953232]
RenderView1.BackLightElevation = 0.0
RenderView1.ViewTime = 0.5
RenderView1.OrientationAxesOutlineColor = [1.0, 1.0, 1.0]
RenderView1.LODThreshold = 5.0
RenderView1.CollectGeometryThreshold = 100.0
RenderView1.UseGradientBackground = 0
RenderView1.KeyLightWarmth = 0.6
RenderView1.OrientationAxesLabelColor = [1.0, 1.0, 1.0]

AnnotateTimeFilter1 = AnnotateTimeFilter( guiName="AnnotateTimeFilter1", Shift=0.0, Scale=1.0, Format='%0.2f s' )

SetActiveSource(results_OpenFOAM)
IsoVolume1 = IsoVolume( guiName="IsoVolume1", ThresholdRange=[0.1, 1.1], InputScalars=['POINTS', 'alpha1'] )

SetActiveSource(results_OpenFOAM)
DataRepresentation1 = Show()
DataRepresentation1.CubeAxesZAxisVisibility = 1
DataRepresentation1.SelectionPointLabelColor = [0.5, 0.5, 0.5]
DataRepresentation1.SelectionPointFieldDataArrayName = 'vtkOriginalPointIds'
DataRepresentation1.SuppressLOD = 0
DataRepresentation1.CubeAxesXGridLines = 0
DataRepresentation1.CubeAxesYAxisTickVisibility = 1
DataRepresentation1.Position = [0.0, 0.0, 0.0]
DataRepresentation1.BackfaceRepresentation = 'Follow Frontface'
DataRepresentation1.SelectionOpacity = 1.0
DataRepresentation1.SelectionPointLabelShadow = 0
DataRepresentation1.CubeAxesYGridLines = 0
DataRepresentation1.OrientationMode = 'Direction'
DataRepresentation1.Source.TipResolution = 6
DataRepresentation1.ScaleMode = 'No Data Scaling Off'
DataRepresentation1.Diffuse = 1.0
DataRepresentation1.SelectionUseOutline = 0
DataRepresentation1.SelectionPointLabelFormat = ''
DataRepresentation1.CubeAxesZTitle = 'Z-Axis'
DataRepresentation1.Specular = 0.1
DataRepresentation1.SelectionVisibility = 1
DataRepresentation1.InterpolateScalarsBeforeMapping = 1
DataRepresentation1.CubeAxesZAxisTickVisibility = 1
DataRepresentation1.Origin = [0.0, 0.0, 0.0]
DataRepresentation1.CubeAxesVisibility = 0
DataRepresentation1.Scale = [1.0, 1.0, 1.0]
DataRepresentation1.SelectionCellLabelJustification = 'Left'
DataRepresentation1.DiffuseColor = [0.0, 0.0, 1.0]
DataRepresentation1.SelectionCellLabelOpacity = 1.0
DataRepresentation1.CubeAxesInertia = 1
DataRepresentation1.Source = "Arrow"
DataRepresentation1.Source.Invert = 0
DataRepresentation1.Masking = 0
DataRepresentation1.Opacity = 0.1
DataRepresentation1.LineWidth = 1.0
DataRepresentation1.MeshVisibility = 0
DataRepresentation1.Visibility = 1
DataRepresentation1.SelectionCellLabelFontSize = 18
DataRepresentation1.CubeAxesCornerOffset = 0.0
DataRepresentation1.SelectionPointLabelJustification = 'Left'
DataRepresentation1.SelectionPointLabelVisibility = 0
DataRepresentation1.SelectOrientationVectors = ''
DataRepresentation1.CubeAxesTickLocation = 'Inside'
DataRepresentation1.BackfaceDiffuseColor = [1.0, 1.0, 1.0]
DataRepresentation1.CubeAxesYAxisVisibility = 1
DataRepresentation1.SelectionPointLabelFontFamily = 'Arial'
DataRepresentation1.Source.ShaftResolution = 6
DataRepresentation1.CubeAxesFlyMode = 'Closest Triad'
DataRepresentation1.SelectScaleArray = ''
DataRepresentation1.CubeAxesYTitle = 'Y-Axis'
DataRepresentation1.ColorAttributeType = 'POINT_DATA'
DataRepresentation1.SpecularPower = 100.0
DataRepresentation1.Texture = []
DataRepresentation1.SelectionCellLabelShadow = 0
DataRepresentation1.AmbientColor = [1.0, 1.0, 1.0]
DataRepresentation1.MapScalars = 1
DataRepresentation1.PointSize = 2.0
DataRepresentation1.Source.TipLength = 0.35
DataRepresentation1.SelectionCellLabelFormat = ''
DataRepresentation1.Scaling = 0
DataRepresentation1.StaticMode = 0
DataRepresentation1.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation1.Source.TipRadius = 0.1
DataRepresentation1.EdgeColor = [0.0, 0.0, 0.5019607843137255]
DataRepresentation1.CubeAxesXAxisTickVisibility = 1
DataRepresentation1.SelectionCellLabelVisibility = 0
DataRepresentation1.NonlinearSubdivisionLevel = 1
DataRepresentation1.CubeAxesColor = [1.0, 1.0, 1.0]
DataRepresentation1.Representation = 'Surface'
DataRepresentation1.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]
DataRepresentation1.CubeAxesXAxisMinorTickVisibility = 1
DataRepresentation1.Orientation = [0.0, 0.0, 0.0]
DataRepresentation1.CubeAxesXTitle = 'X-Axis'
DataRepresentation1.ScalarOpacityUnitDistance = 0.024426686315073155
DataRepresentation1.BackfaceOpacity = 1.0
DataRepresentation1.SelectionCellFieldDataArrayName = 'vtkOriginalCellIds'
DataRepresentation1.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation1.Ambient = 0.0
DataRepresentation1.SelectionPointLabelFontSize = 18
DataRepresentation1.ScaleFactor = 1.0
DataRepresentation1.BackfaceAmbientColor = [1.0, 1.0, 1.0]
DataRepresentation1.Source.ShaftRadius = 0.03
DataRepresentation1.ScalarOpacityFunction = []
DataRepresentation1.SelectMaskArray = ''
DataRepresentation1.SelectionLineWidth = 2.0
DataRepresentation1.CubeAxesZAxisMinorTickVisibility = 1
DataRepresentation1.CubeAxesXAxisVisibility = 1
DataRepresentation1.Interpolation = 'Gouraud'
DataRepresentation1.SelectMapper = 'Projected tetra'
DataRepresentation1.SelectionCellLabelFontFamily = 'Arial'
DataRepresentation1.SelectionCellLabelItalic = 0
DataRepresentation1.CubeAxesYAxisMinorTickVisibility = 1
DataRepresentation1.CubeAxesZGridLines = 0
DataRepresentation1.ExtractedBlockIndex = 0
DataRepresentation1.SelectionPointLabelOpacity = 1.0
DataRepresentation1.Pickable = 1
DataRepresentation1.CustomBoundsActive = [0, 0, 0]
DataRepresentation1.SelectionRepresentation = 'Wireframe'
DataRepresentation1.SelectionPointLabelBold = 0
DataRepresentation1.ColorArrayName = ''
DataRepresentation1.SelectionPointLabelItalic = 0
DataRepresentation1.AllowSpecularHighlightingWithScalarColoring = 0
DataRepresentation1.SpecularColor = [1.0, 1.0, 1.0]
DataRepresentation1.LookupTable = []
DataRepresentation1.SelectionPointSize = 5.0
DataRepresentation1.SelectionCellLabelBold = 0
DataRepresentation1.Orient = 0

SetActiveSource(AnnotateTimeFilter1)
DataRepresentation2 = Show()
DataRepresentation2.Interactivity = 1
DataRepresentation2.Opacity = 1.0
DataRepresentation2.Justification = 'Left'
DataRepresentation2.Bold = 0
DataRepresentation2.Resizable = 0
DataRepresentation2.Color = [1.0, 1.0, 1.0]
DataRepresentation2.WindowLocation = 'AnyLocation'
DataRepresentation2.TextScaleMode = 2
DataRepresentation2.Visibility = 1
DataRepresentation2.FontFamily = 'Arial'
DataRepresentation2.FontSize = 18
DataRepresentation2.Italic = 0
DataRepresentation2.Position = [0.05, 0.05]
DataRepresentation2.Shadow = 0
DataRepresentation2.Position2 = [0.1, 0.1]
DataRepresentation2.Orientation = 0.0

SetActiveSource(IsoVolume1)
DataRepresentation3 = Show()
DataRepresentation3.CubeAxesZAxisVisibility = 1
DataRepresentation3.SelectionPointLabelColor = [0.5, 0.5, 0.5]
DataRepresentation3.SelectionPointFieldDataArrayName = 'vtkOriginalPointIds'
DataRepresentation3.SuppressLOD = 0
DataRepresentation3.CubeAxesXGridLines = 0
DataRepresentation3.CubeAxesYAxisTickVisibility = 1
DataRepresentation3.Position = [0.0, 0.0, 0.0]
DataRepresentation3.BackfaceRepresentation = 'Follow Frontface'
DataRepresentation3.SelectionOpacity = 1.0
DataRepresentation3.SelectionPointLabelShadow = 0
DataRepresentation3.CubeAxesYGridLines = 0
DataRepresentation3.OrientationMode = 'Direction'
DataRepresentation3.Source.TipResolution = 6
DataRepresentation3.ScaleMode = 'No Data Scaling Off'
DataRepresentation3.Diffuse = 1.0
DataRepresentation3.SelectionUseOutline = 0
DataRepresentation3.SelectionPointLabelFormat = ''
DataRepresentation3.CubeAxesZTitle = 'Z-Axis'
DataRepresentation3.Specular = 0.1
DataRepresentation3.SelectionVisibility = 1
DataRepresentation3.InterpolateScalarsBeforeMapping = 1
DataRepresentation3.CubeAxesZAxisTickVisibility = 1
DataRepresentation3.Origin = [0.0, 0.0, 0.0]
DataRepresentation3.CubeAxesVisibility = 0
DataRepresentation3.Scale = [1.0, 1.0, 1.0]
DataRepresentation3.SelectionCellLabelJustification = 'Left'
DataRepresentation3.DiffuseColor = [1.0, 1.0, 1.0]
DataRepresentation3.SelectionCellLabelOpacity = 1.0
DataRepresentation3.CubeAxesInertia = 1
DataRepresentation3.Source = "Arrow"
DataRepresentation3.Source.Invert = 0
DataRepresentation3.Masking = 0
DataRepresentation3.Opacity = 1.0
DataRepresentation3.LineWidth = 1.0
DataRepresentation3.MeshVisibility = 0
DataRepresentation3.Visibility = 1
DataRepresentation3.SelectionCellLabelFontSize = 18
DataRepresentation3.CubeAxesCornerOffset = 0.0
DataRepresentation3.SelectionPointLabelJustification = 'Left'
DataRepresentation3.SelectionPointLabelVisibility = 0
DataRepresentation3.SelectOrientationVectors = ''
DataRepresentation3.CubeAxesTickLocation = 'Inside'
DataRepresentation3.BackfaceDiffuseColor = [1.0, 1.0, 1.0]
DataRepresentation3.CubeAxesYAxisVisibility = 1
DataRepresentation3.SelectionPointLabelFontFamily = 'Arial'
DataRepresentation3.Source.ShaftResolution = 6
DataRepresentation3.CubeAxesFlyMode = 'Closest Triad'
DataRepresentation3.SelectScaleArray = ''
DataRepresentation3.CubeAxesYTitle = 'Y-Axis'
DataRepresentation3.ColorAttributeType = 'POINT_DATA'
DataRepresentation3.SpecularPower = 100.0
DataRepresentation3.Texture = []
DataRepresentation3.SelectionCellLabelShadow = 0
DataRepresentation3.AmbientColor = [1.0, 1.0, 1.0]
DataRepresentation3.MapScalars = 1
DataRepresentation3.PointSize = 2.0
DataRepresentation3.Source.TipLength = 0.35
DataRepresentation3.SelectionCellLabelFormat = ''
DataRepresentation3.Scaling = 0
DataRepresentation3.StaticMode = 0
DataRepresentation3.SelectionCellLabelColor = [0.0, 1.0, 0.0]
DataRepresentation3.Source.TipRadius = 0.1
DataRepresentation3.EdgeColor = [0.0, 0.0, 0.5000076295109483]
DataRepresentation3.CubeAxesXAxisTickVisibility = 1
DataRepresentation3.SelectionCellLabelVisibility = 0
DataRepresentation3.NonlinearSubdivisionLevel = 1
DataRepresentation3.CubeAxesColor = [1.0, 1.0, 1.0]
DataRepresentation3.Representation = 'Surface'
DataRepresentation3.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]
DataRepresentation3.CubeAxesXAxisMinorTickVisibility = 1
DataRepresentation3.Orientation = [0.0, 0.0, 0.0]
DataRepresentation3.CubeAxesXTitle = 'X-Axis'
DataRepresentation3.ScalarOpacityUnitDistance = 0.017319894955591157
DataRepresentation3.BackfaceOpacity = 1.0
DataRepresentation3.SelectionCellFieldDataArrayName = 'vtkOriginalCellIds'
DataRepresentation3.SelectionColor = [1.0, 0.0, 1.0]
DataRepresentation3.Ambient = 0.0
DataRepresentation3.SelectionPointLabelFontSize = 18
DataRepresentation3.ScaleFactor = 1.0
DataRepresentation3.BackfaceAmbientColor = [1.0, 1.0, 1.0]
DataRepresentation3.Source.ShaftRadius = 0.03
DataRepresentation3.ScalarOpacityFunction = []
DataRepresentation3.SelectMaskArray = ''
DataRepresentation3.SelectionLineWidth = 2.0
DataRepresentation3.CubeAxesZAxisMinorTickVisibility = 1
DataRepresentation3.CubeAxesXAxisVisibility = 1
DataRepresentation3.Interpolation = 'Gouraud'
DataRepresentation3.SelectMapper = 'Projected tetra'
DataRepresentation3.SelectionCellLabelFontFamily = 'Arial'
DataRepresentation3.SelectionCellLabelItalic = 0
DataRepresentation3.CubeAxesYAxisMinorTickVisibility = 1
DataRepresentation3.CubeAxesZGridLines = 0
DataRepresentation3.ExtractedBlockIndex = 0
DataRepresentation3.SelectionPointLabelOpacity = 1.0
DataRepresentation3.Pickable = 1
DataRepresentation3.CustomBoundsActive = [0, 0, 0]
DataRepresentation3.SelectionRepresentation = 'Wireframe'
DataRepresentation3.SelectionPointLabelBold = 0
DataRepresentation3.ColorArrayName = ''
DataRepresentation3.SelectionPointLabelItalic = 0
DataRepresentation3.AllowSpecularHighlightingWithScalarColoring = 0
DataRepresentation3.SpecularColor = [1.0, 1.0, 1.0]
DataRepresentation3.LookupTable = []
DataRepresentation3.SelectionPointSize = 5.0
DataRepresentation3.SelectionCellLabelBold = 0
DataRepresentation3.Orient = 0

Render()

view = GetActiveView()
view.CameraPosition = [0, 0, 0]
view.CameraFocalPoint = [0, 0, -1]
ResetCamera()

AnimateReader(results_OpenFOAM, filename="user/results/tmp/tmp.jpg")

<div>
    Hi,<br><br>
      First of all, this concerns ParaFOAM edition and I am not sure if
      this is the right place to seek support. I am trying to use saved
      python state and code samples from paraview wiki to create a
      script that would read results, create two filters, set display
      properties and generate animation. The script works fine with
      "DataRepresentation1.Opacity" set to "1" (line 110 - the script
      attached below), but throws segmentation fault when I decrease it.
      Unfortunately, I need it at 0.1 to show the outline of the
      container during filling, so this is a serious problem. I do not
      get this error, regardless of opacity setting, when no images are
      saved (i.e. last line: "AnimateReader(results_OpenFOAM)").<br><br>
      This error should be easy to reproduce using the results of the
      "Dam Break" OpenFOAM tutorial. I did this by entering the tutorial
      directory, creating script.py and starting the post-processing
      with command "paraFoam --script=script.py" (with opacity set to
      less than 1).<br><br>
      As I am a beginner, any help would be appreciated.<br><br>
      Best regards,<br>
      Yarek<br><br>
      P.S. I have one question regarding the scripting itself: could
      someone explain to me how to set the image resolution and number
      of frames per time step for an animation which is defined like it
      is defined in my script?<br><br><br>
      The script:<br><br>
      Delete()<br><br>
      results_OpenFOAM = PV3FoamReader( guiName="results.OpenFOAM",
      UseVTKPolyhedron=0, LagrangianFields=[], VolumeFields=['alpha1'],
      UiRefresh=0, FileName='*.OpenFOAM', UpdateGUI=0, PointFields=[],
      MeshParts=['internalMesh'] )<br><br>
      RenderView1 = GetActiveCamera()<br>
      RenderView1.LightSpecularColor = [1.0, 1.0, 1.0]<br>
      RenderView1.InteractionMode = '3D'<br>
      RenderView1.UseTexturedBackground = 0<br>
      RenderView1.UseLight = 1<br>
      RenderView1.CameraPosition = [0.599999999627471,
      0.47538539953529835, 3.3687869950278144]<br>
      RenderView1.FillLightKFRatio = 3.0<br>
      RenderView1.Background2 = [0.0, 0.0, 0.16470588235294117]<br>
      RenderView1.FillLightAzimuth = -10.0<br>
      RenderView1.LODResolution = 50.0<br>
      RenderView1.BackgroundTexture = []<br>
      RenderView1.HeadPose = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0,
      0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]<br>
      RenderView1.KeyLightAzimuth = 10.0<br>
      RenderView1.StencilCapable = 1<br>
      RenderView1.LightIntensity = 1.0<br>
      RenderView1.CameraFocalPoint = [0.599999999627471,
      0.47538539953529835, 0.0]<br>
      RenderView1.ImageReductionFactor = 2<br>
      RenderView1.CameraViewAngle = 30.0<br>
      RenderView1.CameraParallelScale = 0.8719062332068892<br>
      RenderView1.EyeAngle = 2.0<br>
      RenderView1.HeadLightKHRatio = 3.0<br>
      RenderView1.StereoRender = 0<br>
      RenderView1.KeyLightIntensity = 0.75<br>
      RenderView1.BackLightAzimuth = 110.0<br>
      RenderView1.OrientationAxesInteractivity = 0<br>
      RenderView1.UseInteractiveRenderingForSceenshots = 0<br>
      RenderView1.UseOffscreenRendering = 0<br>
      RenderView1.Background = [0.0, 0.0, 0.0]<br>
      RenderView1.UseOffscreenRenderingForScreenshots = 1<br>
      RenderView1.NonInteractiveRenderDelay = 2<br>
      RenderView1.CenterOfRotation = [0.599999999627471,
      0.47538539953529835, 0.0]<br>
      RenderView1.CameraParallelProjection = 1<br>
      RenderView1.CompressorConfig = 'vtkSquirtCompressor 0 3'<br>
      RenderView1.HeadLightWarmth = 0.5<br>
      RenderView1.MaximumNumberOfPeels = 4<br>
      RenderView1.LightDiffuseColor = [1.0, 1.0, 1.0]<br>
      RenderView1.StereoType = 'Red-Blue'<br>
      RenderView1.DepthPeeling = 1<br>
      RenderView1.BackLightKBRatio = 3.5<br>
      RenderView1.StereoCapableWindow = 1<br>
      RenderView1.CameraViewUp = [0.0, 1.0, 0.0]<br>
      RenderView1.LightType = 'HeadLight'<br>
      RenderView1.LightAmbientColor = [1.0, 1.0, 1.0]<br>
      RenderView1.WandPose = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0,
      0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]<br>
      RenderView1.RemoteRenderThreshold = 3.0<br>
      RenderView1.KeyLightElevation = 50.0<br>
      RenderView1.CenterAxesVisibility = 0<br>
      RenderView1.MaintainLuminance = 0<br>
      RenderView1.StillRenderImageReductionFactor = 1<br>
      RenderView1.BackLightWarmth = 0.5<br>
      RenderView1.FillLightElevation = -75.0<br>
      RenderView1.MultiSamples = 0<br>
      RenderView1.FillLightWarmth = 0.4<br>
      RenderView1.AlphaBitPlanes = 1<br>
      RenderView1.LightSwitch = 0<br>
      RenderView1.OrientationAxesVisibility = 0<br>
      RenderView1.CameraClippingRange = [2.8375991250775363,
      4.045568799953232]<br>
      RenderView1.BackLightElevation = 0.0<br>
      RenderView1.ViewTime = 0.5<br>
      RenderView1.OrientationAxesOutlineColor = [1.0, 1.0, 1.0]<br>
      RenderView1.LODThreshold = 5.0<br>
      RenderView1.CollectGeometryThreshold = 100.0<br>
      RenderView1.UseGradientBackground = 0<br>
      RenderView1.KeyLightWarmth = 0.6<br>
      RenderView1.OrientationAxesLabelColor = [1.0, 1.0, 1.0]<br><br>
      AnnotateTimeFilter1 = AnnotateTimeFilter(
      guiName="AnnotateTimeFilter1", Shift=0.0, Scale=1.0, Format='%0.2f
      s' )<br><br>
      SetActiveSource(results_OpenFOAM)<br>
      IsoVolume1 = IsoVolume( guiName="IsoVolume1", ThresholdRange=[0.1,
      1.1], InputScalars=['POINTS', 'alpha1'] )<br><br>
      SetActiveSource(results_OpenFOAM)<br>
      DataRepresentation1 = Show()<br>
      DataRepresentation1.CubeAxesZAxisVisibility = 1<br>
      DataRepresentation1.SelectionPointLabelColor = [0.5, 0.5, 0.5]<br>
      DataRepresentation1.SelectionPointFieldDataArrayName =
      'vtkOriginalPointIds'<br>
      DataRepresentation1.SuppressLOD = 0<br>
      DataRepresentation1.CubeAxesXGridLines = 0<br>
      DataRepresentation1.CubeAxesYAxisTickVisibility = 1<br>
      DataRepresentation1.Position = [0.0, 0.0, 0.0]<br>
      DataRepresentation1.BackfaceRepresentation = 'Follow Frontface'<br>
      DataRepresentation1.SelectionOpacity = 1.0<br>
      DataRepresentation1.SelectionPointLabelShadow = 0<br>
      DataRepresentation1.CubeAxesYGridLines = 0<br>
      DataRepresentation1.OrientationMode = 'Direction'<br>
      DataRepresentation1.Source.TipResolution = 6<br>
      DataRepresentation1.ScaleMode = 'No Data Scaling Off'<br>
      DataRepresentation1.Diffuse = 1.0<br>
      DataRepresentation1.SelectionUseOutline = 0<br>
      DataRepresentation1.SelectionPointLabelFormat = ''<br>
      DataRepresentation1.CubeAxesZTitle = 'Z-Axis'<br>
      DataRepresentation1.Specular = 0.1<br>
      DataRepresentation1.SelectionVisibility = 1<br>
      DataRepresentation1.InterpolateScalarsBeforeMapping = 1<br>
      DataRepresentation1.CubeAxesZAxisTickVisibility = 1<br>
      DataRepresentation1.Origin = [0.0, 0.0, 0.0]<br>
      DataRepresentation1.CubeAxesVisibility = 0<br>
      DataRepresentation1.Scale = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.SelectionCellLabelJustification = 'Left'<br>
      DataRepresentation1.DiffuseColor = [0.0, 0.0, 1.0]<br>
      DataRepresentation1.SelectionCellLabelOpacity = 1.0<br>
      DataRepresentation1.CubeAxesInertia = 1<br>
      DataRepresentation1.Source = "Arrow"<br>
      DataRepresentation1.Source.Invert = 0<br>
      DataRepresentation1.Masking = 0<br>
      DataRepresentation1.Opacity = 0.1<br>
      DataRepresentation1.LineWidth = 1.0<br>
      DataRepresentation1.MeshVisibility = 0<br>
      DataRepresentation1.Visibility = 1<br>
      DataRepresentation1.SelectionCellLabelFontSize = 18<br>
      DataRepresentation1.CubeAxesCornerOffset = 0.0<br>
      DataRepresentation1.SelectionPointLabelJustification = 'Left'<br>
      DataRepresentation1.SelectionPointLabelVisibility = 0<br>
      DataRepresentation1.SelectOrientationVectors = ''<br>
      DataRepresentation1.CubeAxesTickLocation = 'Inside'<br>
      DataRepresentation1.BackfaceDiffuseColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.CubeAxesYAxisVisibility = 1<br>
      DataRepresentation1.SelectionPointLabelFontFamily = 'Arial'<br>
      DataRepresentation1.Source.ShaftResolution = 6<br>
      DataRepresentation1.CubeAxesFlyMode = 'Closest Triad'<br>
      DataRepresentation1.SelectScaleArray = ''<br>
      DataRepresentation1.CubeAxesYTitle = 'Y-Axis'<br>
      DataRepresentation1.ColorAttributeType = 'POINT_DATA'<br>
      DataRepresentation1.SpecularPower = 100.0<br>
      DataRepresentation1.Texture = []<br>
      DataRepresentation1.SelectionCellLabelShadow = 0<br>
      DataRepresentation1.AmbientColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.MapScalars = 1<br>
      DataRepresentation1.PointSize = 2.0<br>
      DataRepresentation1.Source.TipLength = 0.35<br>
      DataRepresentation1.SelectionCellLabelFormat = ''<br>
      DataRepresentation1.Scaling = 0<br>
      DataRepresentation1.StaticMode = 0<br>
      DataRepresentation1.SelectionCellLabelColor = [0.0, 1.0, 0.0]<br>
      DataRepresentation1.Source.TipRadius = 0.1<br>
      DataRepresentation1.EdgeColor = [0.0, 0.0, 0.5019607843137255]<br>
      DataRepresentation1.CubeAxesXAxisTickVisibility = 1<br>
      DataRepresentation1.SelectionCellLabelVisibility = 0<br>
      DataRepresentation1.NonlinearSubdivisionLevel = 1<br>
      DataRepresentation1.CubeAxesColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.Representation = 'Surface'<br>
      DataRepresentation1.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]<br>
      DataRepresentation1.CubeAxesXAxisMinorTickVisibility = 1<br>
      DataRepresentation1.Orientation = [0.0, 0.0, 0.0]<br>
      DataRepresentation1.CubeAxesXTitle = 'X-Axis'<br>
      DataRepresentation1.ScalarOpacityUnitDistance =
      0.024426686315073155<br>
      DataRepresentation1.BackfaceOpacity = 1.0<br>
      DataRepresentation1.SelectionCellFieldDataArrayName =
      'vtkOriginalCellIds'<br>
      DataRepresentation1.SelectionColor = [1.0, 0.0, 1.0]<br>
      DataRepresentation1.Ambient = 0.0<br>
      DataRepresentation1.SelectionPointLabelFontSize = 18<br>
      DataRepresentation1.ScaleFactor = 1.0<br>
      DataRepresentation1.BackfaceAmbientColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.Source.ShaftRadius = 0.03<br>
      DataRepresentation1.ScalarOpacityFunction = []<br>
      DataRepresentation1.SelectMaskArray = ''<br>
      DataRepresentation1.SelectionLineWidth = 2.0<br>
      DataRepresentation1.CubeAxesZAxisMinorTickVisibility = 1<br>
      DataRepresentation1.CubeAxesXAxisVisibility = 1<br>
      DataRepresentation1.Interpolation = 'Gouraud'<br>
      DataRepresentation1.SelectMapper = 'Projected tetra'<br>
      DataRepresentation1.SelectionCellLabelFontFamily = 'Arial'<br>
      DataRepresentation1.SelectionCellLabelItalic = 0<br>
      DataRepresentation1.CubeAxesYAxisMinorTickVisibility = 1<br>
      DataRepresentation1.CubeAxesZGridLines = 0<br>
      DataRepresentation1.ExtractedBlockIndex = 0<br>
      DataRepresentation1.SelectionPointLabelOpacity = 1.0<br>
      DataRepresentation1.Pickable = 1<br>
      DataRepresentation1.CustomBoundsActive = [0, 0, 0]<br>
      DataRepresentation1.SelectionRepresentation = 'Wireframe'<br>
      DataRepresentation1.SelectionPointLabelBold = 0<br>
      DataRepresentation1.ColorArrayName = ''<br>
      DataRepresentation1.SelectionPointLabelItalic = 0<br>
      DataRepresentation1.AllowSpecularHighlightingWithScalarColoring =
      0<br>
      DataRepresentation1.SpecularColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation1.LookupTable = []<br>
      DataRepresentation1.SelectionPointSize = 5.0<br>
      DataRepresentation1.SelectionCellLabelBold = 0<br>
      DataRepresentation1.Orient = 0<br><br>
      SetActiveSource(AnnotateTimeFilter1)<br>
      DataRepresentation2 = Show()<br>
      DataRepresentation2.Interactivity = 1<br>
      DataRepresentation2.Opacity = 1.0<br>
      DataRepresentation2.Justification = 'Left'<br>
      DataRepresentation2.Bold = 0<br>
      DataRepresentation2.Resizable = 0<br>
      DataRepresentation2.Color = [1.0, 1.0, 1.0]<br>
      DataRepresentation2.WindowLocation = 'AnyLocation'<br>
      DataRepresentation2.TextScaleMode = 2<br>
      DataRepresentation2.Visibility = 1<br>
      DataRepresentation2.FontFamily = 'Arial'<br>
      DataRepresentation2.FontSize = 18<br>
      DataRepresentation2.Italic = 0<br>
      DataRepresentation2.Position = [0.05, 0.05]<br>
      DataRepresentation2.Shadow = 0<br>
      DataRepresentation2.Position2 = [0.1, 0.1]<br>
      DataRepresentation2.Orientation = 0.0<br><br>
      SetActiveSource(IsoVolume1)<br>
      DataRepresentation3 = Show()<br>
      DataRepresentation3.CubeAxesZAxisVisibility = 1<br>
      DataRepresentation3.SelectionPointLabelColor = [0.5, 0.5, 0.5]<br>
      DataRepresentation3.SelectionPointFieldDataArrayName =
      'vtkOriginalPointIds'<br>
      DataRepresentation3.SuppressLOD = 0<br>
      DataRepresentation3.CubeAxesXGridLines = 0<br>
      DataRepresentation3.CubeAxesYAxisTickVisibility = 1<br>
      DataRepresentation3.Position = [0.0, 0.0, 0.0]<br>
      DataRepresentation3.BackfaceRepresentation = 'Follow Frontface'<br>
      DataRepresentation3.SelectionOpacity = 1.0<br>
      DataRepresentation3.SelectionPointLabelShadow = 0<br>
      DataRepresentation3.CubeAxesYGridLines = 0<br>
      DataRepresentation3.OrientationMode = 'Direction'<br>
      DataRepresentation3.Source.TipResolution = 6<br>
      DataRepresentation3.ScaleMode = 'No Data Scaling Off'<br>
      DataRepresentation3.Diffuse = 1.0<br>
      DataRepresentation3.SelectionUseOutline = 0<br>
      DataRepresentation3.SelectionPointLabelFormat = ''<br>
      DataRepresentation3.CubeAxesZTitle = 'Z-Axis'<br>
      DataRepresentation3.Specular = 0.1<br>
      DataRepresentation3.SelectionVisibility = 1<br>
      DataRepresentation3.InterpolateScalarsBeforeMapping = 1<br>
      DataRepresentation3.CubeAxesZAxisTickVisibility = 1<br>
      DataRepresentation3.Origin = [0.0, 0.0, 0.0]<br>
      DataRepresentation3.CubeAxesVisibility = 0<br>
      DataRepresentation3.Scale = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.SelectionCellLabelJustification = 'Left'<br>
      DataRepresentation3.DiffuseColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.SelectionCellLabelOpacity = 1.0<br>
      DataRepresentation3.CubeAxesInertia = 1<br>
      DataRepresentation3.Source = "Arrow"<br>
      DataRepresentation3.Source.Invert = 0<br>
      DataRepresentation3.Masking = 0<br>
      DataRepresentation3.Opacity = 1.0<br>
      DataRepresentation3.LineWidth = 1.0<br>
      DataRepresentation3.MeshVisibility = 0<br>
      DataRepresentation3.Visibility = 1<br>
      DataRepresentation3.SelectionCellLabelFontSize = 18<br>
      DataRepresentation3.CubeAxesCornerOffset = 0.0<br>
      DataRepresentation3.SelectionPointLabelJustification = 'Left'<br>
      DataRepresentation3.SelectionPointLabelVisibility = 0<br>
      DataRepresentation3.SelectOrientationVectors = ''<br>
      DataRepresentation3.CubeAxesTickLocation = 'Inside'<br>
      DataRepresentation3.BackfaceDiffuseColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.CubeAxesYAxisVisibility = 1<br>
      DataRepresentation3.SelectionPointLabelFontFamily = 'Arial'<br>
      DataRepresentation3.Source.ShaftResolution = 6<br>
      DataRepresentation3.CubeAxesFlyMode = 'Closest Triad'<br>
      DataRepresentation3.SelectScaleArray = ''<br>
      DataRepresentation3.CubeAxesYTitle = 'Y-Axis'<br>
      DataRepresentation3.ColorAttributeType = 'POINT_DATA'<br>
      DataRepresentation3.SpecularPower = 100.0<br>
      DataRepresentation3.Texture = []<br>
      DataRepresentation3.SelectionCellLabelShadow = 0<br>
      DataRepresentation3.AmbientColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.MapScalars = 1<br>
      DataRepresentation3.PointSize = 2.0<br>
      DataRepresentation3.Source.TipLength = 0.35<br>
      DataRepresentation3.SelectionCellLabelFormat = ''<br>
      DataRepresentation3.Scaling = 0<br>
      DataRepresentation3.StaticMode = 0<br>
      DataRepresentation3.SelectionCellLabelColor = [0.0, 1.0, 0.0]<br>
      DataRepresentation3.Source.TipRadius = 0.1<br>
      DataRepresentation3.EdgeColor = [0.0, 0.0, 0.5000076295109483]<br>
      DataRepresentation3.CubeAxesXAxisTickVisibility = 1<br>
      DataRepresentation3.SelectionCellLabelVisibility = 0<br>
      DataRepresentation3.NonlinearSubdivisionLevel = 1<br>
      DataRepresentation3.CubeAxesColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.Representation = 'Surface'<br>
      DataRepresentation3.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]<br>
      DataRepresentation3.CubeAxesXAxisMinorTickVisibility = 1<br>
      DataRepresentation3.Orientation = [0.0, 0.0, 0.0]<br>
      DataRepresentation3.CubeAxesXTitle = 'X-Axis'<br>
      DataRepresentation3.ScalarOpacityUnitDistance =
      0.017319894955591157<br>
      DataRepresentation3.BackfaceOpacity = 1.0<br>
      DataRepresentation3.SelectionCellFieldDataArrayName =
      'vtkOriginalCellIds'<br>
      DataRepresentation3.SelectionColor = [1.0, 0.0, 1.0]<br>
      DataRepresentation3.Ambient = 0.0<br>
      DataRepresentation3.SelectionPointLabelFontSize = 18<br>
      DataRepresentation3.ScaleFactor = 1.0<br>
      DataRepresentation3.BackfaceAmbientColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.Source.ShaftRadius = 0.03<br>
      DataRepresentation3.ScalarOpacityFunction = []<br>
      DataRepresentation3.SelectMaskArray = ''<br>
      DataRepresentation3.SelectionLineWidth = 2.0<br>
      DataRepresentation3.CubeAxesZAxisMinorTickVisibility = 1<br>
      DataRepresentation3.CubeAxesXAxisVisibility = 1<br>
      DataRepresentation3.Interpolation = 'Gouraud'<br>
      DataRepresentation3.SelectMapper = 'Projected tetra'<br>
      DataRepresentation3.SelectionCellLabelFontFamily = 'Arial'<br>
      DataRepresentation3.SelectionCellLabelItalic = 0<br>
      DataRepresentation3.CubeAxesYAxisMinorTickVisibility = 1<br>
      DataRepresentation3.CubeAxesZGridLines = 0<br>
      DataRepresentation3.ExtractedBlockIndex = 0<br>
      DataRepresentation3.SelectionPointLabelOpacity = 1.0<br>
      DataRepresentation3.Pickable = 1<br>
      DataRepresentation3.CustomBoundsActive = [0, 0, 0]<br>
      DataRepresentation3.SelectionRepresentation = 'Wireframe'<br>
      DataRepresentation3.SelectionPointLabelBold = 0<br>
      DataRepresentation3.ColorArrayName = ''<br>
      DataRepresentation3.SelectionPointLabelItalic = 0<br>
      DataRepresentation3.AllowSpecularHighlightingWithScalarColoring =
      0<br>
      DataRepresentation3.SpecularColor = [1.0, 1.0, 1.0]<br>
      DataRepresentation3.LookupTable = []<br>
      DataRepresentation3.SelectionPointSize = 5.0<br>
      DataRepresentation3.SelectionCellLabelBold = 0<br>
      DataRepresentation3.Orient = 0<br><br>
      Render()<br><br>
      view = GetActiveView()<br>
      view.CameraPosition = [0, 0, 0]<br>
      view.CameraFocalPoint = [0, 0, -1]<br>
      ResetCamera()<br><br>
      AnimateReader(results_OpenFOAM,
      filename="user/results/tmp/tmp.jpg")<br><br>
</div>

Gmane