<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Thanks Andy, I was not aware of the examples.<br></div><div><br></div><div>Best,<br></div><div>Lokman</div><div><span name="x"></span><div><span style="color: #808080;" data-mce-style="color: #808080;" color="#808080">================================<br><i><br></i></span></div><span name="x"></span><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Andy Bauer" <andy.bauer@kitware.com><br><b>À: </b>"Matthieu Dorier" <mdorier@anl.gov><br><b>Cc: </b>"ParaView Mailing List ‎[paraview@paraview.org]‎" <paraview@paraview.org><br><b>Envoyé: </b>Mercredi 21 Septembre 2016 16:25:36<br><b>Objet: </b>Re: [Paraview] Catalyst: dump everything in C++<br><div><br></div><div dir="ltr"><div><div><div><div>Hi Matthieu,<br><div><br></div></div>You can indeed use Catalyst without Python. There are two examples in the Examples/Catalyst subdirectory of the source tree to do that. They are CxxVTKPipelineExample and CxxPVSMPipelineExample. I wouldn't recommend this method as the Python route is much simpler. Several people have thought about avoiding the Python interface and generally come around to its flexibility (both ease in creating new Catalyst output as well as making changes without having to recompile code).<br><div><br></div></div>In my opinion, if you're not doing image output the C++ route is manageable without too much difficulty. For image output there's a lot of things which need to be set in order to get all the lookup tables, data ranges, camera angle, etc. that can get quite complex. If you look at a GUI generated Catalyst script for data extract output and compare it to image output you'll easily see the difference in the complexity. Also, Cinema output is Python driven so that wouldn't be available through a C++ pipeline.<br><div><br></div></div><div>Now that I've gone through all of this, is there a specific reason why you're looking to avoid Python?<br></div><div><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 21, 2016 at 9:27 AM, Dorier, Matthieu <span dir="ltr"><<a href="mailto:mdorier@anl.gov" target="_blank">mdorier@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">Hi,<br>
<br>
In general the way we create python scripts for a Catalyst-enabled simulation is by first running the simulation with a Python script that writes the data into files, then do offline analysis on those files and export a python script representing the analysis
 tasks to be done in situ.<br>
<br>
I was wondering if, instead of using a Python script for writing all the data into file, an equivalent C++ code was available, and how such a code would be integrated into a Catalyst-enabled simulation? Or maybe just with VTK once the adaptors are written for
 the simulation's data?<br>
<br>
Thanks,<br>
<br>
Matthieu<br>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>Powered by www.kitware.com<br><div><br></div>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><div><br></div>Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br><div><br></div>Search the list archives at: http://markmail.org/search/?q=ParaView<br><div><br></div>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/paraview<br></blockquote><div><br></div></div></body></html>