Skip to content
  • Andrew Maclean's avatar
    Make some color methods consistent. · 55475274
    Andrew Maclean authored
    
    
    In order to use functions like SetTableValue(2, "Blue") in a lookup table
      or other SetColors in derived classes in the same manner,
      these methods should be virtual.
    This commit just makes the relevant Set methods virtual.
    In the case of vtkProperty, the definition of SetColor(double a[3]) has
      been moved into vtkProperty.cxx, the rationale is that, in VTK classes,
      definitions occur in the implementation file not the header file.
    
    Change-Id: I6ad8d0019785faed1f7cb157192fdcc2f2d70c34
    Signed-off-by: default avatarAndrew Maclean <andrew.amaclean@gmail.com>
    55475274