SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccXformNamedColor Class Reference

#include <IccCmm.h>

Inheritance diagram for CIccXformNamedColor:

CIccXform List of all members.

Public Member Functions

 CIccXformNamedColor (CIccTag *pTag, icColorSpaceSignature csPCS, icColorSpaceSignature csDevice)
virtual ~CIccXformNamedColor ()
virtual icXformType GetXformType ()
virtual icStatusCMM Begin ()
icApplyInterface GetInterface () const
 Returns the type of interface that will be applied.
virtual void Apply (icFloatNumber *DstPixel, const icFloatNumber *SrcPixel)
void Apply (icChar *DstColorName, const icFloatNumber *SrcPixel)
icStatusCMM Apply (icFloatNumber *DstPixel, const icChar *SrcColorName)
virtual bool UseLegacyPCS () const
 Checks if version 2 PCS is to be used.
icStatusCMM SetSrcSpace (icColorSpaceSignature nSrcSpace)
icStatusCMM SetDestSpace (icColorSpaceSignature nDestSpace)
icColorSpaceSignature GetSrcSpace () const
 Returns the source color space of the transform.
icColorSpaceSignature GetDstSpace () const
 Returns the destination color space of the transform.
bool IsSrcPCS () const
 Checks if the source space of the transform is PCS.
bool IsDestPCS () const
 Checks if the destination space of the transform is PCS.
virtual LPIccCurveExtractInputCurves ()
 Use these functions to extract the input/output curves from the xform.
virtual LPIccCurveExtractOutputCurves ()

Protected Attributes

CIccTagNamedColor2m_pTag
icApplyInterface m_nApplyInterface
icColorSpaceSignature m_nSrcSpace
icColorSpaceSignature m_nDestSpace

Detailed Description

Type: Class

Purpose: This is the general Xform for Named Color Profiles.


Constructor & Destructor Documentation

CIccXformNamedColor::CIccXformNamedColor CIccTag pTag,
icColorSpaceSignature  csPCS,
icColorSpaceSignature  csDevice
 

Name: CIccXformNamedColor::CIccXformNamedColor

Purpose: Constructor

Args: pTag = Pointer to the tag of type CIccTagNamedColor2, csPCS = PCS color space, csDevice = Device color space

CIccXformNamedColor::~CIccXformNamedColor  )  [virtual]
 

Name: CIccXformNamedColor::CIccXformNamedColor

Purpose: Destructor


Member Function Documentation

icStatusCMM CIccXformNamedColor::Apply icFloatNumber DstPixel,
const icChar SrcColorName
 

void CIccXformNamedColor::Apply icChar DstColorName,
const icFloatNumber SrcPixel
 

Name: CIccXformNamedColor::Apply

Purpose: Does the actual application of the Xform.

Args: DstPixel = Destination pixel where the result is stored, SrcPixel = Source pixel which is to be applied.

virtual void CIccXformNamedColor::Apply icFloatNumber DstPixel,
const icFloatNumber SrcPixel
[inline, virtual]
 

Implements CIccXform.

icStatusCMM CIccXformNamedColor::Begin  )  [virtual]
 

Name: CIccXformNamedColor::Begin

Purpose: Does the initialization of the Xform before Apply() is called. Must be called before Apply().

Reimplemented from CIccXform.

virtual LPIccCurve* CIccXformNamedColor::ExtractInputCurves  )  [inline, virtual]
 

Use these functions to extract the input/output curves from the xform.

Implements CIccXform.

virtual LPIccCurve* CIccXformNamedColor::ExtractOutputCurves  )  [inline, virtual]
 

Implements CIccXform.

icColorSpaceSignature CIccXformNamedColor::GetDstSpace  )  const [inline, virtual]
 

Returns the destination color space of the transform.

Reimplemented from CIccXform.

icApplyInterface CIccXformNamedColor::GetInterface  )  const [inline]
 

Returns the type of interface that will be applied.

icColorSpaceSignature CIccXformNamedColor::GetSrcSpace  )  const [inline, virtual]
 

Returns the source color space of the transform.

Reimplemented from CIccXform.

virtual icXformType CIccXformNamedColor::GetXformType  )  [inline, virtual]
 

Implements CIccXform.

bool CIccXformNamedColor::IsDestPCS  )  const [inline]
 

Checks if the destination space of the transform is PCS.

bool CIccXformNamedColor::IsSrcPCS  )  const [inline]
 

Checks if the source space of the transform is PCS.

icStatusCMM CIccXformNamedColor::SetDestSpace icColorSpaceSignature  nDestSpace  ) 
 

Name: CIccXformNamedColor::SetSrcSpace

Purpose: Sets the destination space of the Xform

Args: nDestSpace = signature of the color space to be set

icStatusCMM CIccXformNamedColor::SetSrcSpace icColorSpaceSignature  nSrcSpace  ) 
 

Name: CIccXformNamedColor::SetSrcSpace

Purpose: Sets the source space of the Xform

Args: nSrcSpace = signature of the color space to be set

virtual bool CIccXformNamedColor::UseLegacyPCS  )  const [inline, virtual]
 

Checks if version 2 PCS is to be used.

Reimplemented from CIccXform.


Member Data Documentation

icApplyInterface CIccXformNamedColor::m_nApplyInterface [protected]
 

icColorSpaceSignature CIccXformNamedColor::m_nDestSpace [protected]
 

icColorSpaceSignature CIccXformNamedColor::m_nSrcSpace [protected]
 

CIccTagNamedColor2* CIccXformNamedColor::m_pTag [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:46 2007 for IccProfLib by  doxygen 1.3.9.1