[vtk-developers] vtkVariant::ToNumeric()
Ben Payne
ben.payne at kitware.com
Wed Sep 26 17:25:26 EDT 2012
We were just bit by this as well. +1 for removing it.
Ben
On Tue, Sep 25, 2012 at 8:23 PM, David Thompson
<david.thompson at kitware.com>wrote:
> Hi all,
>
> 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.
>
> Any objections?
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120926/3405f67a/attachment.html>
More information about the vtk-developers
mailing list