|
ACF $AcfVersion:0$
|
CMYK color model implementation for four-color printing. More...
#include <CCmykColorModel.h>
Public Member Functions | |
| virtual ColorantIds | GetColorantIds () const override |
| Get the list of colorant-IDs. | |
| virtual icmm::ColorantUsage | GetColorantUsage (const ColorantId &colorantId) const override |
| Get type of the colorant with the given ID. | |
| virtual std::unique_ptr< ISubstractiveColorModel > | CreateSubspaceModel (const QStringList &colorantIds) const override |
| Create ColorModel of the subspace. | |
| virtual istd::IChangeableUniquePtr | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const override |
| Make a copy of this object. | |
Public Member Functions inherited from icmm::CSubstractiveColorModelBase | |
| CSubstractiveColorModelBase () | |
| const icmm::CTristimulusSpecification & | GetPreviewSpec () const |
| void | SetPreviewSpec (const ITristimulusSpecification &previewSpec) |
| void | SetColorantPreview (const ColorantId &colorantId, const icmm::CLab &preview) |
| virtual ModelType | GetModelType () const override |
| Gets the type of the color model. | |
| virtual ModelClass | GetModelClass () const override |
| Gets the classification of the color model. | |
| virtual ColorSpaceClass | GetColorSpaceClass () const override |
| Gets the classification of the color space defined by this model. | |
| virtual int | GetColorSpaceDimensionality () const override |
| Gets the dimensionality (number of components) of the color space. | |
| virtual const imath::IUnitInfo * | GetColorSpaceComponentInfo (int componentIndex) const override |
| Gets mathematical unit information for a color model component. | |
| virtual QString | GetColorSpaceComponentName (int componentIndex) const override |
| Gets the human-readable name of a color model component. | |
| virtual const icmm::IColorTransformation * | CreateColorTranformation (const IColorModel &otherColorModel, const QByteArray &transformationId=QByteArray()) const override |
| Creates a color transformation for conversion to another color model. | |
| virtual bool | GetColorantVisualInfo (const ColorantId &colorantId, icmm::ICieLabColor &preview) const override |
| Get visual information/preview for the given colorant. | |
| virtual int | GetSupportedOperations () const override |
| Get set of flags for supported operations. | |
| virtual bool | CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override |
| Copy this object from another one. | |
Public Member Functions inherited from icmm::IColorModel | |
| virtual IColorSpecification::ConstColorSpecPtr | GetSpecification () const |
| Gets the color specification for this model, if available. | |
Public Member Functions inherited from istd::IChangeable | |
| virtual bool | IsEqual (const IChangeable &object) const |
| Compare this object with another object. | |
| virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
| Reset data to its default state. | |
| virtual void | BeginChanges (const ChangeSet &changeSet) |
| Starts the change transaction. | |
| virtual void | EndChanges (const ChangeSet &changeSet) |
| Ends the change transaction. | |
| virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
| Starts group of changes. | |
| virtual void | EndChangeGroup (const ChangeSet &changeSet) |
| Ends group of changes. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Static Public Member Functions | |
| static ColorantId | GetBlack () |
| Gets the colorant ID for the black (K) component. | |
Static Public Member Functions inherited from icmm::CCmyColorModel | |
| static ColorantId | GetCyan () |
| static ColorantId | GetMagenta () |
| static ColorantId | GetYellow () |
Static Public Member Functions inherited from istd::IChangeable | |
| static const ChangeSet & | GetNoChanges () |
| Get empty set of changes. | |
| static const ChangeSet & | GetAnyChange () |
| Get anonymous change set. | |
| static const ChangeSet & | GetAllChanges () |
| Get anonymous change set. | |
| static const ChangeSet & | GetDelegatedChanges () |
| Get delegated change set. | |
Additional Inherited Members | |
Protected Types inherited from icmm::CSubstractiveColorModelBase | |
| typedef QMap< ColorantId, icmm::CLab > | ColorantPreviewMap |
| Mapping between a colorant and corresponding Lab value for its solid value. | |
Protected Member Functions inherited from istd::IChangeable | |
| virtual void | OnBeginChanges () |
| Callback function for begin change event. | |
| virtual void | OnEndChanges (const ChangeSet &changeSet) |
| Callback function for end change event. | |
Protected Attributes inherited from icmm::CSubstractiveColorModelBase | |
| icmm::CTristimulusSpecification | m_previewSpec |
| Tristimulus specification used for all colorants in the color model. | |
| ColorantPreviewMap | m_colorantPreviewMap |
CMYK color model implementation for four-color printing.
CCmykColorModel extends CCmyColorModel to represent the full CMYK (Cyan, Magenta, Yellow, Black) color model used in printing. The addition of black (K) ink provides better shadow detail, reduced ink consumption, and improved print quality compared to CMY alone.
CCmykColorModel provides:
The "K" component provides several benefits:
Common strategies:
Definition at line 185 of file CCmykColorModel.h.
Definition at line 188 of file CCmykColorModel.h.
|
overridevirtual |
Make a copy of this object.
Reimplemented from icmm::CCmyColorModel.
|
overridevirtual |
Create ColorModel of the subspace.
Reimplemented from icmm::CCmyColorModel.
|
static |
Gets the colorant ID for the black (K) component.
Static method to retrieve the standard identifier for the black colorant in CMYK printing. Useful for querying or manipulating the black channel specifically.
|
overridevirtual |
Get the list of colorant-IDs.
Reimplemented from icmm::CCmyColorModel.
|
overridevirtual |
Get type of the colorant with the given ID.
Reimplemented from icmm::CCmyColorModel.