#include <KoBasicHistogramProducers.h>
|
| QList< KoChannelInfo * > | channels () override |
| |
| void | clear () override |
| |
| qint32 | count () override |
| |
| qint32 | getBinAt (int channel, int position) override |
| |
| const KoID & | id () const override |
| |
| | KoBasicHistogramProducer (const KoID &id, int channelCount, int nrOfBins) |
| |
| | KoBasicHistogramProducer (const KoID &id, int nrOfBins, const KoColorSpace *colorSpace) |
| |
| qint32 | numberOfBins () override |
| |
| qint32 | outOfViewLeft (int channel) override |
| |
| qint32 | outOfViewRight (int channel) override |
| |
| void | setView (qreal from, qreal size) override |
| |
| qreal | viewFrom () const override |
| |
| qreal | viewWidth () const override |
| |
| | ~KoBasicHistogramProducer () override |
| |
| virtual void | addRegionToBin (const quint8 *pixels, const quint8 *selectionMask, quint32 nPixels, const KoColorSpace *colorSpace)=0 |
| |
| virtual qint32 | getBinAt (qint32 channel, qint32 position)=0 |
| |
| | KoHistogramProducer () |
| |
| virtual qreal | maximalZoom () const =0 |
| |
| virtual qint32 | outOfViewLeft (qint32 channel)=0 |
| |
| virtual qint32 | outOfViewRight (qint32 channel)=0 |
| |
| virtual QString | positionToString (qreal pos) const =0 |
| |
| virtual void | setSkipTransparent (bool set) |
| |
| virtual void | setSkipUnselected (bool set) |
| |
| virtual | ~KoHistogramProducer () |
| |
Definition at line 21 of file KoBasicHistogramProducers.h.
◆ vBins
◆ KoBasicHistogramProducer() [1/2]
| KoBasicHistogramProducer::KoBasicHistogramProducer |
( |
const KoID & | id, |
|
|
int | channelCount, |
|
|
int | nrOfBins ) |
|
explicit |
◆ KoBasicHistogramProducer() [2/2]
| KoBasicHistogramProducer::KoBasicHistogramProducer |
( |
const KoID & | id, |
|
|
int | nrOfBins, |
|
|
const KoColorSpace * | colorSpace ) |
|
explicit |
◆ ~KoBasicHistogramProducer()
| KoBasicHistogramProducer::~KoBasicHistogramProducer |
( |
| ) |
|
|
inlineoverride |
◆ channels()
◆ clear()
| void KoBasicHistogramProducer::clear |
( |
| ) |
|
|
overridevirtual |
◆ count()
| qint32 KoBasicHistogramProducer::count |
( |
| ) |
|
|
inlineoverridevirtual |
◆ externalToInternal()
| virtual int KoBasicHistogramProducer::externalToInternal |
( |
int | ext | ) |
|
|
inlineprotectedvirtual |
The order in which channels() returns is not the same as the internal representation, that of the pixel internally. This method converts external usage to internal usage. This method uses some basic assumptions about the layout of the pixel, so extremely exotic spaces might want to override this (see makeExternalToInternal source for those assumptions)
Definition at line 74 of file KoBasicHistogramProducers.h.
74 {
78 }
void makeExternalToInternal()
QList< KoChannelInfo * > channels() override
QVector< qint32 > m_external
References KoHistogramProducer::channels(), and KoHistogramProducer::count().
◆ getBinAt()
| qint32 KoBasicHistogramProducer::getBinAt |
( |
int | channel, |
|
|
int | position ) |
|
inlineoverride |
◆ id()
| const KoID & KoBasicHistogramProducer::id |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ makeExternalToInternal()
| void KoBasicHistogramProducer::makeExternalToInternal |
( |
| ) |
|
|
protected |
◆ numberOfBins()
| qint32 KoBasicHistogramProducer::numberOfBins |
( |
| ) |
|
|
inlineoverridevirtual |
◆ outOfViewLeft()
| qint32 KoBasicHistogramProducer::outOfViewLeft |
( |
int | channel | ) |
|
|
inlineoverride |
◆ outOfViewRight()
| qint32 KoBasicHistogramProducer::outOfViewRight |
( |
int | channel | ) |
|
|
inlineoverride |
◆ setView()
| void KoBasicHistogramProducer::setView |
( |
qreal | from, |
|
|
qreal | size ) |
|
inlineoverridevirtual |
◆ viewFrom()
| qreal KoBasicHistogramProducer::viewFrom |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ viewWidth()
| qreal KoBasicHistogramProducer::viewWidth |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ m_bins
◆ m_channels
| int KoBasicHistogramProducer::m_channels |
|
protected |
◆ m_colorSpace
◆ m_count
| qint32 KoBasicHistogramProducer::m_count |
|
protected |
◆ m_external
| QVector<qint32> KoBasicHistogramProducer::m_external |
|
protected |
◆ m_from
| qreal KoBasicHistogramProducer::m_from |
|
protected |
◆ m_id
| KoID KoBasicHistogramProducer::m_id |
|
protected |
◆ m_nrOfBins
| int KoBasicHistogramProducer::m_nrOfBins |
|
protected |
◆ m_outLeft
| vBins KoBasicHistogramProducer::m_outLeft |
|
protected |
◆ m_outRight
| vBins KoBasicHistogramProducer::m_outRight |
|
protected |
◆ m_width
| qreal KoBasicHistogramProducer::m_width |
|
protected |
The documentation for this class was generated from the following files: