We were just bit by this as well.  +1 for removing it.<div><br></div><div>Ben<br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 8:23 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I propose we remove vtkVariant::ToNumeric(). Either that, or it should be fixed so that it works on Windows as currently it causes link errors. It does not appear to be used anywhere in VTK and I just had to weed it out of some changes to ParaView, which were its first attempted use there. The ToDouble() or ToFloat() methods are acceptable replacements when the return type is known and vtkVariantExtract.h provides templated type conversion macros that appear to work.<br>

<br>
        Any objections?<br>
        David<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>