<div dir="ltr"><div><div><div><div>Hi Matthieu,<br><br></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><br></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><br></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>______________________________<wbr>_________________<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/<wbr>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/<wbr>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=<wbr>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/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>