painter
Interface IPainter

All Known Implementing Classes:
CheckerPainter, IridescentPainter, TexturePainter, UniformColorPainter, ValuePainter

public interface IPainter

a painter for the surface
a painter takes the information at a intersection and returns a color computed of that information


Method Summary
 RGBColor getColor(IntersectionInfo intersection)
           
 IPainter getCopy()
           
 

Method Detail

getColor

RGBColor getColor(IntersectionInfo intersection)
Parameters:
intersection -
Returns:
the computed color as an RGBColor

getCopy

IPainter getCopy()
Returns:
a copy of the painter