• Steven Hahn's avatar
    Improve accuracy of progress reported by vtkXMLStructuredDataWriter. · 0088bfc1
    Steven Hahn authored
    This improves progress reported by vtkXMLStructuredDataWriter and
    vtkXMLStructuredGridWriter by creating separate fractions for
    reporting progress writing field data and writing other data arrays.
    This prevents the vtkAlgorithm::GetProgress() from prematurely
    reporting 100%. Fractions are generated from the number of values
    in each array, which should be more accurate than using the
    dimensions and ignoring the number of components.
vtkXMLStructuredGridWriter.cxx 5.83 KB