Krita Source Code Documentation
Loading...
Searching...
No Matches
KisColorVolumeInformation Struct Reference

The KisColorVolumeInformation class is a struct that represents the 'mastering' display. It's primary purpose is to provide extra information for gamutmapping. More...

#include <kis_hdr_metadata.h>

+ Inheritance diagram for KisColorVolumeInformation:

Public Member Functions

bool operator== (const KisColorVolumeInformation &other) const
 

Public Attributes

KoColorimetryUtils::xy blue
 xyY location of the blue colorant.
 
KoColorimetryUtils::xy green
 xyY location of the green colorant.
 
double maxLuminance = 0.0
 Maximum screen brightness in cd/m²
 
double minLuminance = 0.0
 Minimum screen brightness in cd/m²
 
KoColorimetryUtils::xy red
 xyY location of the red colorant.
 
KoColorimetryUtils::xy white
 xyY location of the whitepoint.
 

Static Public Attributes

static const KisColorVolumeInformation BT2100PQ
 
static const KisColorVolumeInformation DCIP3D65
 

Detailed Description

The KisColorVolumeInformation class is a struct that represents the 'mastering' display. It's primary purpose is to provide extra information for gamutmapping.

Definition at line 48 of file kis_hdr_metadata.h.

Member Function Documentation

◆ operator==()

bool KisColorVolumeInformation::operator== ( const KisColorVolumeInformation & other) const

Definition at line 19 of file kis_hdr_metadata.cpp.

19 {
22 && white == other.white && red == other.red
23 && green == other.green && blue == other.blue;
24}
static bool qFuzzyCompare(half p1, half p2)
double maxLuminance
Maximum screen brightness in cd/m²
KoColorimetryUtils::xy blue
xyY location of the blue colorant.
double minLuminance
Minimum screen brightness in cd/m²
KoColorimetryUtils::xy white
xyY location of the whitepoint.
KoColorimetryUtils::xy red
xyY location of the red colorant.
KoColorimetryUtils::xy green
xyY location of the green colorant.

References blue, green, maxLuminance, minLuminance, qFuzzyCompare(), red, and white.

Member Data Documentation

◆ blue

KoColorimetryUtils::xy KisColorVolumeInformation::blue

xyY location of the blue colorant.

Definition at line 52 of file kis_hdr_metadata.h.

◆ BT2100PQ

const KisColorVolumeInformation KisColorVolumeInformation::BT2100PQ
static

◆ DCIP3D65

◆ green

KoColorimetryUtils::xy KisColorVolumeInformation::green

xyY location of the green colorant.

Definition at line 51 of file kis_hdr_metadata.h.

◆ maxLuminance

double KisColorVolumeInformation::maxLuminance = 0.0

Maximum screen brightness in cd/m²

Definition at line 54 of file kis_hdr_metadata.h.

◆ minLuminance

double KisColorVolumeInformation::minLuminance = 0.0

Minimum screen brightness in cd/m²

Definition at line 55 of file kis_hdr_metadata.h.

◆ red

KoColorimetryUtils::xy KisColorVolumeInformation::red

xyY location of the red colorant.

Definition at line 50 of file kis_hdr_metadata.h.

◆ white

KoColorimetryUtils::xy KisColorVolumeInformation::white

xyY location of the whitepoint.

Definition at line 49 of file kis_hdr_metadata.h.


The documentation for this struct was generated from the following files: