ACF $AcfVersion:0$
Public Member Functions | List of all members
icmm::ISubstractiveColorModel Class Referenceabstract

#include <ISubstractiveColorModel.h>

Inheritance diagram for icmm::ISubstractiveColorModel:
icmm::IColorModel icmm::IColorantList istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic icmm::CSubstractiveColorModelBase icmm::CCmyColorModel icmm::CSubstractiveColorModel icmm::CCmykColorModel

Public Member Functions

virtual bool GetColorantVisualInfo (const ColorantId &colorantId, icmm::ICieLabColor &preview) const =0
 Get visual information/preview for the given colorant.
 
virtual std::unique_ptr< ISubstractiveColorModelCreateSubspaceModel (const QStringList &colorantIds) const =0
 Create ColorModel of the subspace.
 
- Public Member Functions inherited from icmm::IColorModel
virtual ModelType GetModelType () const =0
 Gets the type of the color model.
 
virtual ModelClass GetModelClass () const =0
 Gets the classification of the color model.
 
virtual ColorSpaceClass GetColorSpaceClass () const =0
 Gets the classification of the color space defined by this model.
 
virtual int GetColorSpaceDimensionality () const =0
 Gets the dimensionality (number of components) of the color space.
 
virtual const imath::IUnitInfoGetColorSpaceComponentInfo (int componentIndex) const =0
 Gets mathematical unit information for a color model component.
 
virtual QString GetColorSpaceComponentName (int componentIndex) const =0
 Gets the human-readable name of a color model component.
 
virtual const icmm::IColorTransformationCreateColorTranformation (const IColorModel &otherColorModel, const QByteArray &transformationId=QByteArray()) const =0
 Creates a color transformation for conversion to another color model.
 
virtual IColorSpecification::ConstColorSpecPtr GetSpecification () const
 Gets the color specification for this model, if available.
 
- Public Member Functions inherited from istd::IChangeable
virtual int GetSupportedOperations () const
 Get set of flags for supported operations.
 
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 Copy this object from another one.
 
virtual bool IsEqual (const IChangeable &object) const
 Compare this object with another object.
 
virtual istd::TUniqueInterfacePtr< istd::IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 Make a copy of this 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 ()
 
- Public Member Functions inherited from icmm::IColorantList
virtual ColorantIds GetColorantIds () const =0
 Get the list of colorant-IDs.
 
virtual ColorantUsage GetColorantUsage (const ColorantId &colorantId) const =0
 Get type of the colorant with the given ID.
 

Additional Inherited Members

- Public Types inherited from icmm::IColorModel
enum  ModelType {
  MT_HSI , MT_HSV , MT_HSL , MI_YIQ ,
  MI_YUV , MI_YCBCR , MT_RGB , MT_COLORANTS ,
  MT_LUV , MT_LAB , MT_LCH , MT_XYZ ,
  MT_YXY , MI_SPECTRAL , MI_USER = 1024
}
 
enum  ModelClass { MC_DEVICE_DEPENDENT , MC_DEVICE_INDEPENDENT }
 
enum  ColorSpaceClass { CSC_ADDITIVE , CSC_SUBSTRACTIVE , CSC_PERCEPTUAL }
 
- Public Types inherited from istd::IChangeable
enum  ChangeFlags {
  CF_ACF_INTERNAL = 0 , CF_ALL_DATA , CF_ANY , CF_DESTROYING ,
  CF_DELEGATED , CF_NO_UNDO
}
 Data model change notification flags. More...
 
enum  SupportedOperations {
  SO_NONE = 0 , SO_OBSERVE = 1 << 0 , SO_COPY = 1 << 1 , SO_CLONE = 1 << 2 ,
  SO_COMPARE = 1 << 3 , SO_RESET = 1 << 4
}
 Flags for supported operations. More...
 
enum  CompatibilityMode { CM_STRICT , CM_WITHOUT_REFS , CM_WITH_REFS , CM_CONVERT }
 Control how relationship betweeen objects are interpreted. More...
 
typedef QMultiMap< QByteArray, QVariant > ChangeInfoMap
 
- Public Types inherited from icmm::IColorantList
typedef QString ColorantId
 
typedef QStringList ColorantIds
 
- Static Public Member Functions inherited from istd::IChangeable
static const ChangeSetGetNoChanges ()
 Get empty set of changes.
 
static const ChangeSetGetAnyChange ()
 Get anonymous change set.
 
static const ChangeSetGetAllChanges ()
 Get anonymous change set.
 
static const ChangeSetGetDelegatedChanges ()
 Get delegated change set.
 
- 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.
 

Detailed Description

Definition at line 20 of file ISubstractiveColorModel.h.

Member Function Documentation

◆ CreateSubspaceModel()

virtual std::unique_ptr< ISubstractiveColorModel > icmm::ISubstractiveColorModel::CreateSubspaceModel ( const QStringList &  colorantIds) const
pure virtual

Create ColorModel of the subspace.

Implemented in icmm::CCmyColorModel, icmm::CCmykColorModel, and icmm::CSubstractiveColorModel.

◆ GetColorantVisualInfo()

virtual bool icmm::ISubstractiveColorModel::GetColorantVisualInfo ( const ColorantId colorantId,
icmm::ICieLabColor preview 
) const
pure virtual

Get visual information/preview for the given colorant.

Implemented in icmm::CSubstractiveColorModelBase.


The documentation for this class was generated from the following file: