21 std::shared_ptr<IIlluminant> illuminantPtr =
nullptr,
22 std::shared_ptr<ISpectralColorSpecification> baseSpec =
nullptr);
54 std::shared_ptr<IIlluminant> m_illuminantPtr;
55 std::shared_ptr<ISpectralColorSpecification> m_baseSpecPtr;
virtual bool CopyFrom(const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
Copy this object from another one.
CTristimulusSpecification(ObserverType observerType=ObserverType::TwoDegree, AstmTableType method=AstmTableType::Unknown, std::shared_ptr< IIlluminant > illuminantPtr=nullptr, std::shared_ptr< ISpectralColorSpecification > baseSpec=nullptr)
virtual bool IsEqual(const istd::IChangeable &other) const override
Compare this object with another object.
static QByteArray GetTypeId()
static const icmm::CTristimulusSpecification & GetD50TwoDegree()
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
bool operator==(const CTristimulusSpecification &other) const
CTristimulusSpecification(const ITristimulusSpecification &other)
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual ObserverType GetObserverType() const override
Gets the standard observer type used for color calculations.
virtual std::shared_ptr< ISpectralColorSpecification > GetBaseSpecification() const override
Gets the base spectral specification, if one exists.
virtual AstmTableType GetMethod() const override
Gets the ASTM table type used for spectral calculations.
virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual std::shared_ptr< IIlluminant > GetIlluminant() const override
Gets the illuminant (light source) used by this specification.
virtual QByteArray GetFactoryId() const
Interface for tristimulus-based color specifications.
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.