[vtk-developers] contributing a Bezier curve
Bartosz Wiklak
bwiklak at gmail.com
Fri Sep 4 14:45:05 EDT 2009
Hi,
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?
Bartek
On Fri, Sep 4, 2009 at 9:38 AM, Prashanth
Udupa<prashanth.udupa at gmail.com> wrote:
> Hi,
>
> 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:
> http://www.vcreatelogic.com/resources/downloads/
>
> The source code for the algorithm can be checked out as a part of VTK Designer.
> https://svn2.hosted-projects.com/vcreatelogic/VTKDesigner2
>
> More specifically from here
> https://svn2.hosted-projects.com/vcreatelogic/VTKDesigner2/Components/VTKSystem/VCLClasses
>
> 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.
>
> Thanks,
> Prashanth
>
> On Fri, Sep 4, 2009 at 1:03 PM, Bartosz Wiklak<bwiklak at gmail.com> wrote:
>> Hi,
>> 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?
>>
>> Bartek
>> _______________________________________________
>> 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:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>
>
> --
> Thanks and Warm Regards,
> Prashanth N Udupa
>
> prashanth.udupa at gmail.com
> http://www.prashanthudupa.com
> http://prashanthudupa.livejournal.com/
>
More information about the vtk-developers
mailing list