[vtk-developers] contributing a Bezier curve
bwiklak at gmail.com
Fri Sep 4 14:45:05 EDT 2009
Thanks for your answer, your Bezier surface looks very nice, why
didn't you add it to vtk?
At first step I would like to implement a Bezier curve. I see that you
also decided to use vtkParametricFunction as a base class. I have some
"bad feelings about this".
Does your bezier surface algorithm can produce curves also?
On Fri, Sep 4, 2009 at 9:38 AM, Prashanth
Udupa<prashanth.udupa at gmail.com> wrote:
> We have a vtkBezierSurfaceSource algorithm written for VTK Designer.
> Take a look at the "How to construct Bezeir Surfaces using VTK
> Designer 2" PDF file downloadable from here:
> The source code for the algorithm can be checked out as a part of VTK Designer.
> More specifically from here
> Username and password for readonly access is anonymous.
> If you like the implementation, I would encourage (and also feel happy
> if) you to polish it and offer the class to VTK.
> On Fri, Sep 4, 2009 at 1:03 PM, Bartosz Wiklak<bwiklak at gmail.com> wrote:
>> I would like to add a Bézier curve interpolation into vtk, I don't
>> know where to add it: vtkSpline represents 1D parametric spline - I
>> think that it would be better to interpolate 3D spline at the
>> begining. Also when I look into vtkParametricSpline I see some ugly
>> code written to add 3D points into 1D splines at parametric position t
>> - user of the code and Bézier spline intepolation does not require to
>> have points given in parametric position.
>> Maybe I should instantiate vtkParametricFunction? - but this will
>> course cardinal spline and kochanek spline be some different being
>> than Bézier spline.
>> How do you think?
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>> Follow this link to subscribe/unsubscribe:
> Thanks and Warm Regards,
> Prashanth N Udupa
> prashanth.udupa at gmail.com
More information about the vtk-developers