Mercator
|
Shader that fills the surface. More...
#include <FillShader.h>
Public Member Functions | |
FillShader () | |
Constructor. | |
FillShader (const Parameters ¶ms) | |
Constructor. More... | |
virtual bool | checkIntersect (const Segment &) const |
Check whether this Shader has any effect on the given Segment. More... | |
virtual void | shade (Surface &) const |
Populate a Surface with data. | |
![]() | |
virtual | ~Shader () |
Destructor does nothing interesting. | |
bool | getColor () const |
Accessor for color flag. | |
bool | getAlpha () const |
Accessor for alpha flag. | |
Surface * | newSurface (const Segment &) const |
Create a new Surface which matches the requirements of this shader. More... | |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, float > | Parameters |
STL map of parameter values for a shader constructor. | |
![]() | |
Shader (bool color=false, bool alpha=true) | |
Protected constructor for classes which inherit from this one. More... | |
Shader that fills the surface.
This shader is typically only used for the lowest possible layer, which is usually bed rock.
|
explicit |
Constructor.
params | a map of parameters for the shader. |
|
virtual |
Check whether this Shader has any effect on the given Segment.
Implements Mercator::Shader.