Magick++ 7.1.1
Loading...
Searching...
No Matches
Magick::shadeImage Class Reference
Collaboration diagram for Magick::shadeImage:

Public Member Functions

 shadeImage (const double azimuth_=30, const double elevation_=30, const bool colorShading_=false)
 
void operator() (Image &image_) const
 

Private Attributes

double _azimuth
 
double _elevation
 
bool _colorShading
 

Detailed Description

Definition at line 1001 of file STL.h.

Constructor & Destructor Documentation

◆ shadeImage()

Magick::shadeImage::shadeImage ( const double  azimuth_ = 30,
const double  elevation_ = 30,
const bool  colorShading_ = false 
)

Definition at line 954 of file STL.cpp.

957 : _azimuth( azimuth_ ),
958 _elevation( elevation_ ),
959 _colorShading (colorShading_)
960{
961}

Member Function Documentation

◆ operator()()

void Magick::shadeImage::operator() ( Magick::Image image_) const

Definition at line 962 of file STL.cpp.

963{
964 image_.shade( _azimuth, _elevation, _colorShading );
965}

Member Data Documentation

◆ _azimuth

double Magick::shadeImage::_azimuth
private

Definition at line 1011 of file STL.h.

◆ _colorShading

bool Magick::shadeImage::_colorShading
private

Definition at line 1013 of file STL.h.

◆ _elevation

double Magick::shadeImage::_elevation
private

Definition at line 1012 of file STL.h.


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