[vtkusers] MATLAB's surf equivalent in VTK

David Doria daviddoria at gmail.com
Tue Jun 21 07:30:47 EDT 2011


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



More information about the vtkusers mailing list