<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Alessandro,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  Thanks for the heads up but I think I figured something out without scripting (but I will hang on to your code to try out). Basically I started playing out with interpolating different camera locations with the camera and having it play out from there.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>   I don’t know too much about Python yet, but I appreciate the response back.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  Thanks!<br>   Jesse<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alessandro Comunian [mailto:alessandro.comunian@gmail.com] <br><b>Sent:</b> Thursday, February 20, 2014 8:35 PM<br><b>To:</b> Jesse Samluk<br><b>Cc:</b> ParaView<br><b>Subject:</b> Re: [Paraview] Setting up animation with Paraview<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Jesse,<o:p></o:p></p></div><p class=MsoNormal>I'm not 100% this could be the answer to your question, but if you want to produce an animation of different 2D slices through your model, then hereinafter there is a python script that I use to do that:<br><br>--------------------------------------------------------<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>def start_cue(self):<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>global z_curr<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>z_curr = 0<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>def tick(self):<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>global z_curr<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'># Select the source named "data"<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>MyActiveSrc = FindSource("data")<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>data_repr = GetDisplayProperties(MyActiveSrc)<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>data_repr.Slice = z_curr<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>z_label = FindSource("z_label")<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>z_label.Text = 'z=%04d'%(z_curr)<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>z_curr = z_curr + 1<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>def end_cue(self): pass<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>--------------------------------------------------------<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>In my pipeline I have a 3D dataset with the slice representation (named "data") and text source for reporting the z-slice level (named "z_label").<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'>You can add the python script from the "Animation View" (from there, you could also add camera movements...).<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>Hope it helps,<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>Cheers,<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'>Alessandro<o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>2014-02-20 13:02 GMT+11:00 Jesse Samluk <<a href="mailto:sevensam@udel.edu" target="_blank">sevensam@udel.edu</a>>:<o:p></o:p></p><div><p class=MsoNormal>Greetings all,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>   Attached is an image I created in Paraview, Z-X Axis shot (and I can recreate them in Paraview as necessary, no problems there).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>   So, I'm trying to figure out the Animation feature in Paraview. Is there a way to set up a "fly-through" that looks from the top surface (Y-X plane, I know this image would have to be rotated) going down through the Z axis to the bottom?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>   I really don't have a clue how to set up an animation, and I've played around with it and checked the help, but nothing helps.<o:p></o:p></p></div><div><p class=MsoNormal>   <o:p></o:p></p></div><div><p class=MsoNormal>  Thanks!<o:p></o:p></p></div><div><p class=MsoNormal>   Jesse<img border=0 width=640 height=379 id="_x0000_i1025" src="cid:image001.png@01CF2E7B.A0891FF0"><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>