krita
KisBasicF32HistogramProducer Class Reference
Inheritance diagram for KisBasicF32HistogramProducer:

Detailed Description
Definition at line 101 of file kis_basic_histogram_producers.h.
Public Member Functions | |
KisBasicF32HistogramProducer (const KisID &id, KisColorSpace *colorSpace) | |
virtual void | addRegionToBin (Q_UINT8 *pixels, Q_UINT8 *selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace) |
virtual QString | positionToString (double pos) const |
virtual double | maximalZoom () const |
Member Function Documentation
void KisBasicF32HistogramProducer::addRegionToBin | ( | Q_UINT8 * | pixels, | |
Q_UINT8 * | selectionMask, | |||
Q_UINT32 | nPixels, | |||
KisColorSpace * | colorSpace | |||
) | [virtual] |
Adds the values from the specified array of pixels to the bins -- does not reset anything.
- Parameters:
-
pixels A pointer an array of pixeldata in the given colorspace selectionMask a pointer to an array of bytes, where 0 is unselected and 1-255 is degree of selectedness. The array must be just as long as the array of pixels. nPixels The number of pixels colorSpace the colorspace that can decode the pixel data.
Implements KisHistogramProducer.
Definition at line 222 of file kis_basic_histogram_producers.cc.
The documentation for this class was generated from the following files: