<div dir="ltr">Hi Serge,<div><br></div><div>Thank you for your patch. I wonder if you might have better luck submitting your patch to the new GitLab review site for VTK.</div><div><br></div><div><a href="https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/README.md">https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/README.md</a><br></div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 4:56 PM, Serge Lalonde <span dir="ltr"><<a href="mailto:serge@infolytica.com" target="_blank">serge@infolytica.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello VTK Users,<br>
<br>
Attached is a modified version of vtkCubeAxesActor (based on the VTK
6.1 source) that fixes 2 problems that I ran into:<br>
<ol>
<li>There's an incorrect tolerance check for 0 in BuildLabels()
that would cause ugly numbers such as "8.173e-018" to be
displayed instead of 0. The new check properly uses a relative
tolerance based on the extents of the axis values.</li>
<li>Implemented code to always respect the format specified by the
user that's set with Set*LabelFormat(). Previously, the user's
format would get overwritten in AdjustRange(). There's now an
internal format (what was there before) and a user format. The
user format is NULL by default to allow the internal format to
be used but has precedence if set. This should preserve previous
functionality and there are no code changes required from anyone
using the class.</li>
</ol>
<p>I'd love to put it into the main Git repository, but the last
time I tried, I had tons of problems checking in. David DeMarle
and I are still working on it.<br>
If anyone would like to check it in, please be my guest.<br>
In the meantime, I hope that this will help others.<span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<div>-- <br>
<a href="http:://www.infolytica.com" target="_blank">www.infolytica.com </a><br>
300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
<a href="tel:%28514%29%20849-8752%20x236" value="+15148498752" target="_blank">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239" target="_blank">(514) 849-4239</a>
</div>
</font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>