[vtk-developers] [vtkusers] Computational Geometry - user equations?

Andrew Maclean andrew.amaclean at gmail.com
Sun Oct 4 20:05:22 EDT 2015


Fantastic, a beautiful piece of work.

Andrew Maclean
On 5 Oct 2015 10:32 am, <piers.barber at logicmonkey.co.uk> wrote:

> I've updated the source code to explain in comments where the point
> equations come from and shortened all the long lines of code as you suggest.
>
>
> https://github.com/logicmonkey/curves/blob/master/vtk/TrefoilKnot/TrefoilKnot.cxx
>
> I shall be delighted if you find this interesting and use it to
> demonstrate the benefits of VTK.
>
> --
>
> Piers Barber (-=:LogicMonkey:=-)
>
> On 2015-10-04 11:29, Andrew Maclean wrote:
>
> This is such a beautiful example.
>
> Would you consider adding this to the VTK examples?
>
> I was going to add the example I sent you but this looks so much better.
> And ... those partial derivatives look awesome! I would use "\" to keep
> them within the 72 character limit line length.
>
> Andrew Maclean
> On 4 Oct 2015 7:20 pm, <piers.barber at logicmonkey.co.uk> wrote:
>
>> vtkusers,
>>
>> On 2015-10-04 05:38, Andrew Maclean wrote:
>>
>>   pfnSrc->SetUResolution(100);
>>   pfnSrc->SetVResolution(100);
>>
>> And you should get a really smooth surface.
>>
>> Thanks - that works - I've pushed a change that sets 200.
>>
>> This is a nice solution to visualisation. MathMod does a similar job but
>> has a clunky GUI.
>>
>> --
>>
>> Piers Barber -:=LogicMonkey;=-
>>
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20151005/31dd8048/attachment.html>


More information about the vtk-developers mailing list