<p dir="ltr">Fantastic, a beautiful piece of work.</p>
<p dir="ltr">Andrew Maclean</p>
<div class="gmail_quote">On 5 Oct 2015 10:32 am,  <<a href="mailto:piers.barber@logicmonkey.co.uk">piers.barber@logicmonkey.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>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.</p>
<p><a href="https://github.com/logicmonkey/curves/blob/master/vtk/TrefoilKnot/TrefoilKnot.cxx" target="_blank">https://github.com/logicmonkey/curves/blob/master/vtk/TrefoilKnot/TrefoilKnot.cxx</a></p>
<p>I shall be delighted if you find this interesting and use it to demonstrate the benefits of VTK.</p>
<p>--</p>
<p>Piers Barber (-=:LogicMonkey:=-)</p>
<p>On 2015-10-04 11:29, Andrew Maclean wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<p dir="ltr">This is such a beautiful example.</p>
<p dir="ltr">Would you consider adding this to the VTK examples?</p>
<p dir="ltr">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.</p>
<p dir="ltr">Andrew Maclean</p>
<div class="gmail_quote">On 4 Oct 2015 7:20 pm, <<a href="mailto:piers.barber@logicmonkey.co.uk" target="_blank">piers.barber@logicmonkey.co.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="text-decoration:underline"></span>
<div>
<p>vtkusers,</p>
<p>On 2015-10-04 05:38, Andrew Maclean wrote:</p>
<blockquote style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div dir="ltr">
<div>
<div>  pfnSrc->SetUResolution(100);</div>
<div>  pfnSrc->SetVResolution(100);</div>
</div>
<div> </div>
<div>And you should get a really smooth surface.</div>
</div>
</blockquote>
<div>
<p>Thanks - that works - I've pushed a change that sets 200.</p>
<p>This is a nice solution to visualisation. MathMod does a similar job but has a clunky GUI.</p>
<p>--</p>
<p>Piers Barber -:=LogicMonkey;=-</p>
<p> </p>
</div>
</div>
</blockquote>
</div>
</blockquote>
<p> </p>
<div> </div>
</div>
</blockquote></div>