Changeset 382 for ImageMagick/trunk/Magick++
- Timestamp:
- 10/15/09 12:17:14 (5 months ago)
- Location:
- ImageMagick/trunk/Magick++/lib
- Files:
-
- 2 modified
-
Magick++/STL.h (modified) (1 diff)
-
STL.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/Magick++/lib/Magick++/STL.h
r247 r382 953 953 { 954 954 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; 963 965 }; 964 966 -
ImageMagick/trunk/Magick++/lib/STL.cpp
r247 r382 876 876 877 877 // Shade image using distant light source 878 Magick::shadeImage::shadeImage( const double clusterThreshold_, 879 const double smoothingThreshold_ ) 880 : _clusterThreshold( clusterThreshold_ ), 881 _smoothingThreshold( smoothingThreshold_ ) 878 Magick::shadeImage::shadeImage( const double azimuth_, 879 const double elevation_, 880 const bool colorShading_) 881 : _azimuth( azimuth_ ), 882 _elevation( elevation_ ), 883 _colorShading (colorShading_) 882 884 { 883 885 }
