Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
RevEffectCommandBitmapEffect Class
See Also  Members  
Leadtools.Windows.Media.Effects.SpecialEffects Namespace : RevEffectCommandBitmapEffect Class




Adds a pseudo-3D wave effect to the image by drawing lines across the image, basing the line's height at each point on its brightness at that point. This command is available in the Raster Pro and above toolkits.

Syntax

Visual Basic (Declaration) 
Public Class RevEffectCommandBitmapEffect 
   Inherits RasterCommandBitmapEffect
Visual Basic (Usage)Copy Code
Dim instance As RevEffectCommandBitmapEffect
C# 
public class RevEffectCommandBitmapEffect : RasterCommandBitmapEffect 
Managed Extensions for C++ 
public __gc class RevEffectCommandBitmapEffect : public RasterCommandBitmapEffect 
C++/CLI 
public ref class RevEffectCommandBitmapEffect : public RasterCommandBitmapEffect 

Example

Run the RevEffectCommandBitmapEffect on an image.

Remarks

  • This command adds a pseudo-3D wave effect to the image. It is similar to the Rutt-Etra Video Synthesizer. The Rutt-Etra video synthesizer was a processor that modulated the deflection lines of a television image so that they appeared to adopt the contours of objects. It was invented by Steve Rutt and Bill Etra in the 1970s.
  • With this command, you set the maximum height to be used for the pixels with the maximum brightness value. The other pixel heights are calculated by linear interpolation. Each line is 1 pixel in width. Control the spacing between the lines that are drawn across the image with the LineSpace parameter.
  • You can get a more stable wave by performing the following:
    1. Apply any type of blur like GaussianCommandBitmapEffect blur with a large radius value.
    2. Apply the RevEffectCommandBitmapEffect and pass a small value for the maximum height.
    3. This command does not support 32-bit grayscale images.
  • This command supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.
  • This command does not support signed data images.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Freezable
            System.Windows.Media.Animation.Animatable
               System.Windows.Media.Effects.BitmapEffect
                  Leadtools.Windows.Media.Effects.RasterCommandBitmapEffect
                     Leadtools.Windows.Media.Effects.SpecialEffects.RevEffectCommandBitmapEffect

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also