Show
Ignore:
Timestamp:
10/15/09 12:17:14 (5 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk/Magick++/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/Magick++/lib/Magick++/STL.h

    r247 r382  
    953953  { 
    954954  public: 
    955     shadeImage( const double clusterThreshold_ = 1.0,  
    956     const double smoothingThreshold_ = 1.5 ); 
    957  
    958     void operator()( Image &image_ ) const; 
    959  
    960   private: 
    961     double  _clusterThreshold; 
    962     double  _smoothingThreshold; 
     955    shadeImage( const double azimuth_ = 30, 
     956    const double elevation_ = 30, 
     957    const bool   colorShading_ = false ); 
     958 
     959    void operator()( Image &image_ ) const; 
     960 
     961  private: 
     962    double  _azimuth; 
     963    double  _elevation; 
     964    bool    _colorShading; 
    963965  }; 
    964966 
  • ImageMagick/trunk/Magick++/lib/STL.cpp

    r247 r382  
    876876 
    877877// Shade image using distant light source 
    878 Magick::shadeImage::shadeImage( const double clusterThreshold_,  
    879                                 const double smoothingThreshold_ ) 
    880   : _clusterThreshold( clusterThreshold_ ), 
    881     _smoothingThreshold( smoothingThreshold_ ) 
     878Magick::shadeImage::shadeImage( const double azimuth_, 
     879                                const double elevation_, 
     880        const bool colorShading_) 
     881  : _azimuth( azimuth_ ), 
     882    _elevation( elevation_ ), 
     883    _colorShading (colorShading_) 
    882884{ 
    883885}