51 QString toString()
const;
Buffer for reading and writing cube data.
Angle * m_azimuth
This is direction of the light, with 0 at north.
double shadedValue(Buffer &input) const
Calculate the shaded value from a 3x3x1 window.
void setAzimuth(Angle azimuth)
The azimuth is the direction of the light.
Hillshade & operator=(const Hillshade &rhs)
Assignment operator.
Angle azimuth() const
Get the current azimuth angle.
Angle * m_zenith
This is the altitide of the light, with 0 directly overhead and 90 at the horizon.
void setZenith(Angle zenith)
The zenith is the altitude/solar elevation of the light.
Hillshade()
Create a default-constructed Hillshade.
Calculate light intensity reflected off a local slope of DEM.
void setResolution(double resolution)
The resolution is the meters per pixel of the input to shadedValue().
Defines an angle and provides unit conversions.
void swap(Hillshade &other)
Swap class data with other; this cannot throw an exception.
double resolution() const
Get the current resolution (meters per pixel).
Namespace for ISIS/Bullet specific routines.
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
double m_pixelResolution
meters per pixel
Angle zenith() const
Get the current zenith angle.