[vtk-developers] vtkVariant::ToNumeric()

David Thompson david.thompson at kitware.com
Wed Sep 26 19:07:20 EDT 2012


Hi Ben,

> We were just bit by this as well.  +1 for removing it.

Since no one else has responded, I'll push a topic to Gerrit tomorrow for review that removes it.

	David


> 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
> 
> 




More information about the vtk-developers mailing list