65 double m_pixelResolution;
Defines an angle and provides unit conversions.
Definition Angle.h:45
Buffer for reading and writing cube data.
Definition Buffer.h:53
Calculate light intensity reflected off a local slope of DEM.
Definition Hillshade.h:37
~Hillshade()
Definition Hillshade.cpp:65
Hillshade & operator=(const Hillshade &rhs)
Assignment operator.
Definition Hillshade.cpp:303
Angle zenith() const
Get the current zenith angle.
Definition Hillshade.cpp:140
void setResolution(double resolution)
The resolution is the meters per pixel of the input to shadedValue().
Definition Hillshade.cpp:115
void setAzimuth(Angle azimuth)
The azimuth is the direction of the light.
Definition Hillshade.cpp:82
void swap(Hillshade &other)
Swap class data with other; this cannot throw an exception.
Definition Hillshade.cpp:293
Hillshade()
Create a default-constructed Hillshade.
Definition Hillshade.cpp:24
Angle azimuth() const
Get the current azimuth angle.
Definition Hillshade.cpp:125
double resolution() const
Get the current resolution (meters per pixel).
Definition Hillshade.cpp:155
void setZenith(Angle zenith)
The zenith is the altitude/solar elevation of the light.
Definition Hillshade.cpp:99
double shadedValue(Buffer &input) const
Calculate the shaded value from a 3x3x1 window.
Definition Hillshade.cpp:163
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition Hillshade.cpp:313