Commit 293e5386 authored by Committed by Dave DeMarleBrowse files
Make some color methods consistent.
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) 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: I89fee8eb4902e0847114b068374c3bff0bf10b9d
Showing with 22 additions and 15 deletions