| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/image/imagemodulate.h>

Public Member Functions | |
| ImageModulate (Image *referenceImage) | |
| void | setReferenceImage (Image *image) |
| Image * | getReferenceImage () const |
| Set/get the reference image. | |
| virtual Image * | manipulate (Image *source, Image *target) |
| virtual bool | operatesInPlace () const |
| VRS_TYPEINFO (ImageModulate, ImageManipulator) | |
| VRS::ImageModulate::ImageModulate | ( | Image * | referenceImage | ) |
For each pixel component, the modulated value is computed as this_pixel_component * reference_pixel_component. Both images must have the same extension and the the same number of image layers.
| void VRS::ImageModulate::setReferenceImage | ( | Image * | image | ) |
| Image* VRS::ImageModulate::getReferenceImage | ( | ) | const |
Set/get the reference image.
The image operation is apply to the source image and the the resulting image is stored in the target image. The handle of the target image is returned.
Implements VRS::ImageManipulator.
| virtual bool VRS::ImageModulate::operatesInPlace | ( | ) | const [virtual] |
See `ImageManipulator'. Blends the source image and the reference image, and stores the result in the target image. This manipulator operates in place.
Reimplemented from VRS::ImageManipulator.
| VRS::ImageModulate::VRS_TYPEINFO | ( | ImageModulate | , | |
| ImageManipulator | ||||
| ) |