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

CIccNamedColorCmm Class Reference

#include <IccCmm.h>

Inheritance diagram for CIccNamedColorCmm:

CIccCmm List of all members.

Public Member Functions

 CIccNamedColorCmm (icColorSpaceSignature nSrcSpace=icSigUnknownData, icColorSpaceSignature nDestSpace=icSigUnknownData, bool bFirstInput=true)
 nSrcSpace cannot be icSigUnknownData if first profile is named color
virtual ~CIccNamedColorCmm ()
virtual icStatusCMM AddXform (const icChar *szProfilePath, icRenderingIntent nIntent=icUnknownIntent, icXformInterp nInterp=icInterpLinear, icXformLutType nLutType=icXformLutColor, bool bUseMpeTags=true)
 Must make at least one call to some form of AddXform() before calling Begin().
virtual icStatusCMM AddXform (CIccProfile *pProfile, icRenderingIntent nIntent=icUnknownIntent, icXformInterp nInterp=icInterpLinear, icXformLutType nLutType=icXformLutColor, bool buseMpeTags=true)
virtual icStatusCMM Begin ()
 Must be called before calling Apply().
virtual icStatusCMM Apply (icFloatNumber *DstPixel, const icFloatNumber *SrcPixel)
 Define 4 apply interfaces that are used depending upon the source and destination xforms.
virtual icStatusCMM Apply (icChar *DstColorName, const icFloatNumber *SrcPixel)
virtual icStatusCMM Apply (icFloatNumber *DstPixel, const icChar *SrcColorName)
virtual icStatusCMM Apply (icChar *DstColorName, const icChar *SrcColorName)
icApplyInterface GetInterface () const
 Returns the type of interface that will be applied.
icStatusCMM SetLastXformDest (icColorSpaceSignature nDestSpace)

Protected Attributes

icApplyInterface m_nApplyInterface

Detailed Description

Type: Class

Purpose: A Slower Named Color Profile compatible CMM


Constructor & Destructor Documentation

CIccNamedColorCmm::CIccNamedColorCmm icColorSpaceSignature  nSrcSpace = icSigUnknownData,
icColorSpaceSignature  nDestSpace = icSigUnknownData,
bool  bFirstInput = true
 

nSrcSpace cannot be icSigUnknownData if first profile is named color

Name: CIccNamedColorCmm::CIccNamedColorCmm

Purpose: Constructor

Args: nSrcSpace = signature of the source color space, nDestSpace = signature of the destination color space, bFirstInput = true if the first profile added is an input profile

CIccNamedColorCmm::~CIccNamedColorCmm  )  [virtual]
 

Name: CIccNamedColorCmm::~CIccNamedColorCmm

Purpose: Destructor


Member Function Documentation

icStatusCMM CIccNamedColorCmm::AddXform CIccProfile pProfile,
icRenderingIntent  nIntent = icUnknownIntent,
icXformInterp  nInterp = icInterpLinear,
icXformLutType  nLutType = icXformLutColor,
bool  bUseMpeTags = true
[virtual]
 

Name: CIccNamedColorCmm::AddXform

Purpose: Adds a profile at the end of the Xform list

Args: pProfile = pointer to the CIccProfile object to be added, nIntent = rendering intent to be used with the profile, nInterp = type of interpolation to be used with the profile nLutType = type of lut to use from the profile

Return: icCmmStatOk, if the profile was added to the list succesfully

Reimplemented from CIccCmm.

icStatusCMM CIccNamedColorCmm::AddXform const icChar szProfilePath,
icRenderingIntent  nIntent = icUnknownIntent,
icXformInterp  nInterp = icInterpLinear,
icXformLutType  nLutType = icXformLutColor,
bool  bUseMpeTags = true
[virtual]
 

Must make at least one call to some form of AddXform() before calling Begin().

Name: CIccNamedColorCmm::AddXform

Purpose: Adds a profile at the end of the Xform list

Args: szProfilePath = file name of the profile to be added, nIntent = rendering intent to be used with the profile, nInterp = type of interpolation to be used with the profile

Return: icCmmStatOk, if the profile was added to the list succesfully

Reimplemented from CIccCmm.

icStatusCMM CIccNamedColorCmm::Apply icChar DstColorName,
const icChar SrcColorName
[virtual]
 

Name: CIccNamedColorCmm::Apply

Purpose: Does the actual application of the Xforms in the list.

Args: DstColorName = Destination string where the result is stored, SrcColorName = Source color name which is to be searched.

icStatusCMM CIccNamedColorCmm::Apply icFloatNumber DstPixel,
const icChar SrcColorName
[virtual]
 

Name: CIccNamedColorCmm::Apply

Purpose: Does the actual application of the Xforms in the list.

Args: DstPixel = Destination pixel where the result is stored, SrcColorName = Source color name which is to be searched.

icStatusCMM CIccNamedColorCmm::Apply icChar DstColorName,
const icFloatNumber SrcPixel
[virtual]
 

Name: CIccNamedColorCmm::Apply

Purpose: Does the actual application of the Xforms in the list.

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

icStatusCMM CIccNamedColorCmm::Apply icFloatNumber DstPixel,
const icFloatNumber SrcPixel
[virtual]
 

Define 4 apply interfaces that are used depending upon the source and destination xforms.

Name: CIccNamedColorCmm::Apply

Purpose: Does the actual application of the Xforms in the list.

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

Reimplemented from CIccCmm.

icStatusCMM CIccNamedColorCmm::Begin  )  [virtual]
 

Must be called before calling Apply().

Name: CIccNamedColorCmm::Begin

Purpose: Does the initialization of the Xforms in the list before Apply() is called. Must be called before Apply().

Reimplemented from CIccCmm.

icApplyInterface CIccNamedColorCmm::GetInterface  )  const [inline]
 

Returns the type of interface that will be applied.

icStatusCMM CIccNamedColorCmm::SetLastXformDest icColorSpaceSignature  nDestSpace  ) 
 

Name: CIccNamedColorCmm::SetLastXformDest

Purpose: Sets the destination Color space of the last Xform in the list

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


Member Data Documentation

icApplyInterface CIccNamedColorCmm::m_nApplyInterface [protected]
 


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