Hi Hamilton,<div><br></div><div>I don't think that you can use the ParaView binary distribution for this. You can't simply load the DLLs and call them. You need some sort of API that can be accessed through the dynamic API. Python is an obvious choice but can you call Python from within Matlab?</div>
<div><br></div><div>You may want to take a look at these:</div><div><a href="http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTK.html">http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTK.html</a></div>
<div><a href="http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTKNowAvailable.html">http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTKNowAvailable.html</a></div><div><br></div><div>-berk<br>
<br><div class="gmail_quote">On Fri, Dec 17, 2010 at 1:44 PM, Hamilton Woods <span dir="ltr"><<a href="mailto:ghw@accutrol.com">ghw@accutrol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This user community has been most helpful. You have helped<br>
me learn how to drive ParaView. I now have a Python<br>
program that I can run using pvPython to integrate the<br>
density along a line segment in a CFD solution.<br>
<br>
I need to accomplish this from MATLAB. I am thinking of<br>
doing this by calling VTK from MATLAB. I notice that the<br>
binary distribution of VTK does not have any DLL's<br>
prebuilt, but ParaView does. It appears from looking<br>
through the ParaView source that the C++ source has been<br>
built into a DLL that can be called from an external<br>
program. Basically, for this application, I do not need<br>
the ability to view data, just process it.<br>
<br>
I have a few questions:<br>
<br>
1) Is my understanding correct that the vtk DLL's in<br>
the ParaView bin folder can be called directly from<br>
an external program?<br>
<br>
2) Are these DLL's built from the C++ source files in the<br>
VTK folder under the ParaView folder? (I need to know<br>
this because it may become necessary to rebuild this<br>
set for other operating systems.)<br>
<br>
3) Does this mean that I don't really need to use CMake<br>
to call ParaView/VTK from a top-level program?<br>
<br>
4) If my understanding is correct, is this documented<br>
anywhere? I have The ParaView Guide, The VTK User's<br>
Guide, and The Visualization Toolkit: An Object-<br>
Oriented Approach to 3D Graphics. The only thing I<br>
have seen mentioned is the client/server sections in<br>
The ParaView User's Guide. Actually, this might even<br>
be what I need.<br>
<br>
Thanks for your help,<br>
Hamilton Woods<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>
</blockquote></div><br></div>