Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::ShadingParameters Class Reference

#include <MShadingParameters.h>

Public Member Functions

 ShadingParameters ()
 Constructor. Sets default values.
 
float getAzimuthAngle () const
 
void setAzimuthAngle (float val)
 
float getElevationAngle () const
 
void setElevationAngle (float val)
 
float getAmbient () const
 
void setAmbient (float val)
 
float getSpecular () const
 
void setSpecular (float val)
 
float getShininess () const
 
void setShininess (float val)
 
float getBrightness () const
 General brightness adjustment of shading layer [-1.0, 1.0].
 
void setBrightness (float val)
 

Detailed Description

ShadingParameters - Parameters for hillshading layer

Member Function Documentation

◆ getAmbient()

float Maria::ShadingParameters::getAmbient ( ) const
inline

Ambient intensity. [0.0, 1.0] This parameter is only valid for shading layers This controls the amount of background lighting. Ambient 0 gives very dark shadows, while 1.0 gives no shadows at all.

◆ getAzimuthAngle()

float Maria::ShadingParameters::getAzimuthAngle ( ) const
inline

Light compass angle towards the light source [0, 360] This parameter is only valid for shading layers This controls the direction towards the light source. 0 is from the north, 180 is from the south.

◆ getElevationAngle()

float Maria::ShadingParameters::getElevationAngle ( ) const
inline

Light elevation angle [0, 90]. This parameter is only valid for shading layers This controls how high the light source is above the horizon. 90 means that it is directly above and points straight down.

◆ getShininess()

float Maria::ShadingParameters::getShininess ( ) const
inline

Specular shininess exponent [0-128]. This parameter is only valid for shading layers This parameter determines the shape of the specular highlight. High values gives small and sharply defined highlights, while lower values give larger and more fuzzy highlights.

◆ getSpecular()

float Maria::ShadingParameters::getSpecular ( ) const
inline

Specular highlight intensity [0.0, 1.0]. This parameter is only valid for shading layers This controls the amount of specular highlighting.


The documentation for this class was generated from the following file: