• David C. Lonie's avatar
    Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
    David C. Lonie authored
    SafeDownCast performs a series of virtual calls and string comparisons,
    which is quite slow, especially when used in worker functions.
    
    vtkArrayDownCast will switch between SafeDownCast and the more
    efficient FastDownCast (only available for common vtkAbstractArray
    subclasses) depending on whether or not FastDownCast is defined for
    the specific array type.
    0d71a308
vtkLegendBoxActor.cxx 30.4 KB