[Paraview] Interfacing to ParaView/VTK

Hamilton Woods ghw at accutrol.com
Wed Dec 29 14:18:44 EST 2010


Berk,

I'm not sure how to reply to a post, so I am replying to your email and CC'ing 
the mailing list.

I'm sorry that it took me so long to thank you for your reply to my post.  
Thank you for your help.  I wish I were further along than I am.  Based on 
your input, I am trying to learn how to use CMake to create projects to build 
some of the VTK examples.

Hopefully I will soon be able to master the MATLAB/VTK interface.

Hamilton Woods

---------- Original Message -----------
From: Berk Geveci <berk.geveci at kitware.com> 
To: Hamilton Woods <ghw at accutrol.com> 
Cc: paraview at paraview.org 
Sent: Fri, 17 Dec 2010 14:16:33 -0500 
Subject: Re: [Paraview] Interfacing to ParaView/VTK

> Hi Hamilton,
> 
> 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?
> 
> You may want to take a look at these:
> http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTK.html
> http://www.kitware.com/products/html/MATLABAndGNURIntegrationWithVTKNowAvailable.html
> 
> -berk
> 
> On Fri, Dec 17, 2010 at 1:44 PM, Hamilton Woods <ghw at accutrol.com> wrote:
> This user community has been most helpful.  You have helped
> me learn how to drive ParaView.  I now have a Python
> program that I can run using pvPython to integrate the
> density along a line segment in a CFD solution.
> 
> I need to accomplish this from MATLAB.  I am thinking of
> doing this by calling VTK from MATLAB.  I notice that the
> binary distribution of VTK does not have any DLL's
> prebuilt, but ParaView does.  It appears from looking
> through the ParaView source that the C++ source has been
> built into a DLL that can be called from an external
> program.  Basically, for this application, I do not need
> the ability to view data, just process it.
> 
> I have a few questions:
> 
> 1)  Is my understanding correct that the vtk DLL's in
>    the ParaView bin folder can be called directly from
>    an external program?
> 
> 2)  Are these DLL's built from the C++ source files in the
>    VTK folder under the ParaView folder?  (I need to know
>    this because it may become necessary to rebuild this
>    set for other operating systems.)
> 
> 3)  Does this mean that I don't really need to use CMake
>    to call ParaView/VTK from a top-level program?
> 
> 4)  If my understanding is correct, is this documented
>    anywhere?  I have The ParaView Guide, The VTK User's
>    Guide, and The Visualization Toolkit: An Object-
>    Oriented Approach to 3D Graphics.  The only thing I
>    have seen mentioned is the client/server sections in
>    The ParaView User's Guide.  Actually, this might even
>    be what I need.
> 
> Thanks for your help,
> Hamilton Woods
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
> 
------- End of Original Message -------

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101229/2d022018/attachment.htm>


More information about the ParaView mailing list