Insert numeric values with SetVariantValue instead of ToDouble()
InsertNextRow(vtkVariantArray) was transferring numeric values from the input to the row data by calling SetTuple1(value.ToDouble()). This corrupted the low-order bits of 64-bit integers due to loss of precision. We avoid this by using the new SetVariantValue method on vtkAbstractArray.
Please register or sign in to comment