<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">Berk,
<br />
<br />I'm not sure how to reply to a post, so I am replying to your email and CC'ing
<br />the mailing list.
<br />
<br /></font><font size="2">I'm sorry that it took me so long to thank you for your
reply to my post.</font><font size="2">
<br />Thank you for your help. I wish I were further along than I am. Based on
<br />your input, I am trying to learn how to use CMake to create projects to build
<br />some of the VTK examples.
<br />
<br />Hopefully I will soon be able to master the MATLAB/VTK interface.
<br />
<br />Hamilton Woods
<br />
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: Berk Geveci <berk.geveci@kitware.com>
<br />
To: Hamilton Woods <ghw@accutrol.com>
<br />
Cc: paraview@paraview.org
<br />
Sent: Fri, 17 Dec 2010 14:16:33 -0500
<br />
Subject: Re: [Paraview] Interfacing to ParaView/VTK
<br />
<br />> Hi Hamilton,
<br />>
<br />> 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?
<br />>
<br />> You may want to take a look at these:
<br />> <a href="http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTK.html">http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTK.html</a>
<br />> <a href="http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTKNowAvailable.html">http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTKNowAvailable.html</a>
<br />>
<br />> -berk
<br />>
<br />> 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 style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
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 target="_blank" href="http://www.kitware.com/">www.kitware.com</a>
<br />>
<br />>
Visit other Kitware open-source projects at <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
<br />>
<br />>
Please keep messages on-topic and check the ParaView Wiki at: <a target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
<br />>
<br />>
Follow this link to subscribe/unsubscribe:
<br />>
<a target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
<br />>
</blockquote>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
<div id="avg_ls_inline_popup" style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;"></div>
<script id="avg_inject_popup" type="text/javascript" src="chrome://searchshield/content/avgls-inline.js"></script>
</BODY>
</HTML>