Enrollment 28.2.0
Loading...
Searching...
No Matches
ImageMasker Class Referenceabstract

Interface for image masking operations. More...

#include <ImageMask.h>

Collaboration diagram for ImageMasker:

Public Member Functions

virtual void MaskCircle (const Circle &mask, const class ImageMaskConfiguration &conf)=0
 Applies a circular image mask to an image.
virtual void MaskPolygon (const Polygon &mask, const ImageMaskConfiguration &conf)=0
 Applies a specified polygonal mask to the image.
virtual void BlurCircle (const Circle &circle, ImageMaskType maskType, ImageBlurType blurType)=0
 Applies a blur effect to a specified circular area in the image.
virtual void BlurPolygon (const Polygon &polygon, ImageMaskType maskType, ImageBlurType blurType)=0
 Applies a blur effect to a specified polygonal area in the image.
virtual void AddToBlur (const Circle &circle, ImageMaskType maskType)=0
 Adds a circular area for a future blur operation.
virtual void AddToBlur (const Polygon &polygon, ImageMaskType maskType)=0
 Adds a polygonal area for a future blur operation.
virtual void ApplyBlur (ImageBlurType blurType)=0
 Executes the blur effect on all added shapes with the specified blur type.

Detailed Description

Interface for image masking operations.

Member Function Documentation

◆ AddToBlur() [1/2]

virtual void AddToBlur ( const Circle & circle,
ImageMaskType maskType )
pure virtual

Adds a circular area for a future blur operation.

Parameters
circleThe Circle object representing the area to be added to the blur queue.
maskTypeThe type of mask to apply the blurring on.

◆ AddToBlur() [2/2]

virtual void AddToBlur ( const Polygon & polygon,
ImageMaskType maskType )
pure virtual

Adds a polygonal area for a future blur operation.

Parameters
polygonThe Polygon object representing the area to be added to the blur queue.
maskTypeThe type of mask to apply the blurring on.

◆ ApplyBlur()

virtual void ApplyBlur ( ImageBlurType blurType)
pure virtual

Executes the blur effect on all added shapes with the specified blur type.

Parameters
blurTypeThe type of blur to apply to the queued shapes.

◆ BlurCircle()

virtual void BlurCircle ( const Circle & circle,
ImageMaskType maskType,
ImageBlurType blurType )
pure virtual

Applies a blur effect to a specified circular area in the image.

Parameters
circleThe Circle object defining the area to blur.
maskTypeThe type of mask to apply the blurring on.
blurTypeThe type of blur effect to apply.

Referenced by CircleImageMask::MaskWith().

Here is the caller graph for this function:

◆ BlurPolygon()

virtual void BlurPolygon ( const Polygon & polygon,
ImageMaskType maskType,
ImageBlurType blurType )
pure virtual

Applies a blur effect to a specified polygonal area in the image.

Parameters
polygonThe Polygon object defining the area to blur.
maskTypeThe type of mask to apply the blurring on.
blurTypeThe type of blur effect to apply.

Referenced by PolygonImageMask::MaskWith().

Here is the caller graph for this function:

◆ MaskCircle()

virtual void MaskCircle ( const Circle & mask,
const class ImageMaskConfiguration & conf )
pure virtual

Applies a circular image mask to an image.

Parameters
maskThe Circle object defining the mask shape.
confConfiguration properties of the mask.

Referenced by CircleImageMask::MaskWith().

Here is the caller graph for this function:

◆ MaskPolygon()

virtual void MaskPolygon ( const Polygon & mask,
const ImageMaskConfiguration & conf )
pure virtual

Applies a specified polygonal mask to the image.

Parameters
maskThe Polygon object defining the mask shape.
confConfiguration properties of the mask.

Referenced by PolygonImageMask::MaskWith().

Here is the caller graph for this function:

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