#include <kis_basic_histogram_producers.h>
Inherits KisBasicHistogramProducer.
Public Member Functions | |
| virtual void | addRegionToBin (TQ_UINT8 *pixels, TQ_UINT8 *selectionMask, TQ_UINT32 nPixels, KisColorSpace *colorSpace) |
| virtual TQString | positionToString (double pos) const |
| virtual double | maximalZoom () const |
| virtual TQValueVector< KisChannelInfo * > | channels () |
Protected Attributes | |
| TQValueVector< KisChannelInfo * > | m_channelsList |
Detailed Description
This is a Producer (with associated factory) that converts the pixels of the colorspace to RGB8 with toTQColor, and then does its counting on RGB.
This is NOT registered with the Registry, because it isCompatibleWith all colorspaces, and should only be used in extreme cases (like no other producer being available
Definition at line 143 of file kis_basic_histogram_producers.h.
Constructor & Destructor Documentation
◆ KisGenericRGBHistogramProducer()
| KisGenericRGBHistogramProducer::KisGenericRGBHistogramProducer | ( | ) |
Definition at line 344 of file kis_basic_histogram_producers.cpp.
Member Function Documentation
◆ addRegionToBin()
|
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 367 of file kis_basic_histogram_producers.cpp.
◆ channels()
|
virtual |
Implements KisHistogramProducer.
Definition at line 354 of file kis_basic_histogram_producers.cpp.
◆ maximalZoom()
|
virtual |
Implements KisHistogramProducer.
Definition at line 362 of file kis_basic_histogram_producers.cpp.
◆ positionToString()
|
virtual |
Implements KisHistogramProducer.
Definition at line 358 of file kis_basic_histogram_producers.cpp.
Member Data Documentation
◆ m_channelsList
|
protected |
Definition at line 151 of file kis_basic_histogram_producers.h.
The documentation for this class was generated from the following files:
