Mercator
|
Shader that fills the surface. More...
#include <FillShader.h>
Public Member Functions | |
FillShader () | |
Constructor. | |
FillShader (const Parameters ¶ms) | |
Constructor. | |
virtual bool | checkIntersect (const Segment &) const |
Check whether this Shader has any effect on the given Segment. | |
virtual void | shade (Surface &) const |
Populate a Surface with data. |
Shader that fills the surface.
This shader is typically only used for the lowest possible layer, which is usually bed rock.
Mercator::FillShader::FillShader | ( | const Parameters & | params | ) | [explicit] |
Constructor.
params | a map of parameters for the shader. |
bool Mercator::FillShader::checkIntersect | ( | const Segment & | ) | const [virtual] |
Check whether this Shader has any effect on the given Segment.
Implements Mercator::Shader.