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

CIccXformMatrixTRC Class Reference

#include <IccCmm.h>

Inheritance diagram for CIccXformMatrixTRC:

CIccXform List of all members.

Public Member Functions

 CIccXformMatrixTRC ()
virtual ~CIccXformMatrixTRC ()
virtual icXformType GetXformType ()
virtual icStatusCMM Begin ()
virtual void Apply (icFloatNumber *DstPixel, const icFloatNumber *SrcPixel)
virtual LPIccCurveExtractInputCurves ()
virtual LPIccCurveExtractOutputCurves ()

Protected Member Functions

CIccCurveGetCurve (icSignature sig) const
CIccCurveGetInvCurve (icSignature sig) const
CIccTagXYZGetColumn (icSignature sig) const

Protected Attributes

icFloatNumber m_e [9]
CIccCurvem_Curve [3]
bool m_bFreeCurve
LPIccCurvem_ApplyCurvePtr
 used only when applying the xform

Detailed Description

Type: Class

Purpose: This is the general Matrix-TRC Xform


Constructor & Destructor Documentation

CIccXformMatrixTRC::CIccXformMatrixTRC  ) 
 

Name: CIccXformMatrixTRC::CIccXformMatrixTRC

Purpose: Constructor

CIccXformMatrixTRC::~CIccXformMatrixTRC  )  [virtual]
 

Name: CIccXformMatrixTRC::~CIccXformMatrixTRC

Purpose: Destructor


Member Function Documentation

void CIccXformMatrixTRC::Apply icFloatNumber DstPixel,
const icFloatNumber SrcPixel
[virtual]
 

Name: CIccXformMatrixTRC::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.

Implements CIccXform.

icStatusCMM CIccXformMatrixTRC::Begin  )  [virtual]
 

Name: CIccXformMatrixTRC::Begin

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

Reimplemented from CIccXform.

LPIccCurve * CIccXformMatrixTRC::ExtractInputCurves  )  [virtual]
 

Name: CIccXformMatrixTRC::ExtractInputCurves

Purpose: Gets the input curves. Should be called only after Begin() has been called. Once the curves are extracted, they will not be used by the Apply() function. WARNING: caller owns the curves and must be deleted by the caller.

Return: Pointer to the input curves.

Implements CIccXform.

LPIccCurve * CIccXformMatrixTRC::ExtractOutputCurves  )  [virtual]
 

Name: CIccXformMatrixTRC::ExtractOutputCurves

Purpose: Gets the output curves. Should be called only after Begin() has been called. Once the curves are extracted, they will not be used by the Apply() function. WARNING: caller owns the curves and must be deleted by the caller.

Return: Pointer to the output curves.

Implements CIccXform.

CIccTagXYZ * CIccXformMatrixTRC::GetColumn icSignature  sig  )  const [protected]
 

Name: CIccXformMatrixTRC::GetColumn

Purpose: Gets the XYZ tag from the profile.

Args: sig = signature of the XYZ tag to be found.

Return: Pointer to the XYZ tag.

CIccCurve * CIccXformMatrixTRC::GetCurve icSignature  sig  )  const [protected]
 

Name: CIccXformMatrixTRC::GetCurve

Purpose: Gets the curve having the passed signature, from the profile.

Args: sig = signature of the curve to be found

Return: Pointer to the curve.

CIccCurve * CIccXformMatrixTRC::GetInvCurve icSignature  sig  )  const [protected]
 

Name: CIccXformMatrixTRC::GetInvCurve

Purpose: Gets the inverted curve having the passed signature, from the profile.

Args: sig = signature of the curve to be inverted

Return: Pointer to the inverted curve.

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

Implements CIccXform.


Member Data Documentation

LPIccCurve* CIccXformMatrixTRC::m_ApplyCurvePtr [protected]
 

used only when applying the xform

bool CIccXformMatrixTRC::m_bFreeCurve [protected]
 

CIccCurve* CIccXformMatrixTRC::m_Curve[3] [protected]
 

icFloatNumber CIccXformMatrixTRC::m_e[9] [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