It wouldn't be easier in C++ ? <br>Jacques<br><br><div class="gmail_quote">2009/7/22 pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For a real solution I'd want to script it in python... the problem is that you cannot easily specify the view layout in the gui from the python interface. Everything else can be done (creating views, camera links, colormaps). If you're interested, it might not be too hard to extend the python interface to so that you can get the view layout that you want. You'd have to get into paraview's qt code though.<br>
<font color="#888888">
<br>Pat</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 12:38 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Correct, comparative view is only useful for viewing changes in filter properties or time.<br><br>It may be possible to "cheat" to get comparative view to do some of what you want, but is definitely not an ideal solution...<br>
<br>Instead of 1 dataset with 8 variables, save your dataset 8 times, each with a different variable but use the same variable name. Now create a .pvd file that has 8 timesteps, each timestep points to one of the datasets. The comparative view will automatically show one "timestep" in each view frame, but really you're looking at your 8 different data variables. The cameras will be linked. All datasets will have to share the same colormap.<br>
<font color="#888888">
<br>Pat</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 12:17 PM, Jacques Papper <span dir="ltr"><<a href="mailto:jacques.papper@gmail.com" target="_blank">jacques.papper@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I understand your example, but I am not interested in only 2 "dimensions" also, thes "dimensions" are filter properties to animate. What I want is just to show as many views as I have of fields in my dataset (Animation does not really matter at all). So I come back to my original question.<br>
<br><div class="gmail_quote">2009/7/22 pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, <br><br>Comparative view has two modes- filmstrip and comparative. In filmstrip mode, only one variable changes and the views are ordered from left to right, top to bottom. In comparative mode, you can specify an X dimension and a Y dimension and can have one variable change along X and another change along Y.<br>
<br>Try this for a quick example:<br><br>Create sphere source<br>Convert view to 3D View (Comparative)<br>Go to the View menu and toggle on the Comparative View Inspector<br>Change the mode from filmstrip to comparative.<br>
Set 4 x frames and 4 y frames<br>In Animated Source (X Axis) choose Phi Resolution as the Property To Animate<br>Likewise, choose Theta Resolution for the Y Axis<br>Use the timeline widgets below to step the phi and theta resolutions from 3 to 100.<br>
Click the Update Button (if you dont want to click the update button each time, change the Update Mode combobox from Root to All)<br><br>Unforutnately when trying out this demo on my own computer I discovered a bug where some of the views do not get the correct property value :-( Let me know if you have similar problems.<br>
<font color="#888888">
<br>Pat</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 8:28 AM, Jacques Papper <span dir="ltr"><<a href="mailto:jacques.papper@gmail.com" target="_blank">jacques.papper@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do you specify the X and Y dimensions ? <br>How do you have one variable plotted per frame ? For example velocity on the 1st quadrant, pressure on the 2nd, enthalpy on the 3rd etc .... ?<br><br><div class="gmail_quote">
2009/7/22 David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is what comparative view is for.<br>
Pick one or two properties of any filter (or two) in the pipeline,<br>
specify the x and y dimensions and it will do it for you.<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<div><div></div><div><br>
<br>
<br>
On Wed, Jul 22, 2009 at 6:00 AM, Jacques Papper<<a href="mailto:jacques.papper@gmail.com" target="_blank">jacques.papper@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I would like to have the possibility to generate multiviews similar to the<br>
> one attached automatically.<br>
> That is, choose the variables to show, (let's say 8 variables for example),<br>
> and automatically have 8 subwindows that open up, with each camera linked to<br>
> the first window, and each colored by one of the variables, ideally with the<br>
> colormap for each as well, and the possibility to have all the colormap<br>
> ranges similar.<br>
> Do you think this is easily done, if so where should I start?<br>
> I would like to script or code this (either C++ or python).<br>
><br>
> Thanks,<br>
> Jacques<br>
><br>
><br>
><br>
><br>
</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<br>
> <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:<br>
> <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>
><br>
</blockquote></div></div></div><br>
<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></div></blockquote></div></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>