<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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.<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Signature</title>
<a href="http:://www.infolytica.com">www.infolytica.com </a><br>
300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
(514) 849-8752 x236, Fax: (514) 849-4239
</div>
</body>
</html>