[vtkusers] Bezier Curve in VTK 6.2.0

Huang Li lihuang55555 at gmail.com
Tue Mar 10 03:38:05 EDT 2015


Hi all,

I am try to draw a 3D bezier curve by specifying 4 control points in VTK
6.2.0.
( just like the demo here
http://blogs.sitepointstatic.com/examples/tech/canvas-curves/bezier-curve.html
)

But I can't find any data source class to generate a vtkPolyData by
specifying bezier control points. Is there a such class in VTK? The closest
ones I can find are vtkParametricSpline and vtkParametricFunctionSource,
but I still can't figure out how to draw a bezier curve using these class.

I would very much appreciate any guidance or advice.

Best,
-- 
Huang Li
Graduate Student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150310/ff72b6ff/attachment.html>


More information about the vtkusers mailing list