[vtkusers] Computational Geometry - user equations?

piers.barber at logicmonkey.co.uk piers.barber at logicmonkey.co.uk
Tue Sep 29 12:13:36 EDT 2015


Hi All,

I'd like to specify a surface f(u,v) in 3D with my own parametric 
equation system {x(u,v), y(u,v), z(u,v)}. And then visualize it.

The only way I can see to do this is to add my function to the library 
source code, build the library and then call my function as described 
here:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/ParametricObjectsDemo#CMakeLists.txt

I'm using vtkParametricTorus[.h, .cxx] as a template, but is there an 
easier and more direct way to do this?

Thanks!

-=:LM:=-


More information about the vtkusers mailing list