25 const QString& illuminantName,
57 QString m_illuminantName =
"D50";
CIlluminant(const CIlluminant &other)
Copy constructor.
CIlluminant(StandardIlluminant illuminantType=StandardIlluminant::D50)
Construct an illuminant based on a standard type.
CIlluminant(const QString &illuminantName, const icmm::CVarColor &whitePoint)
Construct a custom Illuminant.
virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
void InitFromStandardIlluminant(StandardIlluminant illuminantType)
virtual void SetIlluminantType(const StandardIlluminant &illuminantType) override
Sets the standard illuminant type.
virtual StandardIlluminant GetIlluminantType() const override
Gets the standard illuminant type.
virtual icmm::CVarColor GetWhitePoint() const override
Gets the white point as a color value.
virtual QString GetIlluminantName() const override
Gets the human-readable name of this illuminant.
virtual void SetWhitePoint(const icmm::CVarColor &whitePoint) override
Sets the white point for this illuminant.
virtual void SetIlluminantName(const QString &illuminantName) override
Sets the human-readable name for this illuminant.
virtual bool IsEqual(const istd::IChangeable &other) const override
Compare this object with another object.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual bool CopyFrom(const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
Copy this object from another one.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
Generic color implementation with variable number of color components.
Interface for illuminant objects with configurable properties.
Represents an input/output persistence archive for object serialization.
Common interface for data model objects, which can be changed.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains color management classes.