[vtkusers] vtkVariant to double

David Gobbi david.gobbi at gmail.com
Thu Jan 6 01:49:08 EST 2011


double vtkVariant::ToDouble();


On Wed, Jan 5, 2011 at 11:36 PM, kwayeke <bigvision82 at yahoo.com> wrote:
>
> I am using vtkArray which has a value of vtkVariant. How do I get a double
> value?  I want to iterate over this array to get the value at each point
> snip
> ------------------------------------------------------------------------------------------
> vtkVariant vtkArray::GetVariantValue ( CoordinateT  i,CoordinateT
> j,CoordinateT  k         )
> --------------------------------------------------------------------------------------------
>
> Many thanks for your help
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/vtkVariant-to-double-tp3330025p3330025.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list