|
Krita Source Code Documentation
|
#include <KoDummyColorProfile.h>
Inheritance diagram for KoDummyColorProfile:Public Member Functions | |
| KoColorProfile * | clone () const override |
| bool | compareTRC (TransferCharacteristics characteristics, float error) const override |
| void | delinearizeFloatValue (QVector< double > &Value) const override |
| void | delinearizeFloatValueFast (QVector< double > &Value) const override |
| QVector< double > | getColorantsxyY () const override |
| QVector< double > | getColorantsXYZ () const override |
| QVector< double > | getEstimatedTRC () const override |
| QVector< double > | getWhitePointxyY () const override |
| QVector< double > | getWhitePointXYZ () const override |
| bool | hasColorants () const override |
| bool | hasTRC () const override |
| bool | isLinear () const override |
| bool | isSuitableForDisplay () const override |
| bool | isSuitableForInput () const override |
| bool | isSuitableForOutput () const override |
| bool | isSuitableForPrinting () const override |
| bool | isSuitableForWorkspace () const override |
| KoDummyColorProfile () | |
| void | linearizeFloatValue (QVector< double > &Value) const override |
| void | linearizeFloatValueFast (QVector< double > &Value) const override |
| bool | operator== (const KoColorProfile &) const override |
| bool | supportsAbsolute () const override |
| bool | supportsPerceptual () const override |
| bool | supportsRelative () const override |
| bool | supportsSaturation () const override |
| QByteArray | uniqueId () const override |
| bool | valid () const override |
| float | version () const override |
| ~KoDummyColorProfile () override | |
Public Member Functions inherited from KoColorProfile | |
| virtual QString | colorModelID () const |
| QString | copyright () const |
| virtual void | delinearizeFloatValue (QVector< qreal > &Value) const =0 |
| virtual void | delinearizeFloatValueFast (QVector< qreal > &Value) const =0 |
| QString | fileName () const |
| virtual ColorPrimaries | getColorPrimaries () const |
| getColorPrimaries | |
| virtual TransferCharacteristics | getTransferCharacteristics () const |
| getTransferCharacteristics This function should be subclassed at some point so we can get the value from the lcms profile. | |
| QString | info () const |
| KoColorProfile (const KoColorProfile &profile) | |
| KoColorProfile (const QString &fileName=QString()) | |
| virtual void | linearizeFloatValue (QVector< qreal > &Value) const =0 |
| virtual void | linearizeFloatValueFast (QVector< qreal > &Value) const =0 |
| virtual bool | load () |
| QString | manufacturer () const |
| QString | name () const |
| virtual QByteArray | rawData () const |
| virtual bool | save (const QString &fileName) |
| void | setFileName (const QString &filename) |
| virtual QString | type () const |
| virtual | ~KoColorProfile () |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Additional Inherited Members | |
Static Public Member Functions inherited from KoColorProfile | |
| static void | colorantsForType (ColorPrimaries primaries, QVector< double > &colorants) |
| colorantsForPrimaries fills a QVector<float> with the xy values of the whitepoint and red, green, blue colorants for a given predefined value. Will not change the vector when the primaries are set to 'undefined'. | |
| static QString | getColorPrimariesName (ColorPrimaries primaries) |
| getColorPrimariesName | |
| static QString | getTransferCharacteristicName (TransferCharacteristics curve) |
| getTransferCharacteristicName | |
Public Attributes inherited from KoColorProfile | |
| TransferCharacteristics | characteristics {TRC_UNSPECIFIED} |
| QString | copyright |
| QString | fileName |
| QString | info |
| QString | manufacturer |
| QString | name |
| int | primaries {-1} |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Protected Member Functions inherited from KoColorProfile | |
| void | setCharacteristics (ColorPrimaries primaries, TransferCharacteristics curve) |
| setCharacteristics ideally, we'd read this from the icc profile curve, but that can be tricky, instead we'll set it on profile creation. | |
| void | setCopyright (const QString ©right) |
| void | setInfo (const QString &info) |
| void | setManufacturer (const QString &manufacturer) |
| void | setName (const QString &name) |
Definition at line 12 of file KoDummyColorProfile.h.
| KoDummyColorProfile::KoDummyColorProfile | ( | ) |
|
override |
Definition at line 14 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Create a copy of this profile. Data that shall not change during the life time of the profile shouldn't be duplicated but shared, like for instance ICC data.
Data that shall be changed like a palette or hdr information such as exposure must be duplicated while cloning.
Implements KoColorProfile.
Definition at line 18 of file KoDummyColorProfile.cpp.
References KoDummyColorProfile().
|
overridevirtual |
Comparing profile's TRC against the other with defined error threshold, returns true if profile TRC is matched.
Implements KoColorProfile.
Definition at line 117 of file KoDummyColorProfile.cpp.
Definition at line 126 of file KoDummyColorProfile.cpp.
Definition at line 133 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 88 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 81 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 109 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 102 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 95 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 69 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 73 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 77 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 49 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 35 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 31 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 44 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 39 of file KoDummyColorProfile.cpp.
Definition at line 122 of file KoDummyColorProfile.cpp.
Definition at line 129 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 136 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 61 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 53 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 65 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 57 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 141 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Implements KoColorProfile.
Definition at line 23 of file KoDummyColorProfile.cpp.
|
overridevirtual |
Return version
Implements KoColorProfile.
Definition at line 27 of file KoDummyColorProfile.cpp.