[vtkusers] MATLAB's surf equivalent in VTK

Jothy jothybasu at gmail.com
Wed Jun 22 04:49:04 EDT 2011


Excellent Isaiah!

This is what I was exactly looking for.

Thank you

Jothy

On Wed, Jun 22, 2011 at 4:14 AM, Isaiah Norton <isaiah.norton at gmail.com>wrote:

> MayaVi provied a nice matlab-like 3d plotting kit for Python called "mlab".
> It uses Python-wrapped VTK and works directly with NumPy arrays.
>
>
> http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab_helper_functions.html#surf
> http://www.scipy.org/Cookbook/MayaVi/Surf
>
> Some neat related examples here:
>
> http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/examples.html
>
> -Isaiah
>
>
> On Tue, Jun 21, 2011 at 7:32 AM, Jothy <jothybasu at gmail.com> wrote:
>
>> Thanks David, will have alook at this.
>>
>> Jothy
>>
>>
>> On Tue, Jun 21, 2011 at 12:30 PM, David Doria <daviddoria at gmail.com>wrote:
>>
>>> On Tue, Jun 21, 2011 at 7:23 AM, Jothy <jothybasu at gmail.com> wrote:
>>> > Hi all,
>>> >
>>> > I would like to create a surface plot of 3 variable (x,y,z). There are
>>> > functions to do this in MATLAB, but I wonder is there any classes in
>>> VTK to
>>> > do that?
>>> >
>>> > Thanks
>>> >
>>> > Jothy
>>>
>>> If you have f(x,y) = z, (which I think is what surf handles) you can
>>> use this technique:
>>> http://vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ElevationFilter
>>>
>>> David
>>>
>>
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110622/a17c15f4/attachment.htm>


More information about the vtkusers mailing list